diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..888f2a8 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,51 @@ +{ + "root": true, + "ignorePatterns": [ + "projects/**/*" + ], + "overrides": [ + { + "files": [ + "*.ts" + ], + "parserOptions": { + "project": [ + "tsconfig.json", + "e2e/tsconfig.json" + ], + "createDefaultProgram": true + }, + "extends": [ + "plugin:@angular-eslint/recommended", + "plugin:@angular-eslint/template/process-inline-templates" + ], + "rules": { + "@angular-eslint/component-selector": [ + "error", + { + "prefix": "lib", + "style": "kebab-case", + "type": "element" + } + ], + "@angular-eslint/directive-selector": [ + "error", + { + "prefix": "lib", + "style": "camelCase", + "type": "attribute" + } + ] + } + }, + { + "files": [ + "*.html" + ], + "extends": [ + "plugin:@angular-eslint/template/recommended" + ], + "rules": {} + } + ] +} diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index e46ba88..4066edd 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -6,7 +6,7 @@ IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOU ``` [ ] bug report => search github for a similar issue or PR before submitting [ ] feature request -[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help +[ ] support request => Please do not submit support request here, instead see https://github.com/moribvndvs/ng2-idle/blob/master/CONTRIBUTING.md#getting-help ``` **Current behavior** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 31fc616..afdaba6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,5 @@ **Please check if the PR fulfills these requirements** -- [ ] The commit message follows our guidelines: https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#pr +- [ ] The commit message follows our guidelines: https://github.com/moribvndvs/ng2-idle/blob/master/CONTRIBUTING.md#pr - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..3989205 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,34 @@ +name: CD +on: + workflow_dispatch: + inputs: + ref_to_publish: + description: 'Tag or Branch you wish to publish eg. v11.0.0-alpha.20 or PAT-2122-some-branch' + required: true + default: '' + prerelease: + description: 'use a prerelease version' + type: boolean + required: false + default: true + +jobs: + publish: + name: Install, Build and Publish + runs-on: ubuntu-latest + timeout-minutes: 15 + outputs: + version: ${{ steps.build-version.outputs.version }} + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref_to_publish || github.ref }} + + - name: Install Angular app + uses: qhrtech/gh-action-install-angular-app@v2 + with: + password: ${{ secrets.ARTIFACTORY_API_KEY }} + ngcc-cache: true + + - name: Release + run: npx lerna version --conventional-commits ${{ github.event.inputs.prerelease && 'prerelease' || '' }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..044b14b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,84 @@ +name: ci + +on: + push: + branches: + - master + tags: + - "*" + pull_request: + branches: + - master + +env: + TZ: "Europe/Brussels" + HUSKY_SKIP_INSTALL: 1 + NG_CLI_ANALYTICS: "ci" + +jobs: + test: + name: Build and test on Node.js ${{ matrix.node_version }} and ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + node_version: [ "14", "16" ] + os: [ ubuntu-latest, macOS-latest ] + steps: + # See: https://github.com/marketplace/actions/checkout + - uses: actions/checkout@v2 + + # See: https://github.com/marketplace/actions/setup-node-js-environment + - name: Use Node.js ${{ matrix.node_version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node_version }} + + # See: https://github.com/marketplace/actions/cache + # See doc: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows + - name: Cache node modules + uses: actions/cache@v2 + env: + cache-name: cache-node-modules-${{ matrix.node_version }}-${{ matrix.os }} + with: + # npm cache files are stored in `~/.npm` on Linux/macOS + path: ~/.npm + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- + + + - name: Install dependencies + run: npm ci + + - name: Linting + run: npm run lint + + - name: Testing + run: npm run test + + - name: Merge coverage reports + run: | + cat coverage/core/lcov.info coverage/keepalive/lcov.info > combined-lcov.info + + # See: https://github.com/marketplace/actions/coveralls-github-action + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: "combined-lcov.info" + flag-name: ${{ matrix.os }}-${{ matrix.node_version }} + parallel: true + + final-step: + needs: test + name: Final step + runs-on: ubuntu-latest + steps: + # See: https://github.com/marketplace/actions/coveralls-github-action + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..f4398d8 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,71 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '38 0 * * 4' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] + # Learn more: + # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.gitignore b/.gitignore index 779dc13..2711b1c 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ speed-measure-plugin.json .history/* # misc +/.angular/cache /.sass-cache /connect.lock /coverage diff --git a/.nvmrc b/.nvmrc index 5007551..58a4133 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10.16.0 +16.13.0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4e8ee30..0000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -dist: trusty -sudo: false - -language: node_js - -addons: - chrome: stable - -cache: - directories: - - node_modules - -install: - - npm install - -before_install: - - export NG_CLI_ANALYTICS=ci - -script: - - npm run lint - - npm run coverage diff --git a/CHANGELOG.md b/CHANGELOG.md index 98d593b..d31e0ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,98 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [12.0.0-qhralpha.0](https://github.com/qhrtech/ng2-idle/compare/v13.0.0...v12.0.0-qhralpha.0) (2023-04-12) + + +### Reverts + +* Revert "chore(release): publish v13.0.0" ([3470976](https://github.com/qhrtech/ng2-idle/commit/3470976805bd4215b31a32ae5fa7d16efb7005a4)) + + + + + +# [12.0.0](https://github.com/moribvndvs/ng2-idle/compare/v11.1.0...v12.0.0) (2022-08-06) + + +### chore + +* update library to use angular 14 ([#169](https://github.com/moribvndvs/ng2-idle/issues/169)) ([d4e17b9](https://github.com/moribvndvs/ng2-idle/commit/d4e17b9a6bf086a8df57445ba2a092a827a90757)) + + +### BREAKING CHANGES + +* requires node 14+ and angular 14 + + + + + +# [11.1.0](https://github.com/moribvndvs/ng2-idle/compare/v11.0.3...v11.1.0) (2021-09-30) + + +### Features + +* **interruptsource:** support ssr with the default interrupt sources ([#159](https://github.com/moribvndvs/ng2-idle/issues/159)) ([f70fcad](https://github.com/moribvndvs/ng2-idle/commit/f70fcadfd3cfaccd2b9ce9ee00a5ccb6901c4d05)), closes [#77](https://github.com/moribvndvs/ng2-idle/issues/77) [#115](https://github.com/moribvndvs/ng2-idle/issues/115) + + + + + +## [11.0.3](https://github.com/moribvndvs/ng2-idle/compare/v11.0.2...v11.0.3) (2021-07-18) + +**Note:** Version bump only for package ng-idle + + + + + +## [11.0.2](https://github.com/moribvndvs/ng2-idle/compare/v11.0.1...v11.0.2) (2021-07-18) + +**Note:** Version bump only for package ng-idle + + + + + +## [11.0.1](https://github.com/moribvndvs/ng2-idle/compare/v11.0.0...v11.0.1) (2021-07-18) + +**Note:** Version bump only for package ng-idle + + + + + +# [11.0.0](https://github.com/moribvndvs/ng2-idle/compare/v10.0.0...v11.0.0) (2021-07-18) + + +* Angular 12 (#151) ([add71cd](https://github.com/moribvndvs/ng2-idle/commit/add71cd62c7c8411d40c62e1b8c4e045c714c1fd)), closes [#151](https://github.com/moribvndvs/ng2-idle/issues/151) + + +### BREAKING CHANGES + +* This version requires Angular 9 or later. + + + + + +# [10.0.0](https://github.com/moribvndvs/ng2-idle/compare/v9.0.0-beta.1...v10.0.0) (2020-09-10) + + +### Features + +* **project:** upgrade to angular 10 ([ea853a6](https://github.com/moribvndvs/ng2-idle/commit/ea853a6430564d6ae3e3807d4d8956f3332de4df)) + + +### BREAKING CHANGES + +* **project:** required angular 10 + + + + + # [9.0.0-beta.1](https://github.com/moribvndvs/ng2-idle/compare/v8.0.0-beta.4...v9.0.0-beta.1) (2020-07-01) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aeb006f..70c2726 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -126,8 +126,8 @@ If your pull request is too out of date (resulting in merge conflicts or your ch [angularhelp]: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question [gitter]: https://gitter.im/HackedByChinese/ng2-idle [stackoverflow]: http://stackoverflow.com/questions/tagged/ng2-idle -[github]: https://github.com/HackedByChinese/ng2-idle -[githubissues]: https://github.com/HackedByChinese/ng2-idle/issues +[github]: https://github.com/moribvndvs/ng2-idle +[githubissues]: https://github.com/moribvndvs/ng2-idle/issues [commitizen]: https://github.com/commitizen/cz-cli -[githubprs]: https://github.com/HackedByChinese/ng2-idle/pulls -[githubrepo]: https://github.com/HackedByChinese/ng2-idle.git +[githubprs]: https://github.com/moribvndvs/ng2-idle/pulls +[githubrepo]: https://github.com/moribvndvs/ng2-idle.git diff --git a/LICENSE b/LICENSE index e6f9b40..665003e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,13 +1,201 @@ -Copyright 2016 Mike Grabski + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - http://www.apache.org/licenses/LICENSE-2.0 + 1. Definitions. -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 Mike Grabski + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md index ba86d84..8be91b7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Introduction -[![Build Status](https://travis-ci.org/moribvndvs/ng2-idle.svg?branch=master)](https://travis-ci.org/moribvndvs/ng2-idle) [![Coverage Status](https://coveralls.io/repos/github/moribvndvs/ng2-idle/badge.svg?branch=master)](https://coveralls.io/github/moribvndvs/ng2-idle?branch=master) +[![Build Status](https://github.com/moribvndvs/ng2-idle/workflows/ci/badge.svg)](https://github.com/moribvndvs/ng2-idle/actions?query=workflow%3Aci) +[![Coverage Status](https://coveralls.io/repos/github/moribvndvs/ng2-idle/badge.svg?branch=master)](https://coveralls.io/github/moribvndvs/ng2-idle?branch=master) A module for responding to idle users in Angular applications. This is a rewrite of the [ng-idle module](https://github.com/moribvndvs/ng-idle); however if you are using Angular 1, you must use that module. @@ -85,7 +86,7 @@ By default, a `LocalStorageExpiry` type is provided, which will just keep track ### Multiple Idle Instance Support -The dependency injector in Angular supports a hierarchical injection strategy. This allows you to create an instance of `Idle` at whatever scope you need, and there can be more than one instance. This allows you two have two separate watches, for example, on two different elements on the page. +The dependency injector in Angular supports a hierarchical injection strategy. This allows you to create an instance of `Idle` at whatever scope you need, and there can be more than one instance. This allows you to have two separate watches, for example, on two different elements on the page. If you use the default expiry (`LocalStorageExpiry`), you will need to define a name for each idle with `Idle.setIdleName('yourIdleName')`, otherwise the same key will be used in the localStorage and this feature will not work as expected. ### Example Use Case @@ -94,6 +95,12 @@ For example, consider an email application. For increased security, the applicat `@ng-idle/core` can detect that the user is clicking, typing, touching, scrolling, etc. and know that the user is still active. It can work with `@ng-idle/keepalive` to ping the server every few minutes to keep them logged in. In this case, as long as the user is doing something, they stay logged in. If they step away from the computer, we can present a warning dialog, and then after a countdown, log them out. +## Server-Side Rendering/Universal + +@ng-idle/core uses DOM events on various targets to detect user activity. However, when using SSR/Universal Rendering the app is not always running in the browser and thus may not have access to these DOM targets, causing your app to potentially crash or throw errors as it tries to use browser globals like `document` and `window` through @ng-idle. + +`EventTargetInterruptSource` and all the interrupt sources that derive from it (such as `DocumentInterruptSource`, `WindowInterruptSource`, and `StorageInterruptSource`) are designed to lazily initialize the event target listeners for compatibility with server-side rendering. The `EventTargetInterruptSource` will detect whether your app is running in the browser or on the server by using [`isPlatformServer`](https://angular.io/api/common/isPlatformServer) and will skip initialization of the event target listeners when run on the server. + ## Developing This project was developed using the NodeJS version found in the `.nvmrc` file. You may experience problems using older versions. Try [NVM](https://github.com/creationix/nvm) or similar to manage different versions of Node concurrently. If using NVM, you can execute `nvm install` to download and switch to the correct version. diff --git a/angular.json b/angular.json index 962613e..a19f221 100644 --- a/angular.json +++ b/angular.json @@ -1,5 +1,11 @@ { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "cli": { + "analytics": false, + "schematicCollections": [ + "@angular-eslint/schematics" + ] + }, "version": 1, "newProjectRoot": "projects", "projects": { @@ -10,7 +16,7 @@ "prefix": "lib", "architect": { "build": { - "builder": "@angular-devkit/build-ng-packagr:build", + "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "projects/core/tsconfig.lib.json", "project": "projects/core/ng-package.json" @@ -30,14 +36,11 @@ } }, "lint": { - "builder": "@angular-devkit/build-angular:tslint", + "builder": "@angular-eslint/builder:lint", "options": { - "tsConfig": [ - "projects/core/tsconfig.lib.json", - "projects/core/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" + "lintFilePatterns": [ + "projects/core/**/*.ts", + "projects/core/**/*.html" ] } } @@ -50,7 +53,7 @@ "prefix": "lib", "architect": { "build": { - "builder": "@angular-devkit/build-ng-packagr:build", + "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "projects/keepalive/tsconfig.lib.json", "project": "projects/keepalive/ng-package.json" @@ -70,18 +73,116 @@ } }, "lint": { - "builder": "@angular-devkit/build-angular:tslint", + "builder": "@angular-eslint/builder:lint", "options": { - "tsConfig": [ - "projects/keepalive/tsconfig.lib.json", - "projects/keepalive/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" + "lintFilePatterns": [ + "projects/keepalive/**/*.ts", + "projects/keepalive/**/*.html" ] } } } - }}, - "defaultProject": "core" + }, + "docs": { + "projectType": "application", + "schematics": { + "@schematics/angular:application": { + "strict": true + } + }, + "root": "projects/docs", + "sourceRoot": "projects/docs/src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "docs", + "index": "projects/docs/src/index.html", + "main": "projects/docs/src/main.ts", + "polyfills": "projects/docs/src/polyfills.ts", + "tsConfig": "projects/docs/tsconfig.app.json", + "assets": [ + "projects/docs/src/favicon.ico", + "projects/docs/src/assets" + ], + "styles": [ + "./node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css", + "./node_modules/highlight.js/styles/github-dark.css", + "projects/docs/src/styles.css" + ], + "scripts": [] + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ], + "fileReplacements": [ + { + "replace": "projects/docs/src/environments/environment.ts", + "with": "projects/docs/src/environments/environment.prod.ts" + } + ], + "outputHashing": "all" + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "configurations": { + "production": { + "browserTarget": "docs:build:production" + }, + "development": { + "browserTarget": "docs:build:development" + } + }, + "defaultConfiguration": "development" + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "docs:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "projects/docs/src/test.ts", + "polyfills": "projects/docs/src/polyfills.ts", + "tsConfig": "projects/docs/tsconfig.spec.json", + "karmaConfig": "projects/docs/karma.conf.js", + "assets": [ + "projects/docs/src/favicon.ico", + "projects/docs/src/assets" + ], + "styles": [ + "./node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css", + "projects/docs/src/styles.css" + ], + "scripts": [] + } + } + } + } + } } diff --git a/docs/112.68da678b684b5c9a.js b/docs/112.68da678b684b5c9a.js new file mode 100644 index 0000000..9d1a285 --- /dev/null +++ b/docs/112.68da678b684b5c9a.js @@ -0,0 +1 @@ +(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[112],{940:le=>{var H={exports:{}};function D(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var i=e[t];"object"==typeof i&&!Object.isFrozen(i)&&D(i)}),e}H.exports=D,H.exports.default=D;class j{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function W(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function A(e,...t){const i=Object.create(null);for(const f in e)i[f]=e[f];return t.forEach(function(f){for(const b in f)i[b]=f[b]}),i}const ue=e=>!!e.scope||e.sublanguage&&e.language;class Ce{constructor(t,i){this.buffer="",this.classPrefix=i.classPrefix,t.walk(this)}addText(t){this.buffer+=W(t)}openNode(t){if(!ue(t))return;let i="";i=t.sublanguage?`language-${t.language}`:((e,{prefix:t})=>{if(e.includes(".")){const i=e.split(".");return[`${t}${i.shift()}`,...i.map((f,b)=>`${f}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`})(t.scope,{prefix:this.classPrefix}),this.span(i)}closeNode(t){!ue(t)||(this.buffer+="")}value(){return this.buffer}span(t){this.buffer+=``}}const fe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class q{constructor(){this.rootNode=fe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const i=fe({scope:t});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,i){return"string"==typeof i?t.addText(i):i.children&&(t.openNode(i),i.children.forEach(f=>this._walk(t,f)),t.closeNode(i)),t}static _collapse(t){"string"!=typeof t&&(!t.children||(t.children.every(i=>"string"==typeof i)?t.children=[t.children.join("")]:t.children.forEach(i=>{q._collapse(i)})))}}class Le extends q{constructor(t){super(),this.options=t}addKeyword(t,i){""!==t&&(this.openNode(i),this.addText(t),this.closeNode())}addText(t){""!==t&&this.add(t)}addSublanguage(t,i){const f=t.root;f.sublanguage=!0,f.language=i,this.add(f)}toHTML(){return new Ce(this,this.options).value()}finalize(){return!0}}function U(e){return e?"string"==typeof e?e:e.source:null}function ge(e){return v("(?=",e,")")}function He(e){return v("(?:",e,")*")}function Pe(e){return v("(?:",e,")?")}function v(...e){return e.map(i=>U(i)).join("")}function m(...e){const t=function je(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map(f=>U(f)).join("|")+")"}function he(e){return new RegExp(e.toString()+"|").exec("").length-1}const $e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ee(e,{joinWith:t}){let i=0;return e.map(f=>{i+=1;const b=i;let _=U(f),c="";for(;_.length>0;){const r=$e.exec(_);if(!r){c+=_;break}c+=_.substring(0,r.index),_=_.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?c+="\\"+String(Number(r[1])+b):(c+=r[0],"("===r[0]&&i++)}return c}).map(f=>`(${f})`).join(t)}const de="[a-zA-Z]\\w*",te="[a-zA-Z_]\\w*",pe="\\b\\d+(\\.\\d+)?",Ee="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",be="\\b(0b[01]+)",$={begin:"\\\\[\\s\\S]",relevance:0},Fe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[$]},ze={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[$]},F=function(e,t,i={}){const f=A({scope:"comment",begin:e,end:t,contains:[]},i);f.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const b=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return f.contains.push({begin:v(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),f},Ye=F("//","$"),Ze=F("/\\*","\\*/"),Je=F("#","$");var z=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:de,UNDERSCORE_IDENT_RE:te,NUMBER_RE:pe,C_NUMBER_RE:Ee,BINARY_NUMBER_RE:be,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),A({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(i,f)=>{0!==i.index&&f.ignoreMatch()}},e)},BACKSLASH_ESCAPE:$,APOS_STRING_MODE:Fe,QUOTE_STRING_MODE:ze,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:F,C_LINE_COMMENT_MODE:Ye,C_BLOCK_COMMENT_MODE:Ze,HASH_COMMENT_MODE:Je,NUMBER_MODE:{scope:"number",begin:pe,relevance:0},C_NUMBER_MODE:{scope:"number",begin:Ee,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:be,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[$,{begin:/\[/,end:/\]/,relevance:0,contains:[$]}]}]},TITLE_MODE:{scope:"title",begin:de,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:te,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+te,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,i)=>{i.data._beginMatch=t[1]},"on:end":(t,i)=>{i.data._beginMatch!==t[1]&&i.ignoreMatch()}})}});function it(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function st(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function rt(e,t){!t||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=it,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function ct(e,t){!Array.isArray(e.illegal)||(e.illegal=m(...e.illegal))}function ot(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function at(e,t){void 0===e.relevance&&(e.relevance=1)}const lt=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(f=>{delete e[f]}),e.keywords=i.keywords,e.begin=v(i.beforeMatch,ge(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},ut=["of","and","for","in","not","or","if","then","parent","list","value"];function _e(e,t,i="keyword"){const f=Object.create(null);return"string"==typeof e?b(i,e.split(" ")):Array.isArray(e)?b(i,e):Object.keys(e).forEach(function(_){Object.assign(f,_e(e[_],t,_))}),f;function b(_,c){t&&(c=c.map(r=>r.toLowerCase())),c.forEach(function(r){const l=r.split("|");f[l[0]]=[_,gt(l[0],l[1])]})}}function gt(e,t){return t?Number(t):function ht(e){return ut.includes(e.toLowerCase())}(e)?0:1}const we={},C=e=>{console.error(e)},Me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},P=(e,t)=>{we[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),we[`${e}/${t}`]=!0)},X=new Error;function xe(e,t,{key:i}){let f=0;const b=e[i],_={},c={};for(let r=1;r<=t.length;r++)c[r+f]=b[r],_[r+f]=!0,f+=he(t[r-1]);e[i]=c,e[i]._emit=_,e[i]._multi=!0}function bt(e){(function Et(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function dt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw C("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),X;if("object"!=typeof e.beginScope||null===e.beginScope)throw C("beginScope must be object"),X;xe(e,e.begin,{key:"beginScope"}),e.begin=ee(e.begin,{joinWith:""})}}(e),function pt(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw C("skip, excludeEnd, returnEnd not compatible with endScope: {}"),X;if("object"!=typeof e.endScope||null===e.endScope)throw C("endScope must be object"),X;xe(e,e.end,{key:"endScope"}),e.end=ee(e.end,{joinWith:""})}}(e)}function _t(e){function t(c,r){return new RegExp(U(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,r]),this.matchAt+=he(r)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const r=this.regexes.map(l=>l[1]);this.matcherRe=t(ee(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(r);if(!l)return null;const x=l.findIndex((K,ie)=>ie>0&&void 0!==K),w=this.matchIndexes[x];return l.splice(0,x),Object.assign(l,w)}}class f{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const l=new i;return this.rules.slice(r).forEach(([x,w])=>l.addRule(x,w)),l.compile(),this.multiRegexes[r]=l,l}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(r,l){this.rules.push([r,l]),"begin"===l.type&&this.count++}exec(r){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let x=l.exec(r);if(this.resumingScanAtSamePosition()&&(!x||x.index!==this.lastIndex)){const w=this.getMatcher(0);w.lastIndex=this.lastIndex+1,x=w.exec(r)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=A(e.classNameAliases||{}),function _(c,r){const l=c;if(c.isCompiled)return l;[st,ot,bt,lt].forEach(w=>w(c,r)),e.compilerExtensions.forEach(w=>w(c,r)),c.__beforeBegin=null,[rt,ct,at].forEach(w=>w(c,r)),c.isCompiled=!0;let x=null;return"object"==typeof c.keywords&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),x=c.keywords.$pattern,delete c.keywords.$pattern),x=x||/\w+/,c.keywords&&(c.keywords=_e(c.keywords,e.case_insensitive)),l.keywordPatternRe=t(x,!0),r&&(c.begin||(c.begin=/\B|\b/),l.beginRe=t(l.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(l.endRe=t(l.end)),l.terminatorEnd=U(l.end)||"",c.endsWithParent&&r.terminatorEnd&&(l.terminatorEnd+=(c.end?"|":"")+r.terminatorEnd)),c.illegal&&(l.illegalRe=t(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(w){return function wt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return A(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Oe(e)?A(e,{starts:e.starts?A(e.starts):null}):Object.isFrozen(e)?A(e):e}("self"===w?c:w)})),c.contains.forEach(function(w){_(w,l)}),c.starts&&_(c.starts,r),l.matcher=function b(c){const r=new f;return c.contains.forEach(l=>r.addRule(l.begin,{rule:l,type:"begin"})),c.terminatorEnd&&r.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&r.addRule(c.illegal,{type:"illegal"}),r}(l),l}(e)}function Oe(e){return!!e&&(e.endsWithParent||Oe(e.starts))}class xt extends Error{constructor(t,i){super(t),this.name="HTMLInjectionError",this.html=i}}const ne=W,Re=A,ye=Symbol("nomatch");var G=function(e){const t=Object.create(null),i=Object.create(null),f=[];let b=!0;const _="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Le};function l(n){return r.noHighlightRe.test(n)}function w(n,a,h){let p="",M="";"object"==typeof a?(p=n,h=a.ignoreIllegals,M=a.language):(P("10.7.0","highlight(lang, code, ...args) has been deprecated."),P("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),M=n,p=a),void 0===h&&(h=!0);const S={code:p,language:M};Z("before:highlight",S);const T=S.result?S.result:K(S.language,S.code,h);return T.code=S.code,Z("after:highlight",T),T}function K(n,a,h,p){const M=Object.create(null);function S(s,o){return s.keywords[o]}function T(){if(!u.keywords)return void O.addText(E);let s=0;u.keywordPatternRe.lastIndex=0;let o=u.keywordPatternRe.exec(E),g="";for(;o;){g+=E.substring(s,o.index);const d=B.case_insensitive?o[0].toLowerCase():o[0],R=S(u,d);if(R){const[N,Ut]=R;O.addText(g),g="",M[d]=(M[d]||0)+1,M[d]<=7&&(Q+=Ut),N.startsWith("_")?g+=o[0]:O.addKeyword(o[0],B.classNameAliases[N]||N)}else g+=o[0];s=u.keywordPatternRe.lastIndex,o=u.keywordPatternRe.exec(E)}g+=E.substring(s),O.addText(g)}function y(){null!=u.subLanguage?function J(){if(""===E)return;let s=null;if("string"==typeof u.subLanguage){if(!t[u.subLanguage])return void O.addText(E);s=K(u.subLanguage,E,!0,Be[u.subLanguage]),Be[u.subLanguage]=s._top}else s=se(E,u.subLanguage.length?u.subLanguage:null);u.relevance>0&&(Q+=s.relevance),O.addSublanguage(s._emitter,s.language)}():T(),E=""}function I(s,o){let g=1;const d=o.length-1;for(;g<=d;){if(!s._emit[g]){g++;continue}const R=B.classNameAliases[s[g]]||s[g],N=o[g];R?O.addKeyword(N,R):(E=N,T(),E=""),g++}}function ke(s,o){return s.scope&&"string"==typeof s.scope&&O.openNode(B.classNameAliases[s.scope]||s.scope),s.beginScope&&(s.beginScope._wrap?(O.addKeyword(E,B.classNameAliases[s.beginScope._wrap]||s.beginScope._wrap),E=""):s.beginScope._multi&&(I(s.beginScope,o),E="")),u=Object.create(s,{parent:{value:u}}),u}function Te(s,o,g){let d=function Ue(e,t){const i=e&&e.exec(t);return i&&0===i.index}(s.endRe,g);if(d){if(s["on:end"]){const R=new j(s);s["on:end"](o,R),R.isMatchIgnored&&(d=!1)}if(d){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return Te(s.parent,o,g)}function Ct(s){return 0===u.matcher.regexIndex?(E+=s[0],1):(ae=!0,0)}function Ht(s){const o=s[0],g=a.substring(s.index),d=Te(u,s,g);if(!d)return ye;const R=u;u.endScope&&u.endScope._wrap?(y(),O.addKeyword(o,u.endScope._wrap)):u.endScope&&u.endScope._multi?(y(),I(u.endScope,s)):R.skip?E+=o:(R.returnEnd||R.excludeEnd||(E+=o),y(),R.excludeEnd&&(E=o));do{u.scope&&O.closeNode(),!u.skip&&!u.subLanguage&&(Q+=u.relevance),u=u.parent}while(u!==d.parent);return d.starts&&ke(d.starts,s),R.returnEnd?0:o.length}let V={};function Ie(s,o){const g=o&&o[0];if(E+=s,null==g)return y(),0;if("begin"===V.type&&"end"===o.type&&V.index===o.index&&""===g){if(E+=a.slice(o.index,o.index+1),!b){const d=new Error(`0 width match regex (${n})`);throw d.languageName=n,d.badRule=V.rule,d}return 1}if(V=o,"begin"===o.type)return function Lt(s){const o=s[0],g=s.rule,d=new j(g),R=[g.__beforeBegin,g["on:begin"]];for(const N of R)if(N&&(N(s,d),d.isMatchIgnored))return Ct(o);return g.skip?E+=o:(g.excludeBegin&&(E+=o),y(),!g.returnBegin&&!g.excludeBegin&&(E=o)),ke(g,s),g.returnBegin?0:o.length}(o);if("illegal"===o.type&&!h){const d=new Error('Illegal lexeme "'+g+'" for mode "'+(u.scope||"")+'"');throw d.mode=u,d}if("end"===o.type){const d=Ht(o);if(d!==ye)return d}if("illegal"===o.type&&""===g)return 1;if(oe>1e5&&oe>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return E+=g,g.length}const B=k(n);if(!B)throw C(_.replace("{}",n)),new Error('Unknown language: "'+n+'"');const jt=_t(B);let ce="",u=p||jt;const Be={},O=new r.__emitter(r);!function Pt(){const s=[];for(let o=u;o!==B;o=o.parent)o.scope&&s.unshift(o.scope);s.forEach(o=>O.openNode(o))}();let E="",Q=0,L=0,oe=0,ae=!1;try{for(u.matcher.considerAll();;){oe++,ae?ae=!1:u.matcher.considerAll(),u.matcher.lastIndex=L;const s=u.matcher.exec(a);if(!s)break;const g=Ie(a.substring(L,s.index),s);L=s.index+g}return Ie(a.substring(L)),O.closeAllNodes(),O.finalize(),ce=O.toHTML(),{language:n,value:ce,relevance:Q,illegal:!1,_emitter:O,_top:u}}catch(s){if(s.message&&s.message.includes("Illegal"))return{language:n,value:ne(a),illegal:!0,relevance:0,_illegalBy:{message:s.message,index:L,context:a.slice(L-100,L+100),mode:s.mode,resultSoFar:ce},_emitter:O};if(b)return{language:n,value:ne(a),illegal:!1,relevance:0,errorRaised:s,_emitter:O,_top:u};throw s}}function se(n,a){a=a||r.languages||Object.keys(t);const h=function ie(n){const a={value:ne(n),illegal:!1,relevance:0,_top:c,_emitter:new r.__emitter(r)};return a._emitter.addText(n),a}(n),p=a.filter(k).filter(Ae).map(y=>K(y,n,!1));p.unshift(h);const M=p.sort((y,I)=>{if(y.relevance!==I.relevance)return I.relevance-y.relevance;if(y.language&&I.language){if(k(y.language).supersetOf===I.language)return 1;if(k(I.language).supersetOf===y.language)return-1}return 0}),[S,T]=M,J=S;return J.secondBest=T,J}function re(n){let a=null;const h=function x(n){let a=n.className+" ";a+=n.parentNode?n.parentNode.className:"";const h=r.languageDetectRe.exec(a);if(h){const p=k(h[1]);return p||(Me(_.replace("{}",h[1])),Me("Falling back to no-highlight mode for this block.",n)),p?h[1]:"no-highlight"}return a.split(/\s+/).find(p=>l(p)||k(p))}(n);if(l(h))return;if(Z("before:highlightElement",{el:n,language:h}),n.children.length>0&&(r.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(n)),r.throwUnescapedHTML))throw new xt("One of your code blocks includes unescaped HTML.",n.innerHTML);a=n;const p=a.textContent,M=h?w(p,{language:h,ignoreIllegals:!0}):se(p);n.innerHTML=M.value,function Rt(n,a,h){const p=a&&i[a]||h;n.classList.add("hljs"),n.classList.add(`language-${p}`)}(n,h,M.language),n.result={language:M.language,re:M.relevance,relevance:M.relevance},M.secondBest&&(n.secondBest={language:M.secondBest.language,relevance:M.secondBest.relevance}),Z("after:highlightElement",{el:n,result:M,text:p})}let Se=!1;function Y(){"loading"!==document.readyState?document.querySelectorAll(r.cssSelector).forEach(re):Se=!0}function k(n){return n=(n||"").toLowerCase(),t[n]||t[i[n]]}function Ne(n,{languageName:a}){"string"==typeof n&&(n=[n]),n.forEach(h=>{i[h.toLowerCase()]=a})}function Ae(n){const a=k(n);return a&&!a.disableAutodetect}function Z(n,a){const h=n;f.forEach(function(p){p[h]&&p[h](a)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function At(){Se&&Y()},!1),Object.assign(e,{highlight:w,highlightAuto:se,highlightAll:Y,highlightElement:re,highlightBlock:function vt(n){return P("10.7.0","highlightBlock will be removed entirely in v12.0"),P("10.7.0","Please use highlightElement now."),re(n)},configure:function yt(n){r=Re(r,n)},initHighlighting:()=>{Y(),P("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Nt(){Y(),P("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function kt(n,a){let h=null;try{h=a(e)}catch(p){if(C("Language definition for '{}' could not be registered.".replace("{}",n)),!b)throw p;C(p),h=c}h.name||(h.name=n),t[n]=h,h.rawDefinition=a.bind(null,e),h.aliases&&Ne(h.aliases,{languageName:n})},unregisterLanguage:function Tt(n){delete t[n];for(const a of Object.keys(i))i[a]===n&&delete i[a]},listLanguages:function It(){return Object.keys(t)},getLanguage:k,registerAliases:Ne,autoDetection:Ae,inherit:Re,addPlugin:function Dt(n){(function Bt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=a=>{n["before:highlightBlock"](Object.assign({block:a.el},a))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=a=>{n["after:highlightBlock"](Object.assign({block:a.el},a))})})(n),f.push(n)}}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString="11.6.0",e.regex={concat:v,lookahead:ge,either:m,optional:Pe,anyNumberOfTimes:He};for(const n in z)"object"==typeof z[n]&&H.exports(z[n]);return Object.assign(e,z),e}({});le.exports=G,G.HighlightJS=G,G.default=G},112:(le,H,D)=>{"use strict";D.r(H),D.d(H,{HighlightJS:()=>j,default:()=>W});var j=D(940);const W=j}}]); \ No newline at end of file diff --git a/docs/142.9d27ec861ca27992.js b/docs/142.9d27ec861ca27992.js new file mode 100644 index 0000000..2564ab7 --- /dev/null +++ b/docs/142.9d27ec861ca27992.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[142],{142:(b,r,l)=>{function m(n){const e=n.regex,a=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=n.inherit(t,{begin:/\(/,end:/\)/}),g=n.inherit(n.APOS_STRING_MODE,{className:"string"}),c=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),i={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[t,c,g,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,o,c,g]}]}]},n.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}l.r(r),l.d(r,{default:()=>m})}}]); \ No newline at end of file diff --git a/docs/256.892cbc99d307a50a.js b/docs/256.892cbc99d307a50a.js new file mode 100644 index 0000000..eb2faba --- /dev/null +++ b/docs/256.892cbc99d307a50a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[256],{256:(k,t,n)=>{function o(e){const s={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:e.regex.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},d={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]};a.contains.push(c);const m={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[h,e.SHEBANG(),b,m,e.HASH_COMMENT_MODE,d,{match:/(\/[a-z._-]+)+/},c,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}n.r(t),n.d(t,{default:()=>o})}}]); \ No newline at end of file diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt new file mode 100644 index 0000000..1c415a8 --- /dev/null +++ b/docs/3rdpartylicenses.txt @@ -0,0 +1,740 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +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. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +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. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@fortawesome/angular-fontawesome +MIT +MIT License + +Copyright (c) 2018 Fonticons, 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. + + +@fortawesome/fontawesome-svg-core +MIT +Fonticons, Inc. (https://fontawesome.com) + +-------------------------------------------------------------------------------- + +Font Awesome Free License + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +-------------------------------------------------------------------------------- + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) + +The Font Awesome Free download is licensed under a Creative Commons +Attribution 4.0 International License and applies to all icons packaged +as SVG and JS file types. + +-------------------------------------------------------------------------------- + +# Fonts: SIL OFL 1.1 License + +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com) +with Reserved Font Name: "Font Awesome". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE +Version 1.1 - 26 February 2007 + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting — in part or in whole — any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +-------------------------------------------------------------------------------- + +# Code: MIT License (https://opensource.org/licenses/MIT) + +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +Copyright 2022 Fonticons, Inc. + +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. + +-------------------------------------------------------------------------------- + +# Attribution + +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +-------------------------------------------------------------------------------- + +# Brand Icons + +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** + + +@fortawesome/free-brands-svg-icons +(CC-BY-4.0 AND MIT) +Fonticons, Inc. (https://fontawesome.com) + +-------------------------------------------------------------------------------- + +Font Awesome Free License + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +-------------------------------------------------------------------------------- + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) + +The Font Awesome Free download is licensed under a Creative Commons +Attribution 4.0 International License and applies to all icons packaged +as SVG and JS file types. + +-------------------------------------------------------------------------------- + +# Fonts: SIL OFL 1.1 License + +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com) +with Reserved Font Name: "Font Awesome". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE +Version 1.1 - 26 February 2007 + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting — in part or in whole — any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +-------------------------------------------------------------------------------- + +# Code: MIT License (https://opensource.org/licenses/MIT) + +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +Copyright 2022 Fonticons, Inc. + +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. + +-------------------------------------------------------------------------------- + +# Attribution + +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +-------------------------------------------------------------------------------- + +# Brand Icons + +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** + + +@ng-idle/core +Apache-2.0 + +@ng-idle/keepalive +Apache-2.0 + +highlight.js +BSD-3-Clause +BSD 3-Clause License + +Copyright (c) 2006, Ivan Sagalaev. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +highlightjs-line-numbers.js +MIT +The MIT License (MIT) + +Copyright (c) 2017 Yauheni Pakala + +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. + + + +ngx-highlightjs +MIT + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2022 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +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/docs/403.6f6f4362f741f474.js b/docs/403.6f6f4362f741f474.js new file mode 100644 index 0000000..7808d60 --- /dev/null +++ b/docs/403.6f6f4362f741f474.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[403],{403:(h,r,i)=>{i.r(r),i.d(r,{default:()=>b});const a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],l=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],d=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function b(t){const g=t.regex,e=(t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(t),o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+d.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:l.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}}}]); \ No newline at end of file diff --git a/docs/535.46decbb9068f16d0.js b/docs/535.46decbb9068f16d0.js new file mode 100644 index 0000000..90037d5 --- /dev/null +++ b/docs/535.46decbb9068f16d0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[535],{535:(V,I,C)=>{C.r(I),C.d(I,{default:()=>F});const u="[A-Za-z$_][0-9A-Za-z$_]*",O=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],v=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],M=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","module","global"],L=[].concat(k,w,M);function F(n){const e=function $(n){const e=n.regex,t=u,r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,E)=>{const b=s[0].length+s.index,m=s.input[b];if("<"===m||","===m)return void E.ignoreMatch();let P;">"===m&&(((s,{after:E})=>{const b="",J={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(U)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:p,CLASS_REFERENCE:B},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,N,S,l,y,A,B,{className:"attr",begin:t+e.lookahead(":"),relevance:0},J,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,n.REGEXP_MODE,{className:"function",begin:U,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,n.inherit(n.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},H,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},W,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},Z,X,{match:/\$[(.]/}]}}(n),t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},f={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t},contains:[e.exports.CLASS_REFERENCE]},_={$pattern:u,keyword:O.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:v,built_in:L.concat(t),"variable.language":x},o={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},i=(a,N,S)=>{const l=a.contains.findIndex(R=>R.label===N);if(-1===l)throw new Error("can not find mode to replace");a.contains.splice(l,1,S)};return Object.assign(e.keywords,_),e.exports.PARAMS_CONTAINS.push(o),e.contains=e.contains.concat([o,g,f]),i(e,"shebang",n.SHEBANG()),i(e,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),e.contains.find(a=>"func.def"===a.label).relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx"]}),e}}}]); \ No newline at end of file diff --git a/docs/859.769e7e92953f2bfa.js b/docs/859.769e7e92953f2bfa.js new file mode 100644 index 0000000..3c9d0a6 --- /dev/null +++ b/docs/859.769e7e92953f2bfa.js @@ -0,0 +1 @@ +(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[859],{859:()=>{!function(o,s){"use strict";var N="hljs-ln",g="hljs-ln-code",m="hljs-ln-n",d="data-line-number",p=/\r\n|\r|\n/g;function b(e){try{var n=s.querySelectorAll("code.hljs,code.nohighlight");for(var r in n)n.hasOwnProperty(r)&&(F(n[r])||E(n[r],e))}catch(t){o.console.error("LineNumbers error: ",t)}}function F(e){return e.classList.contains("nohljsln")}function E(e,n){"object"==typeof e&&function V(e){o.setTimeout(e,0)}(function(){e.innerHTML=L(e,n)})}function L(e,n){var r=function H(e,n){return{singleLine:I(n=n||{}),startFrom:R(e,n)}}(e,n);return A(e),function w(e,n){var r=j(e);if(""===r[r.length-1].trim()&&r.pop(),r.length>1||n.singleLine){for(var t="",a=0,i=r.length;a
{6}',["hljs-ln-line","hljs-ln-numbers",m,d,g,a+n.startFrom,r[a].length>0?r[a]:" "]);return c('{1}
',[N,t])}return e}(e.innerHTML,r)}function I(e){return!!e.singleLine&&e.singleLine}function R(e,n){var t=1;isFinite(n.startFrom)&&(t=n.startFrom);var a=function K(e,n){return e.hasAttribute(n)?e.getAttribute(n):null}(e,"data-ln-start-from");return null!==a&&(t=function T(e,n){if(!e)return n;var r=Number(e);return isFinite(r)?r:n}(a,1)),t}function A(e){var n=e.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var t=n[r];P(t.textContent)>0&&(t.childNodes.length>0?A(t):k(t.parentNode))}}function k(e){var n=e.className;if(/hljs-/.test(n)){for(var r=j(e.innerHTML),t=0,a="";t{1}
\n',[n,r[t].length>0?r[t]:" "]);e.innerHTML=a.trim()}}function j(e){return 0===e.length?[]:e.split(p)}function P(e){return(e.trim().match(p)||[]).length}function c(e,n){return e.replace(/\{(\d+)\}/g,function(r,t){return void 0!==n[t]?n[t]:r})}o.hljs?(o.hljs.initLineNumbersOnLoad=function _(e){"interactive"===s.readyState||"complete"===s.readyState?b(e):o.addEventListener("DOMContentLoaded",function(){b(e)})},o.hljs.lineNumbersBlock=E,o.hljs.lineNumbersValue=function D(e,n){if("string"==typeof e){var r=document.createElement("code");return r.innerHTML=e,L(r,n)}},function S(){var e=s.createElement("style");e.type="text/css",e.innerHTML=c(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[N,m,d]),s.getElementsByTagName("head")[0].appendChild(e)}()):o.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var r,n=window.getSelection();(function O(e){for(var n=e;n;){if(n.className&&-1!==n.className.indexOf("hljs-ln-code"))return!0;n=n.parentNode}return!1})(n.anchorNode)&&(r=-1!==window.navigator.userAgent.indexOf("Edge")?function B(e){for(var n=e.toString(),r=e.anchorNode;"TD"!==r.nodeName;)r=r.parentNode;for(var t=e.focusNode;"TD"!==t.nodeName;)t=t.parentNode;var a=parseInt(r.dataset.lineNumber),i=parseInt(t.dataset.lineNumber);if(a!=i){var l=r.textContent,u=t.textContent;if(a>i){var f=a;a=i,i=f,f=l,l=u,u=f}for(;0!==n.indexOf(l);)l=l.slice(1);for(;-1===n.lastIndexOf(u);)u=u.slice(0,-1);for(var h=l,q=function C(e){for(var n=e;"TABLE"!==n.nodeName;)n=n.parentNode;return n}(r),v=a+1;v - - + - @ng-idle Example + @ng-idle Documentation - - - - - Loading... - - + + + + + + + + + \ No newline at end of file diff --git a/docs/inline.d41d8cd98f00b204e980.bundle.map b/docs/inline.d41d8cd98f00b204e980.bundle.map deleted file mode 100644 index 8f84e22..0000000 --- a/docs/inline.d41d8cd98f00b204e980.bundle.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///inline.js","webpack:///webpack/bootstrap 30b0c9b65afd1aea4d5c"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","parentJsonpFunction","window","chunkIds","moreModules","executeModules","chunkId","result","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","shift","s","2","e","onScriptComplete","script","onerror","onload","clearTimeout","timeout","chunk","Error","undefined","Promise","resolve","head","document","getElementsByTagName","createElement","type","charset","async","src","p","0","1","setTimeout","appendChild","promise","reject","m","c","value","d","name","getter","defineProperty","configurable","enumerable","get","n","__esModule","o","object","property","oe","err","console","error"],"mappings":"CAAS,SAAUA,GCqCnB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAxDA,GAAAK,GAAAC,OAAA,YACAA,QAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,GAAAX,GAAAY,EAAAC,EAAAT,EAAA,EAAAU,KACQV,EAAAK,EAAAM,OAAoBX,IAC5BQ,EAAAH,EAAAL,GACAY,EAAAJ,IACAE,EAAAG,KAAAD,EAAAJ,GAAA,IACAI,EAAAJ,GAAA,CAEA,KAAAZ,IAAAU,GACAQ,OAAAC,UAAAC,eAAAd,KAAAI,EAAAV,KACAF,EAAAE,GAAAU,EAAAV,GAIA,KADAO,KAAAE,EAAAC,EAAAC,GACAG,EAAAC,QACAD,EAAAO,SACA,IAAAV,EACA,IAAAP,EAAA,EAAYA,EAAAO,EAAAI,OAA2BX,IACvCS,EAAAd,IAAAuB,EAAAX,EAAAP,GAGA,OAAAS,GAIA,IAAAZ,MAGAe,GACAO,EAAA,EA6BAxB,GAAAyB,EAAA,SAAAZ,GAmBA,QAAAa,KAEAC,EAAAC,QAAAD,EAAAE,OAAA,KACAC,aAAAC,EACA,IAAAC,GAAAf,EAAAJ,EACA,KAAAmB,IACAA,KAAA,MAAAC,OAAA,iBAAApB,EAAA,aACAI,EAAAJ,GAAAqB,QAzBA,OAAAjB,EAAAJ,GACA,MAAAsB,SAAAC,SAGA,IAAAnB,EAAAJ,GACA,MAAAI,GAAAJ,GAAA,EAGA,IAAAwB,GAAAC,SAAAC,qBAAA,WACAZ,EAAAW,SAAAE,cAAA,SACAb,GAAAc,KAAA,kBACAd,EAAAe,QAAA,QACAf,EAAAgB,OAAA,EACAhB,EAAAI,QAAA,KAEAJ,EAAAiB,IAAA5C,EAAA6C,EAAA,GAAAhC,EAAA,KAA8DiC,EAAA,uBAAAC,EAAA,wBAAsDlC,GAAA,WACpH,IAAAkB,GAAAiB,WAAAtB,EAAA,KACAC,GAAAC,QAAAD,EAAAE,OAAAH,EAWAW,EAAAY,YAAAtB,EAEA,IAAAuB,GAAA,GAAAf,SAAA,SAAAC,EAAAe,GACAlC,EAAAJ,IAAAuB,EAAAe,IAEA,OAAAlC,GAAAJ,GAAA,GAAAqC,GAIAlD,EAAAoD,EAAArD,EAGAC,EAAAqD,EAAAnD,EAGAF,EAAAK,EAAA,SAAAiD,GAA2C,MAAAA,IAG3CtD,EAAAuD,EAAA,SAAApD,EAAAqD,EAAAC,GACAtC,OAAAuC,eAAAvD,EAAAqD,GACAG,cAAA,EACAC,YAAA,EACAC,IAAAJ,KAKAzD,EAAA8D,EAAA,SAAA1D,GACA,GAAAqD,GAAArD,KAAA2D,WACA,WAA2B,MAAA3D,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAuD,EAAAE,EAAA,IAAAA,GACAA,GAIAzD,EAAAgE,EAAA,SAAAC,EAAAC,GAAsD,MAAA/C,QAAAC,UAAAC,eAAAd,KAAA0D,EAAAC,IAGtDlE,EAAA6C,EAAA,GAGA7C,EAAAmE,GAAA,SAAAC,GAA8D,KAApBC,SAAAC,MAAAF,GAAoBA","file":"inline.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId])\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n/******/ \t\twhile(resolves.length)\n/******/ \t\t\tresolves.shift()();\n/******/ \t\tif(executeModules) {\n/******/ \t\t\tfor(i=0; i < executeModules.length; i++) {\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\treturn result;\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// objects to store loaded and loading chunks\n/******/ \tvar installedChunks = {\n/******/ \t\t2: 0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/ \t// This file contains only the entry chunk.\n/******/ \t// The chunk loading function for additional chunks\n/******/ \t__webpack_require__.e = function requireEnsure(chunkId) {\n/******/ \t\tif(installedChunks[chunkId] === 0)\n/******/ \t\t\treturn Promise.resolve();\n/******/\n/******/ \t\t// an Promise means \"currently loading\".\n/******/ \t\tif(installedChunks[chunkId]) {\n/******/ \t\t\treturn installedChunks[chunkId][2];\n/******/ \t\t}\n/******/ \t\t// start chunk loading\n/******/ \t\tvar head = document.getElementsByTagName('head')[0];\n/******/ \t\tvar script = document.createElement('script');\n/******/ \t\tscript.type = 'text/javascript';\n/******/ \t\tscript.charset = 'utf-8';\n/******/ \t\tscript.async = true;\n/******/ \t\tscript.timeout = 120000;\n/******/\n/******/ \t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".\" + {\"0\":\"1fa11235e1d377643c61\",\"1\":\"6ba34605d3de01c9c3d4\"}[chunkId] + \".chunk.js\";\n/******/ \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n/******/ \t\tscript.onerror = script.onload = onScriptComplete;\n/******/ \t\tfunction onScriptComplete() {\n/******/ \t\t\t// avoid mem leaks in IE.\n/******/ \t\t\tscript.onerror = script.onload = null;\n/******/ \t\t\tclearTimeout(timeout);\n/******/ \t\t\tvar chunk = installedChunks[chunkId];\n/******/ \t\t\tif(chunk !== 0) {\n/******/ \t\t\t\tif(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n/******/ \t\t\t\tinstalledChunks[chunkId] = undefined;\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t\thead.appendChild(script);\n/******/\n/******/ \t\tvar promise = new Promise(function(resolve, reject) {\n/******/ \t\t\tinstalledChunks[chunkId] = [resolve, reject];\n/******/ \t\t});\n/******/ \t\treturn installedChunks[chunkId][2] = promise;\n/******/ \t};\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmory imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmory exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tObject.defineProperty(exports, name, {\n/******/ \t\t\tconfigurable: false,\n/******/ \t\t\tenumerable: true,\n/******/ \t\t\tget: getter\n/******/ \t\t});\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// on error function for async loading\n/******/ \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n/******/ })\n/************************************************************************/\n/******/ ([]);\n\n\n// WEBPACK FOOTER //\n// inline.js"," \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId])\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length)\n \t\t\tresolves.shift()();\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tif(installedChunks[chunkId] === 0)\n \t\t\treturn Promise.resolve();\n\n \t\t// an Promise means \"currently loading\".\n \t\tif(installedChunks[chunkId]) {\n \t\t\treturn installedChunks[chunkId][2];\n \t\t}\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = 'text/javascript';\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".\" + {\"0\":\"1fa11235e1d377643c61\",\"1\":\"6ba34605d3de01c9c3d4\"}[chunkId] + \".chunk.js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\treturn installedChunks[chunkId][2] = promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmory imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmory exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tObject.defineProperty(exports, name, {\n \t\t\tconfigurable: false,\n \t\t\tenumerable: true,\n \t\t\tget: getter\n \t\t});\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 30b0c9b65afd1aea4d5c"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/inline.js b/docs/inline.js deleted file mode 100644 index 2a1e0d1..0000000 --- a/docs/inline.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var a,i,f,l=0,s=[];l"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";function r(){throw new Error("unimplemented")}e.a=r,n.d(e,"b",function(){return o}),n.d(e,"c",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){var n=t.call(this,e);this._nativeError=n}return i(e,t),Object.defineProperty(e.prototype,"message",{get:function(){return this._nativeError.message},set:function(t){this._nativeError.message=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeError.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stack",{get:function(){return this._nativeError.stack},set:function(t){this._nativeError.stack=t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._nativeError.toString()},e}(Error),s=function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return i(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e}(o)},function(t,e,n){"use strict";(function(t){function n(t){return null!=t}function r(t){return null==t}function i(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function o(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function s(){if(!l)if(u.Symbol&&Symbol.iterator)l=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e1;){var s=i.shift();o=o.hasOwnProperty(s)&&r(o[s])?o[s]:o[s]={}}void 0!==o&&null!==o||(o={}),o[i.shift()]=n}function u(){if(!p)if(c.Symbol&&Symbol.iterator)p=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";function r(t,e){if(n.i(i.a)(t))for(var o=0;o-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}()},function(t,e,n){"use strict";var r=n(4);n.d(e,"c",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"e",function(){return i}),n.d(e,"a",function(){return u});var i,o=function(){function t(t,e,n,r){this.file=t,this.offset=e,this.line=n,this.col=r}return t.prototype.toString=function(){return n.i(r.a)(this.offset)?this.file.url+"@"+this.line+":"+this.col:this.file.url},t}(),s=function(){function t(t,e){this.content=t,this.url=e}return t}(),a=function(){function t(t,e,n){void 0===n&&(n=null),this.start=t,this.end=e,this.details=n}return t.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},t}();!function(t){t[t.WARNING=0]="WARNING",t[t.FATAL=1]="FATAL"}(i||(i={}));var u=function(){function t(t,e,n){void 0===n&&(n=i.FATAL),this.span=t,this.msg=e,this.level=n}return t.prototype.toString=function(){var t=this.span.start.file.content,e=this.span.start.offset,i="",o="";if(n.i(r.a)(e)){e>t.length-1&&(e=t.length-1);for(var s=e,a=0,u=0;a<100&&e>0&&(e--,a++,"\n"!=t[e]||3!=++u););for(a=0,u=0;a<100&&s]"+t.substring(this.span.start.offset,s+1);i=' ("'+c+'")'}return this.span.details&&(o=", "+this.span.details),""+this.msg+i+": "+this.span.start+o},t}()},function(t,e,n){"use strict";var r=n(126),i=n(190),o=n(125),s=n(533),a=n(193),u=n(192),c=n(191);n.d(e,"b",function(){return r.a}),n.d(e,"c",function(){return r.b}),n.d(e,"d",function(){return r.c}),n.d(e,"e",function(){return r.f}),n.d(e,"i",function(){return r.e}),n.d(e,"j",function(){return r.d}),n.d(e,"k",function(){return i.b}),n.d(e,"h",function(){return i.a}),n.d(e,"g",function(){return o.b}),n.d(e,"f",function(){return s.a}),n.d(e,"l",function(){return a.c}),n.d(e,"m",function(){return u.a}),n.d(e,"a",function(){return c.a})},function(t,e,n){var r=n(11);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(103),i=n(54);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(54);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(269);n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(n.i(r.a)("interpolation",e),new t(e[0],e[1])):o},t}(),o=new i("{{","}}")},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=new r.OpaqueToken("NgValueAccessor")},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return null==t||"string"==typeof t&&0===t.length}function i(t){return n.i(h.a)(t)?t:c.toPromise.call(t)}function o(t,e){return e.map(function(e){return e(t)})}function s(t,e){return e.map(function(e){return e(t)})}function a(t){var e=t.reduce(function(t,e){return n.i(p.a)(e)?l.a.merge(t,e):t},{});return 0===Object.keys(e).length?null:e}var u=n(1),c=n(465),l=(n.n(c),n(137)),p=n(33),h=n(324);n.d(e,"b",function(){return f}),n.d(e,"c",function(){return d}),n.d(e,"a",function(){return m});var f=new u.OpaqueToken("NgValidators"),d=new u.OpaqueToken("NgAsyncValidators"),m=function(){function t(){}return t.required=function(t){return r(t.value)?{required:!0}:null},t.minLength=function(t){return function(e){if(r(e.value))return null;var n="string"==typeof e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(t){return function(e){if(r(e.value))return null;var n=new RegExp("^"+t+"$"),i=e.value;return n.test(i)?null:{pattern:{requiredPattern:"^"+t+"$",actualValue:i}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(p.a);return 0==e.length?null:function(t){return a(o(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(p.a);return 0==e.length?null:function(t){var n=s(t,e).map(i);return Promise.all(n).then(a)}},t}()},function(t,e,n){var r=n(2),i=n(16),o=n(11);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";var r=n(486),i=(n(112),n(478));n(261),n(265);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return i.a})},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return n.i(a.a)(t.value)?c.c(t.value):t.identifierIsInstance?c.d(t.identifier).instantiate([],c.k(t.identifier,[],[c.m.Const])):c.d(t.identifier)}function i(t){if(0===t.length)return c.d(n.i(u.d)(u.b.EMPTY_INLINE_ARRAY));var e=Math.log(t.length)/Math.log(2),r=Math.ceil(e),i=r-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}()},function(t,e,n){"use strict";var r=n(203);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return i(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,n){"use strict";(function(t){function r(t){return null!=t}function i(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function o(){if(!u)if(s.Symbol&&Symbol.iterator)u=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;ew;w++)if((h||w in g)&&(m=g[w],y=b(m,w,v),t))if(n)x[w]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(l)return!1;return p?-1:c||l?l:x}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(20),i=n(75);t.exports=n(25)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(430),i=n(2),o=n(154)("metadata"),s=o.store||(o.store=new(n(765))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},p=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},f=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:u,get:c,set:l,keys:p,key:h,exp:f}},function(t,e,n){var r=n(29),i=n(41),o=n(246)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(251),s=n(67),a=n(68),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;return n>=r?void i.complete():(i.next(e[n]),void(i.closed||(t.index=n+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,r=this.array,i=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:n,count:i,subscriber:t});for(var s=0;s1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function c(t){return n.i(d.a)(t)?m.a.compose(t.map(g.a)):null}function l(t){return n.i(d.a)(t)?m.a.composeAsync(t.map(g.b)):null}function p(t,e){if(!t.hasOwnProperty("model"))return!1;var r=t.model;return!!r.isFirstChange()||!n.i(d.f)(e,r.currentValue)}function h(t){return E.some(function(e){return t.constructor===e})}function f(t,e){if(!e)return null;var n,r,i;return e.forEach(function(e){e.constructor===v.a?n=e:h(e)?(r&&u(t,"More than one built-in value accessor matches form control with"),r=e):(i&&u(t,"More than one custom value accessor matches form control with"),i=e)}),i?i:r?r:n?n:(u(t,"No valid value accessor for form control with"),null)}var d=n(33),m=n(44),y=n(131),v=n(132),g=n(549),b=n(206),_=n(97),w=n(135),x=n(136);e.a=r,e.d=i,e.h=o,e.e=s,e.b=c,e.c=l,e.g=p,e.f=f;var E=[y.a,b.a,w.a,x.a,_.a]},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return s}),n.d(e,"d",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r;!function(t){t[t.Get=0]="Get",t[t.Post=1]="Post",t[t.Put=2]="Put",t[t.Delete=3]="Delete",t[t.Options=4]="Options",t[t.Head=5]="Head",t[t.Patch=6]="Patch"}(r||(r={}));var i;!function(t){t[t.Unsent=0]="Unsent",t[t.Open=1]="Open",t[t.HeadersReceived=2]="HeadersReceived",t[t.Loading=3]="Loading",t[t.Done=4]="Done",t[t.Cancelled=5]="Cancelled"}(i||(i={}));var o;!function(t){t[t.Basic=0]="Basic",t[t.Cors=1]="Cors",t[t.Default=2]="Default",t[t.Error=3]="Error",t[t.Opaque=4]="Opaque"}(o||(o={}));var s;!function(t){t[t.NONE=0]="NONE",t[t.JSON=1]="JSON",t[t.FORM=2]="FORM",t[t.FORM_DATA=3]="FORM_DATA",t[t.TEXT=4]="TEXT",t[t.BLOB=5]="BLOB",t[t.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(s||(s={}));var a;!function(t){t[t.Text=0]="Text",t[t.Json=1]="Json",t[t.ArrayBuffer=2]="ArrayBuffer",t[t.Blob=3]="Blob"}(a||(a={}))},function(t,e,n){var r=n(107)("meta"),i=n(13),o=n(29),s=n(20).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(11)(function(){return u(Object.preventExtensions({}))}),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},p=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},f=function(t){return c&&d.NEED&&u(t)&&!o(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:h,onFreeze:f}},function(t,e,n){var r=n(152),i=n(75),o=n(40),s=n(76),a=n(29),u=n(411),c=Object.getOwnPropertyDescriptor;e.f=n(25)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){var e=t.subscriber;e.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;return n?n.schedule(e.dispatch,0,{subscriber:t}):void t.complete()},e}(i.Observable);e.EmptyObservable=o},function(t,e){"use strict";function n(t){return t&&"function"==typeof t.schedule}e.isScheduler=n},function(t,e,n){"use strict";function r(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(e==-1)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function i(t){return null===t?null:r(t)[0]}function o(t,e){return t?":"+t+":"+e:e}n.d(e,"a",function(){return s}),e.e=r,e.c=i,e.d=o,n.d(e,"b",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s;!function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"}(s||(s={}));var a={Aacute:"Á",aacute:"ÃĄ",Acirc:"Â",acirc:"Ãĸ",acute:"´",AElig:"Æ",aelig:"ÃĻ",Agrave:"À",agrave:"à",alefsym:"â„ĩ",Alpha:"Α",alpha:"Îą",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"ÃĨ",asymp:"≈",Atilde:"Ã",atilde:"ÃŖ",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"ÂĻ",bull:"â€ĸ",cap:"∊",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"Âĸ",Chi:"Χ",chi:"·",circ:"ˆ",clubs:"â™Ŗ",cong:"≅",copy:"Š",crarr:"â†ĩ",cup:"âˆĒ",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"â™Ļ",divide:"Ãˇ",Eacute:"É",eacute:"Ê",Ecirc:"Ê",ecirc:"ÃĒ",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"Îĩ",equiv:"≡",Eta:"Η",eta:"Ρ",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ÃĢ",euro:"â‚Ŧ",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"ÂŊ",frac14:"Âŧ",frac34:"ž",frasl:"⁄",Gamma:"Γ",gamma:"Îŗ",ge:"â‰Ĩ",gt:">",harr:"↔",hArr:"⇔",hearts:"â™Ĩ",hellip:"â€Ļ",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"ÃŽ",iexcl:"ÂĄ",Igrave:"Ì",igrave:"ÃŦ",image:"ℑ",infin:"∞",int:"âˆĢ",Iota:"Ι",iota:"Κ",iquest:"Âŋ",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"Îē",Lambda:"Λ",lambda:"Îģ",lang:"⟨",laquo:"ÂĢ",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"Âĩ",middot:"¡",minus:"−",Mu:"Μ",mu:"Îŧ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"ÂŦ",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"Ãą",Nu:"Ν",nu:"ÎŊ",Oacute:"Ó",oacute:"Ãŗ",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"Ã˛",oline:"‾",Omega:"Ί",omega:"Ή",Omicron:"Ο",omicron:"Îŋ",oplus:"⊕",or:"∨",ordf:"ÂĒ",ordm:"Âē",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"Ãĩ",otimes:"⊗",Ouml:"Ö",ouml:"Ãļ",para:"Âļ",permil:"‰",perp:"âŠĨ",Phi:"ÎĻ",phi:"Ά",Pi:"Π",pi:"Ī€",piv:"Ī–",plusmn:"Âą",pound:"ÂŖ",prime:"′",Prime:"â€ŗ",prod:"∏",prop:"∝",Psi:"Ψ",psi:"Έ",quot:'"',radic:"√",rang:"⟩",raquo:"Âģ",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"ÂŽ",rfloor:"⌋",Rho:"ÎĄ",rho:"΁",rlm:"‏",rsaquo:"â€ē",rsquo:"’",sbquo:"‚",Scaron:"Å ",scaron:"ÅĄ",sdot:"⋅",sect:"§",shy:"­",Sigma:"ÎŖ",sigma:"΃",sigmaf:"Ī‚",sim:"âˆŧ",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"š",sup2:"²",sup3:"Âŗ",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"Ī„",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"Ī‘",thinsp:" ",THORN:"Þ",thorn:"Þ",tilde:"˜",times:"×",trade:"â„ĸ",Uacute:"Ú",uacute:"Ãē",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"Ãģ",Ugrave:"Ù",ugrave:"Ú",uml:"¨",upsih:"Ī’",Upsilon:"ÎĨ",upsilon:"Ī…",Uuml:"Ü",uuml:"Ãŧ",weierp:"℘",Xi:"Ξ",xi:"Ξ",Yacute:"Ý",yacute:"ÃŊ",yen:"ÂĨ",yuml:"Ãŋ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"Îļ",zwj:"‍",zwnj:"‌"}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return t}()},function(t,e,n){"use strict";var r=n(551);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b})},function(t,e,n){"use strict";function r(){throw new Error("unimplemented")}var i=n(203);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){t.apply(this,arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}return o(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return r()},enumerable:!0,configurable:!0}),e}(i.a)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(13);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(){throw new Error("unimplemented")}var i=n(1),o=n(15);n.d(e,"a",function(){return s});var s=function(){function t(t){var e=void 0===t?{}:t,n=e.renderTypes,r=void 0===n?new a:n,o=e.defaultEncapsulation,s=void 0===o?i.ViewEncapsulation.Emulated:o,u=e.genDebugInfo,c=e.logBindingUpdate,l=e.useJit,p=void 0===l||l;this.renderTypes=r,this.defaultEncapsulation=s,this._genDebugInfo=u,this._logBindingUpdate=c,this.useJit=p}return Object.defineProperty(t.prototype,"genDebugInfo",{get:function(){return void 0===this._genDebugInfo?n.i(i.isDevMode)():this._genDebugInfo},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logBindingUpdate",{get:function(){return void 0===this._logBindingUpdate?n.i(i.isDevMode)():this._logBindingUpdate},enumerable:!0,configurable:!0}),t}(),a=(function(){function t(){}return Object.defineProperty(t.prototype,"renderer",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderText",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderElement",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderComment",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return r()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderEvent",{get:function(){return r()},enumerable:!0,configurable:!0}),t}(),function(){function t(){this.renderText=null,this.renderElement=null,this.renderComment=null,this.renderNode=null,this.renderEvent=null}return Object.defineProperty(t.prototype,"renderer",{get:function(){return n.i(o.d)(o.b.Renderer)},enumerable:!0,configurable:!0}),t}())},function(t,e,n){"use strict";function r(t,e){return t.length>0&&t[t.length-1]===e}var i=n(4),o=n(37),s=n(61),a=n(42),u=n(506),c=n(69);n.d(e,"a",function(){return h}),n.d(e,"b",function(){return f});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=function(t){function e(e,n,r){t.call(this,n,r),this.elementName=e}return l(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}(o.a),h=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}(),f=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=a.a);var i=u.a(t,e,this.getTagDefinition,n,r),o=new d(i.tokens,this.getTagDefinition).build();return new h(o.rootNodes,i.errors.concat(o.errors))},t}(),d=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==u.b.EOF;)this._peek.type===u.b.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===u.b.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===u.b.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===u.b.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===u.b.TEXT||this._peek.type===u.b.RAW_TEXT||this._peek.type===u.b.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===u.b.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new h(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index0)return this._errors=this._errors.concat(a.errors),null;var c=new o.d(e.sourceSpan.start,i.sourceSpan.end),l=new o.d(n.sourceSpan.start,i.sourceSpan.end);return new s.c(e.parts[0],a.rootNodes,c,e.sourceSpan,l)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[u.b.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==u.b.EXPANSION_FORM_START&&this._peek.type!==u.b.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===u.b.EXPANSION_CASE_EXP_END){if(!r(n,u.b.EXPANSION_CASE_EXP_START))return this._errors.push(p.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===u.b.EXPANSION_FORM_END){if(!r(n,u.b.EXPANSION_FORM_START))return this._errors.push(p.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===u.b.EOF)return this._errors.push(p.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var r=this._getParentElement();n.i(i.a)(r)&&0==r.children.length&&this.getTagDefinition(r.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new s.d(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){if(this._elementStack.length>0){var t=this._elementStack[this._elementStack.length-1];this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()}},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],r=t.parts[1],i=[];this._peek.type===u.b.ATTR_NAME;)i.push(this._consumeAttr(this._advance()));var a=this._getElementFullName(e,r,this._getParentElement()),l=!1;if(this._peek.type===u.b.TAG_OPEN_END_VOID){this._advance(),l=!0;var h=this.getTagDefinition(a);h.canSelfClose||null!==n.i(c.c)(a)||h.isVoid||this._errors.push(p.create(a,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===u.b.TAG_OPEN_END&&(this._advance(),l=!1);var f=this._peek.sourceSpan.start,d=new o.d(t.sourceSpan.start,f),m=new s.e(a,i,[],d,d,null);this._pushElement(m),l&&(this._popElement(a),m.endSourceSpan=d)},t.prototype._pushElement=function(t){if(this._elementStack.length>0){var e=this._elementStack[this._elementStack.length-1];this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop()}var r=this.getTagDefinition(t.name),o=this._getParentElementSkippingContainers(),a=o.parent,u=o.container;if(n.i(i.a)(a)&&r.requireExtraParent(a.name)){var c=new s.e(r.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(a,u,c)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid?this._errors.push(p.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"')):this._popElement(e)||this._errors.push(p.create(e,t.sourceSpan,'Unexpected closing tag "'+t.parts[1]+'"'))},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e,r=n.i(c.d)(t.parts[0],t.parts[1]),i=t.sourceSpan.end,a="";if(this._peek.type===u.b.ATTR_VALUE){var l=this._advance();a=l.parts[0],i=l.sourceSpan.end,e=l.sourceSpan}return new s.f(r,a,new o.d(t.sourceSpan.start,i),e)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if("ng-container"!==this._elementStack[e].name)return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:this._elementStack[this._elementStack.length-1],container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();n.i(i.a)(e)?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,r){return n.i(i.e)(t)&&(t=this.getTagDefinition(e).implicitNamespacePrefix,n.i(i.e)(t)&&n.i(i.a)(r)&&(t=n.i(c.c)(r.name))),n.i(c.d)(t,e)},t}()},function(t,e,n){"use strict";function r(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function i(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+n.i(l.b)(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var i=t,o=i.length-1,s=t[o];if("function"!=typeof s)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+n.i(l.b)(s)+"'");if(o!=s.length)throw new Error("Number of annotations ("+o+") does not match number of arguments ("+s.length+") in the function: "+n.i(l.b)(s));for(var a=[],u=0,c=i.length-1;u";for(e.style.display="none",n(410).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),c=t.F;r--;)delete c[u][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(422),i=n(233);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){(function(t){!function(e,n){t.exports=n()}(this,function(){"use strict";function e(){return yr.apply(null,arguments)}function n(t){yr=t}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){var e;for(e in t)return!1;return!0}function s(t){return"number"==typeof value||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n0)for(n in br)r=br[n],i=e[r],y(i)||(t[r]=i);return t}function g(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),_r===!1&&(_r=!0,e.updateOffset(this),_r=!1)}function b(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function x(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)}function D(t,e){var n=t.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[e]=t}function F(t){return"string"==typeof t?Ir[t]||Ir[t.toLowerCase()]:void 0}function V(t){var e,n,r={};for(n in t)c(t,n)&&(e=F(n),e&&(r[e]=t[n]));return r}function L(t,e){Mr[t]=e}function H(t){var e=[];for(var n in t)e.push({unit:n,priority:Mr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,n){return function(r){return null!=r?(z(this,t,r),e.updateOffset(this,n),this):B(this,t)}}function B(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function z(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function q(t){return t=F(t),O(this[t])?this[t]():this}function W(t,e){if("object"==typeof t){t=V(t);for(var n=H(t),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Dr[t]=i),e&&(Dr[e[0]]=function(){return G(i.apply(this,arguments),e[1],e[2])}),n&&(Dr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function X(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function K(t){var e,n,r=t.match(Rr);for(e=0,n=r.length;e=0&&jr.test(t);)t=t.replace(jr,n),jr.lastIndex=0,r-=1;return t}function Q(t,e,n){ti[t]=O(e)?e:function(t,r){return t&&n?n:e}}function J(t,e){return c(ti,t)?ti[t](e._strict,e._locale):new RegExp(tt(t))}function tt(t){return et(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function et(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),s(e)&&(r=function(t,n){n[e]=w(t)}),n=0;n=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function _t(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function wt(t,e,n){var r=7+e-n,i=(7+_t(t,0,r).getUTCDay()-e)%7;return-i+r-1}function xt(t,e,n,r,i){var o,s,a=(7+n-r)%7,u=wt(t,r,i),c=1+7*(e-1)+a+u;return c<=0?(o=t-1,s=yt(o)+c):c>yt(t)?(o=t+1,s=c-yt(t)):(o=t,s=c),{year:o,dayOfYear:s}}function Et(t,e,n){var r,i,o=wt(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?(i=t.year()-1,r=s+St(i,e,n)):s>St(t.year(),e,n)?(r=s-St(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function St(t,e,n){var r=wt(t,e,n),i=wt(t+1,e,n);return(yt(t)-r+i)/7}function Ct(t){return Et(t,this._week.dow,this._week.doy).week}function Ot(){return this._week.dow}function kt(){return this._week.doy}function Pt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Tt(t){var e=Et(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function At(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function It(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Mt(t,e){return t?r(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:this._weekdays}function Rt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function jt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=pi.call(this._weekdaysParse,s),i!==-1?i:null):"ddd"===e?(i=pi.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=pi.call(this._minWeekdaysParse,s),i!==-1?i:null):"dddd"===e?(i=pi.call(this._weekdaysParse,s),i!==-1?i:(i=pi.call(this._shortWeekdaysParse,s),i!==-1?i:(i=pi.call(this._minWeekdaysParse,s),i!==-1?i:null))):"ddd"===e?(i=pi.call(this._shortWeekdaysParse,s),i!==-1?i:(i=pi.call(this._weekdaysParse,s),i!==-1?i:(i=pi.call(this._minWeekdaysParse,s),i!==-1?i:null))):(i=pi.call(this._minWeekdaysParse,s),i!==-1?i:(i=pi.call(this._weekdaysParse,s),i!==-1?i:(i=pi.call(this._shortWeekdaysParse,s),i!==-1?i:null)))}function Dt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=At(t,this.localeData()),this.add(t-e,"d")):e}function Vt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Lt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=It(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=xi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ut(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ei),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Si),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(r),a.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(s.sort(t),a.sort(t),u.sort(t),c.sort(t),e=0;e<7;e++)a[e]=et(a[e]),u[e]=et(u[e]),c[e]=et(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function qt(){return this.hours()%12||12}function Wt(){return this.hours()||24}function Gt(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Yt(t,e){return e._meridiemParse}function Xt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Kt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function $t(t){for(var e,n,r,i,o=0;o0;){if(r=Qt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&x(i,n,!0)>=e-1)break;e--}o++}return null}function Qt(e){var n=null;if(!Ti[e]&&"undefined"!=typeof t&&t&&t.exports)try{n=Ci._abbr,!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Jt(n)}catch(t){}return Ti[e]}function Jt(t,e){var n;return t&&(n=y(e)?ne(t):te(t,e),n&&(Ci=n)),Ci._abbr}function te(t,e){if(null!==e){var n=Pi;if(e.abbr=t,null!=Ti[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ti[t]._config;else if(null!=e.parentLocale){if(null==Ti[e.parentLocale])return Ai[e.parentLocale]||(Ai[e.parentLocale]=[]),Ai[e.parentLocale].push({name:t,config:e}),null;n=Ti[e.parentLocale]._config}return Ti[t]=new T(P(n,e)),Ai[t]&&Ai[t].forEach(function(t){te(t.name,t.config)}),Jt(t),Ti[t]}return delete Ti[t],null}function ee(t,e){if(null!=e){var n,r=Pi;null!=Ti[t]&&(r=Ti[t]._config),e=P(r,e),n=new T(e),n.parentLocale=Ti[t],Ti[t]=n,Jt(t)}else null!=Ti[t]&&(null!=Ti[t].parentLocale?Ti[t]=Ti[t].parentLocale:null!=Ti[t]&&delete Ti[t]);return Ti[t]}function ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ci;if(!r(t)){if(e=Qt(t))return e;t=[t]}return $t(t)}function re(){return Sr(Ti)}function ie(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[ri]<0||n[ri]>11?ri:n[ii]<1||n[ii]>ot(n[ni],n[ri])?ii:n[oi]<0||n[oi]>24||24===n[oi]&&(0!==n[si]||0!==n[ai]||0!==n[ui])?oi:n[si]<0||n[si]>59?si:n[ai]<0||n[ai]>59?ai:n[ui]<0||n[ui]>999?ui:-1,f(t)._overflowDayOfYear&&(eii)&&(e=ii),f(t)._overflowWeeks&&e===-1&&(e=ci),f(t)._overflowWeekday&&e===-1&&(e=li),f(t).overflow=e),t}function oe(t){var e,n,r,i,o,s,a=t._i,u=Ii.exec(a)||Mi.exec(a);if(u){for(f(t).iso=!0,e=0,n=ji.length;eyt(i)&&(f(t)._overflowDayOfYear=!0),n=_t(i,0,t._dayOfYear),t._a[ri]=n.getUTCMonth(),t._a[ii]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[oi]&&0===t._a[si]&&0===t._a[ai]&&0===t._a[ui]&&(t._nextDay=!0,t._a[oi]=0),t._d=(t._useUTC?_t:bt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[oi]=24)}}function le(t){var e,n,r,i,o,s,a,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,s=4,n=ae(e.GG,t._a[ni],Et(be(),1,4).year),r=ae(e.W,1),i=ae(e.E,1),(i<1||i>7)&&(u=!0);else{o=t._locale._week.dow,s=t._locale._week.doy;var c=Et(be(),o,s);n=ae(e.gg,t._a[ni],c.year),r=ae(e.w,c.week),null!=e.d?(i=e.d,(i<0||i>6)&&(u=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,s)?f(t)._overflowWeeks=!0:null!=u?f(t)._overflowWeekday=!0:(a=xt(n,r,i,o,s),t._a[ni]=a.year,t._dayOfYear=a.dayOfYear)}function pe(t){if(t._f===e.ISO_8601)return void oe(t);t._a=[],f(t).empty=!0;var n,r,i,o,s,a=""+t._i,u=a.length,c=0;for(i=$(t._f,t._locale).match(Rr)||[],n=0;n0&&f(t).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),c+=r.length),Dr[o]?(r?f(t).empty=!1:f(t).unusedTokens.push(o),it(o,r,t)):t._strict&&!r&&f(t).unusedTokens.push(o);f(t).charsLeftOver=u-c,a.length>0&&f(t).unusedInput.push(a),t._a[oi]<=12&&f(t).bigHour===!0&&t._a[oi]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[oi]=he(t._locale,t._a[oi],t._meridiem),ce(t),ie(t)}function he(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function fe(t){var e,n,r,i,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Fe(){if(!y(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),t=ye(t),t._a){var e=t._isUTC?p(t._a):be(t._a);this._isDSTShifted=this.isValid()&&x(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ve(){return!!this.isValid()&&!this._isUTC}function Le(){return!!this.isValid()&&this._isUTC}function He(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ue(t,e){var n,r,i,o=t,a=null;return Se(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(o={},e?o[e]=t:o.milliseconds=t):(a=Ui.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ii])*n,h:w(a[oi])*n,m:w(a[si])*n,s:w(a[ai])*n,ms:w(Ce(1e3*a[ui]))*n}):(a=Bi.exec(t))?(n="-"===a[1]?-1:1,o={y:Be(a[2],n),M:Be(a[3],n),w:Be(a[4],n),d:Be(a[5],n),h:Be(a[6],n),m:Be(a[7],n),s:Be(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qe(be(o.from),be(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ee(o),Se(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function Be(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function ze(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function qe(t,e){var n;return t.isValid()&&e.isValid()?(e=Pe(e,t),t.isBefore(e)?n=ze(t,e):(n=ze(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function We(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ue(n,r),Ge(this,i,t),this}}function Ge(t,n,r,i){var o=n._milliseconds,s=Ce(n._days),a=Ce(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),s&&z(t,"Date",B(t,"Date")+s*r),a&<(t,B(t,"Month")+a*r),i&&e.updateOffset(t,s||a))}function Ye(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Xe(t,n){var r=t||be(),i=Pe(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",s=n&&(O(n[o])?n[o].call(this,r):n[o]);return this.format(s||this.localeData().calendar(o,this,be(r)))}function Ke(){return new g(this)}function Ze(t,e){var n=b(t)?t:be(t);return!(!this.isValid()||!n.isValid())&&(e=F(y(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()o&&(e=o),Rn.call(this,t,e,n,r,i))}function Rn(t,e,n,r,i){var o=xt(t,e,n,r,i),s=_t(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function jn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Nn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Dn(t,e){e[ui]=w(1e3*("0."+t))}function Fn(){return this._isUTC?"UTC":""}function Vn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(t){return be(1e3*t)}function Hn(){return be.apply(null,arguments).parseZone()}function Un(t){return t}function Bn(t,e,n,r){var i=ne(),o=p().set(r,e);return i[n](o,t)}function zn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return Bn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Bn(t,r,n,"month");return i}function qn(t,e,n,r){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var i=ne(),o=t?i._week.dow:0;if(null!=n)return Bn(e,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Bn(e,(a+o)%7,r,"day");return u}function Wn(t,e){return zn(t,e,"months")}function Gn(t,e){return zn(t,e,"monthsShort")}function Yn(t,e,n){return qn(t,e,n,"weekdays")}function Xn(t,e,n){return qn(t,e,n,"weekdaysShort")}function Kn(t,e,n){return qn(t,e,n,"weekdaysMin")}function Zn(){var t=this._data;return this._milliseconds=Ji(this._milliseconds),this._days=Ji(this._days),this._months=Ji(this._months),t.milliseconds=Ji(t.milliseconds),t.seconds=Ji(t.seconds),t.minutes=Ji(t.minutes),t.hours=Ji(t.hours),t.months=Ji(t.months),t.years=Ji(t.years),this}function $n(t,e,n,r){var i=Ue(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Qn(t,e){return $n(this,t,e,1)}function Jn(t,e){return $n(this,t,e,-1)}function tr(t){return t<0?Math.floor(t):Math.ceil(t)}function er(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*tr(rr(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=_(o/1e3),u.seconds=t%60,e=_(t/60),u.minutes=e%60,n=_(e/60),u.hours=n%24,s+=_(n/24),i=_(nr(s)),a+=i,s-=tr(rr(i)),r=_(a/12),a%=12,u.days=s,u.months=a,u.years=r,this}function nr(t){return 4800*t/146097}function rr(t){return 146097*t/4800}function ir(t){var e,n,r=this._milliseconds;if(t=F(t),"month"===t||"year"===t)return e=this._days+r/864e5,n=this._months+nr(e),"month"===t?n:n/12;switch(e=this._days+Math.round(rr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function sr(t){return function(){return this.as(t)}}function ar(t){return t=F(t),this[t+"s"]()}function ur(t){return function(){return this._data[t]}}function cr(){return _(this.days()/7)}function lr(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function pr(t,e,n){var r=Ue(t).abs(),i=yo(r.as("s")),o=yo(r.as("m")),s=yo(r.as("h")),a=yo(r.as("d")),u=yo(r.as("M")),c=yo(r.as("y")),l=i0,l[4]=n,lr.apply(null,l)}function hr(t){return void 0===t?yo:"function"==typeof t&&(yo=t,!0)}function fr(t,e){return void 0!==vo[t]&&(void 0===e?vo[t]:(vo[t]=e,!0))}function dr(t){var e=this.localeData(),n=pr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function mr(){var t,e,n,r=go(this._milliseconds)/1e3,i=go(this._days),o=go(this._months);t=_(r/60),e=_(t/60),r%=60,t%=60,n=_(o/12),o%=12;var s=n,a=o,u=i,c=e,l=t,p=r,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(u?u+"D":"")+(c||l||p?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(p?p+"S":""):"P0D"}var yr,vr;vr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r68?1900:2e3)};var vi=U("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),L("week",5),L("isoWeek",5),Q("w",Br),Q("ww",Br,Vr),Q("W",Br),Q("WW",Br,Vr),rt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=w(t)});var gi={dow:0,doy:6};Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),Q("d",Br),Q("e",Br),Q("E",Br),Q("dd",function(t,e){return e.weekdaysMinRegex(t)}),Q("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Q("dddd",function(t,e){return e.weekdaysRegex(t)}),rt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:f(n).invalidWeekday=t}),rt(["d","e","E"],function(t,e,n,r){e[r]=w(t)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_i="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Jr,Ei=Jr,Si=Jr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,qt),Y("k",["kk",2],0,Wt),Y("hmm",0,0,function(){return""+qt.apply(this)+G(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+qt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Gt("a",!0),Gt("A",!1),D("hour","h"),L("hour",13),Q("a",Yt),Q("A",Yt),Q("H",Br),Q("h",Br),Q("HH",Br,Vr),Q("hh",Br,Vr),Q("hmm",zr),Q("hmmss",qr),Q("Hmm",zr),Q("Hmmss",qr),nt(["H","HH"],oi),nt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),nt(["h","hh"],function(t,e,n){e[oi]=w(t),f(n).bigHour=!0}),nt("hmm",function(t,e,n){var r=t.length-2;e[oi]=w(t.substr(0,r)),e[si]=w(t.substr(r)),f(n).bigHour=!0}),nt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[oi]=w(t.substr(0,r)),e[si]=w(t.substr(r,2)),e[ai]=w(t.substr(i)),f(n).bigHour=!0}),nt("Hmm",function(t,e,n){var r=t.length-2;e[oi]=w(t.substr(0,r)),e[si]=w(t.substr(r))}),nt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[oi]=w(t.substr(0,r)),e[si]=w(t.substr(r,2)),e[ai]=w(t.substr(i))});var Ci,Oi=/[ap]\.?m?\.?/i,ki=U("Hours",!0),Pi={calendar:Cr,longDateFormat:Or,invalidDate:kr,ordinal:Pr,ordinalParse:Tr,relativeTime:Ar,months:fi,monthsShort:di,week:gi,weekdays:bi,weekdaysMin:wi,weekdaysShort:_i,meridiemParse:Oi},Ti={},Ai={},Ii=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/Z|[+-]\d\d(?::?\d\d)?/,ji=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ni=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Di=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Fi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=be.apply(null,arguments);return this.isValid()&&t.isValid()?tthis?this:t:m()}),Li=function(){return Date.now?Date.now():+new Date};Oe("Z",":"),Oe("ZZ",""),Q("Z",$r),Q("ZZ",$r),nt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ke($r,t)});var Hi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ui=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ue.fn=Ee.prototype;var zi=We(1,"add"),qi=We(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),kn("gggg","weekYear"),kn("ggggg","weekYear"),kn("GGGG","isoWeekYear"),kn("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),Q("G",Kr),Q("g",Kr),Q("GG",Br,Vr),Q("gg",Br,Vr),Q("GGGG",Gr,Hr),Q("gggg",Gr,Hr),Q("GGGGG",Yr,Ur),Q("ggggg",Yr,Ur),rt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=w(t)}),rt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),D("quarter","Q"),L("quarter",7),Q("Q",Fr),nt("Q",function(t,e){e[ri]=3*(w(t)-1)}),Y("D",["DD",2],"Do","date"),D("date","D"),L("date",9),Q("D",Br),Q("DD",Br,Vr),Q("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),nt(["D","DD"],ii),nt("Do",function(t,e){e[ii]=w(t.match(Br)[0],10)});var Gi=U("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),L("dayOfYear",4),Q("DDD",Wr),Q("DDDD",Lr),nt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=w(t)}),Y("m",["mm",2],0,"minute"),D("minute","m"),L("minute",14),Q("m",Br),Q("mm",Br,Vr),nt(["m","mm"],si);var Yi=U("Minutes",!1);Y("s",["ss",2],0,"second"),D("second","s"),L("second",15),Q("s",Br),Q("ss",Br,Vr),nt(["s","ss"],ai);var Xi=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),L("millisecond",16),Q("S",Wr,Fr),Q("SS",Wr,Vr),Q("SSS",Wr,Lr);var Ki;for(Ki="SSSS";Ki.length<=9;Ki+="S")Q(Ki,Xr);for(Ki="S";Ki.length<=9;Ki+="S")nt(Ki,Dn);var Zi=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var $i=g.prototype;$i.add=zi,$i.calendar=Xe,$i.clone=Ke,$i.diff=nn,$i.endOf=yn,$i.format=un,$i.from=cn,$i.fromNow=ln,$i.to=pn,$i.toNow=hn,$i.get=q,$i.invalidAt=Cn,$i.isAfter=Ze,$i.isBefore=$e,$i.isBetween=Qe,$i.isSame=Je,$i.isSameOrAfter=tn,$i.isSameOrBefore=en,$i.isValid=En,$i.lang=Wi,$i.locale=fn,$i.localeData=dn,$i.max=Vi,$i.min=Fi,$i.parsingFlags=Sn,$i.set=W,$i.startOf=mn,$i.subtract=qi,$i.toArray=_n,$i.toObject=wn,$i.toDate=bn,$i.toISOString=sn,$i.inspect=an,$i.toJSON=xn,$i.toString=on,$i.unix=gn,$i.valueOf=vn,$i.creationData=On,$i.year=vi,$i.isLeapYear=gt,$i.weekYear=Pn,$i.isoWeekYear=Tn,$i.quarter=$i.quarters=jn,$i.month=pt,$i.daysInMonth=ht,$i.week=$i.weeks=Pt,$i.isoWeek=$i.isoWeeks=Tt,$i.weeksInYear=In,$i.isoWeeksInYear=An,$i.date=Gi,$i.day=$i.days=Ft,$i.weekday=Vt,$i.isoWeekday=Lt,$i.dayOfYear=Nn,$i.hour=$i.hours=ki,$i.minute=$i.minutes=Yi,$i.second=$i.seconds=Xi,$i.millisecond=$i.milliseconds=Zi,$i.utcOffset=Ae,$i.utc=Me,$i.local=Re,$i.parseZone=je,$i.hasAlignedHourOffset=Ne,$i.isDST=De,$i.isLocal=Ve,$i.isUtcOffset=Le,$i.isUtc=He,$i.isUTC=He,$i.zoneAbbr=Fn,$i.zoneName=Vn,$i.dates=S("dates accessor is deprecated. Use date instead.",Gi),$i.months=S("months accessor is deprecated. Use month instead",pt),$i.years=S("years accessor is deprecated. Use year instead",vi),$i.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ie),$i.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Fe);var Qi=T.prototype;Qi.calendar=A,Qi.longDateFormat=I,Qi.invalidDate=M,Qi.ordinal=R,Qi.preparse=Un,Qi.postformat=Un,Qi.relativeTime=j,Qi.pastFuture=N,Qi.set=k,Qi.months=st,Qi.monthsShort=at,Qi.monthsParse=ct,Qi.monthsRegex=dt,Qi.monthsShortRegex=ft,Qi.week=Ct,Qi.firstDayOfYear=kt,Qi.firstDayOfWeek=Ot,Qi.weekdays=Mt,Qi.weekdaysMin=jt,Qi.weekdaysShort=Rt,Qi.weekdaysParse=Dt,Qi.weekdaysRegex=Ht,Qi.weekdaysShortRegex=Ut,Qi.weekdaysMinRegex=Bt,Qi.isPM=Xt,Qi.meridiem=Kt,Jt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",Jt),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ne);var Ji=Math.abs,to=sr("ms"),eo=sr("s"),no=sr("m"),ro=sr("h"),io=sr("d"),oo=sr("w"),so=sr("M"),ao=sr("y"),uo=ur("milliseconds"),co=ur("seconds"),lo=ur("minutes"),po=ur("hours"),ho=ur("days"),fo=ur("months"),mo=ur("years"),yo=Math.round,vo={s:45,m:45,h:22,d:26,M:11},go=Math.abs,bo=Ee.prototype;return bo.abs=Zn,bo.add=Qn,bo.subtract=Jn,bo.as=ir,bo.asMilliseconds=to,bo.asSeconds=eo,bo.asMinutes=no,bo.asHours=ro,bo.asDays=io,bo.asWeeks=oo,bo.asMonths=so,bo.asYears=ao,bo.valueOf=or,bo._bubble=er,bo.get=ar,bo.milliseconds=uo,bo.seconds=co,bo.minutes=lo,bo.hours=po,bo.days=ho,bo.weeks=cr,bo.months=fo,bo.years=mo,bo.humanize=dr,bo.toISOString=mr,bo.toString=mr,bo.toJSON=mr,bo.locale=fn,bo.localeData=dn,bo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),bo.lang=Wi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Kr),Q("X",Qr),nt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),nt("x",function(t,e,n){n._d=new Date(w(t))}),e.version="2.16.0",n(be),e.fn=$i,e.min=we,e.max=xe,e.now=Li,e.utc=p,e.unix=Ln,e.months=Wn,e.isDate=a,e.locale=Jt,e.invalid=m,e.duration=Ue,e.isMoment=b,e.weekdays=Yn,e.parseZone=Hn,e.localeData=ne,e.isDuration=Se,e.monthsShort=Gn,e.weekdaysMin=Kn,e.defineLocale=te,e.updateLocale=ee,e.locales=re,e.weekdaysShort=Xn,e.normalizeUnits=F,e.relativeTimeRounding=hr,e.relativeTimeThreshold=fr,e.calendarFormat=Ye,e.prototype=$i,e})}).call(e,n(1050)(t))},function(t,e,n){"use strict";function r(t,e){var n;return n="function"==typeof t?t:function(){return t},e?new i.MulticastObservable(this,n,e):new o.ConnectableObservable(this,n)}var i=n(450),o=n(250);e.multicast=r},function(t,e,n){"use strict";function r(t,e,n,r,i){var o=m(i),s=[];e||(e=new T);var u=new P(t,e,n,S,i,!1),c=r.visit(u,E.Expression);if(!c)return null;if(u.temporaryCount)for(var l=0;l=0){var l=s[a],p=v(l);p&&(c=y(i),s[a]=c.set(p.cast(w.l).notIdentical(w.c(!1))).toDeclStmt(null,[w.p.Final]))}return new k(s,c)}function o(t){var e=[],r=w.q(t);return r.has(S.name)&&e.push(S.set(w.d(n.i(_.d)(_.b.ValueUnwrapper)).instantiate([])).toDeclStmt(null,[w.p.Final])),e}function s(t,e){return"tmp_"+t+"_"+e}function a(t,e){return new w.r(s(t,e),w.f)}function u(t,e,n){for(var r=t-1;r>=0;r--)n.unshift(a(e,r))}function c(t,e){if(t!==E.Statement)throw new Error("Expected a statement, but saw "+e)}function l(t,e){if(t!==E.Expression)throw new Error("Expected an expression, but saw "+e)}function p(t,e){return t===E.Statement?e.toStmt():e}function h(t,e){Array.isArray(t)?t.forEach(function(t){return h(t,e)}):e.push(t)}function f(t,e){if(0===e.length)return w.d(n.i(_.d)(_.b.EMPTY_ARRAY));for(var r=w.o.prop("_arr_"+t.fields.length),i=[],o=[],s=0;s":n=w.s.Bigger;break;case"<=":n=w.s.LowerEquals;break;case">=":n=w.s.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return p(e,new w.t(n,this.visit(t.left,E.Expression),this.visit(t.right,E.Expression)))},t.prototype.visitChain=function(t,e){return c(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){var n=this.visit(t.condition,E.Expression);return p(e,n.conditional(this.visit(t.trueExp,E.Expression),this.visit(t.falseExp,E.Expression)))},t.prototype.visitPipe=function(t,e){var n=this.visit(t.exp,E.Expression),r=this.visitAll(t.args,E.Expression),i=this._nameResolver.callPipe(t.name,n,r);if(!i)throw new Error("Illegal state: Pipe "+t.name+" is not allowed here!");return this.needsValueUnwrapper=!0,p(e,this._valueUnwrapper.callMethod("unwrap",[i]))},t.prototype.visitFunctionCall=function(t,e){return p(e,this.visit(t.target,E.Expression).callFn(this.visitAll(t.args,E.Expression)))},t.prototype.visitImplicitReceiver=function(t,e){return l(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){l(e,t);for(var r=[w.c(t.expressions.length)],i=0;i0&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new u.a(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new u.b(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,r){var i=this._parseQuote(t,e);if(n.i(s.a)(i))return i;this._checkNoInterpolation(t,e,r);var o=this._stripComments(t),a=this._lexer.tokenize(o);return new f(t,e,a,o.length,!1,this.errors,t.length-o.length).parseChain()},t.prototype._parseQuote=function(t,e){if(n.i(s.e)(t))return null;var r=t.indexOf(":");if(r==-1)return null;var i=t.substring(0,r).trim();if(!n.i(c.a)(i))return null;var o=t.substring(r+1);return new u.c(new u.d(0,t.length),i,o,e)},t.prototype.parseTemplateBindings=function(t,e){var n=this._lexer.tokenize(t);return new f(t,e,n,t.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,r){void 0===r&&(r=a.a);var i=this.splitInterpolation(t,e,r);if(null==i)return null;for(var o=[],c=0;c0?(p+=n.start.length,u.push(f),c.push(p),p+=f.length+n.end.length):this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(o,h,n)+" in",e)}return new l(s,u,c)},t.prototype.wrapLiteralPrimitive=function(t,e){return new u.a(new u.f(new u.d(0,n.i(s.e)(t)?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return n.i(s.a)(e)?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,r=0;r1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(o,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;i":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new u.k(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==c.e.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new u.k(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==c.e.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new u.k(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==c.e.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new u.k(this.span(t),e,new u.f(new u.d(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new u.l(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(o.d))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(o.i)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(o.j),this.optionalOperator("=")){var n=this.parseConditional();t=new u.m(this.span(t.span.start),t,e,n)}else t=new u.n(this.span(t.span.start),t,e)}else{if(!this.optionalCharacter(o.e))return t;this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(o.f),t=new u.o(this.span(t.span.start),t,r)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(o.e)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(o.f),e}if(this.next.isKeywordNull())return this.advance(),new u.f(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new u.f(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new u.f(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new u.f(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new u.p(this.span(t));if(this.optionalCharacter(o.i)){this.rbracketsExpected++;var n=this.parseExpressionList(o.j);return this.rbracketsExpected--,this.expectCharacter(o.j),new u.q(this.span(t),n)}if(this.next.isCharacter(o.g))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new u.p(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new u.f(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new u.f(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new u.g(this.span(t))):(this.error("Unexpected token "+this.next),new u.g(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do e.push(this.parsePipe());while(this.optionalCharacter(o.k));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(o.g),!this.optionalCharacter(o.h)){this.rbracesExpected++;do{var r=this.expectIdentifierOrKeywordOrString();t.push(r),this.expectCharacter(o.l),e.push(this.parsePipe())}while(this.optionalCharacter(o.k));this.rbracesExpected--,this.expectCharacter(o.h)}return new u.r(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(o.e)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(o.f),this.rparensExpected--;var s=this.span(n);return e?new u.s(s,t,r,i):new u.t(s,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new u.g(this.span(n))):new u.u(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new u.g(this.span(n));var a=this.parseConditional();return new u.v(this.span(n),t,r,a)}return new u.w(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(o.f))return[];var t=[];do t.push(this.parsePipe());while(this.optionalCharacter(o.k));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do t+=this.expectIdentifierOrKeywordOrString(),e=this.optionalOperator("-"),e&&(t+="-");while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function a(t){var e=t[p.Path];return e=n.i(l.e)(e)?"":s(e),t[p.Path]=e,i(t[p.Scheme],t[p.UserInfo],t[p.Domain],t[p.Port],e,t[p.QueryData],t[p.Fragment])}function u(t,e){var r=o(encodeURI(e)),i=o(t);if(n.i(l.a)(r[p.Scheme]))return a(r);r[p.Scheme]=i[p.Scheme];for(var s=p.Scheme;s<=p.Port;s++)n.i(l.e)(r[s])&&(r[s]=i[s]);if("/"==r[p.Path][0])return a(r);var u=i[p.Path];n.i(l.e)(u)&&(u="/");var c=u.lastIndexOf("/");return u=u.substring(0,c+1)+r[p.Path],r[p.Path]=u,a(r)}var c=n(1),l=n(4);n.d(e,"c",function(){return f}),n.d(e,"a",function(){return d}),e.b=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p,h="asset:",f={provide:c.PACKAGE_ROOT_URL,useValue:"/"},d=function(){function t(t){void 0===t&&(t=null),this._packagePrefix=t}return t.prototype.resolve=function(t,e){var r=e;n.i(l.a)(t)&&t.length>0&&(r=u(t,r));var i=o(r),s=this._packagePrefix;if(n.i(l.a)(s)&&n.i(l.a)(i)&&"package"==i[p.Scheme]){var a=i[p.Path];if(this._packagePrefix!==h)return s=s.replace(/\/+$/,""),a=a.replace(/^\/+/,""),s+"/"+a;var c=a.split(/\//);r="asset:"+c[0]+"/lib/"+c.slice(1).join("/")}return r},t.decorators=[{type:c.Injectable}],t.ctorParameters=[{type:void 0,decorators:[{type:c.Inject,args:[c.PACKAGE_ROOT_URL]}]}],t}(),m=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");!function(t){t[t.Scheme=1]="Scheme",t[t.UserInfo=2]="UserInfo",t[t.Domain=3]="Domain",t[t.Port=4]="Port",t[t.Path=5]="Path",t[t.QueryData=6]="QueryData",t[t.Fragment=7]="Fragment"}(p||(p={}))},function(t,e,n){"use strict";var r=n(48),i=n(15),o=n(10);n.d(e,"e",function(){return s}),n.d(e,"g",function(){return a}),n.d(e,"f",function(){return u}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return p}),n.d(e,"c",function(){return h});var s=function(){function t(){}return t.fromValue=function(t){return n.i(r.b)(i.b.ViewType,t)},t}(),a=function(){function t(){}return t.fromValue=function(t){return n.i(r.b)(i.b.ViewEncapsulation,t)},t}(),u=(function(){function t(){}return t.fromValue=function(t){return n.i(r.b)(i.b.ChangeDetectionStrategy,t)},t}(),function(){function t(){}return t.fromValue=function(t){return n.i(r.b)(i.b.ChangeDetectorStatus,t)},t}()),c=function(){function t(){}return t.viewUtils=o.a("viewUtils"),t.parentInjector=o.a("parentInjector"),t.declarationEl=o.a("declarationEl"),t}(),l=function(){function t(){}return t.renderer=o.o.prop("renderer"),t.projectableNodes=o.o.prop("projectableNodes"),t.viewUtils=o.o.prop("viewUtils"),t}(),p=function(){function t(){}return t.token=o.a("token"),t.requestNodeIndex=o.a("requestNodeIndex"),t.notFoundResult=o.a("notFoundResult"),t}(),h=function(){function t(){}return t.throwOnChange=o.a("throwOnChange"),t.changes=o.a("changes"),t.changed=o.a("changed"),t}()},function(t,e,n){"use strict";function r(t,e,r){if(e===r)return t;for(var i=c.o,o=e;o!==r&&n.i(u.a)(o.declarationElement.view);)o=o.declarationElement.view,i=i.prop("parent");if(o!==r)throw new Error("Internal error: Could not calculate a property in a parent view: "+t);return t.visitExpression(new p(i,r),null)}function i(t,e){var r=[n.i(a.c)(t)];return e&&r.push(c.f),c.o.prop("parentInjector").callMethod("get",r)}function o(t,e){return"viewFactory_"+t.type.name+e}function s(t){for(var e=[],n=c.e([]),r=0;r0&&(n=n.callMethod(c.H.ConcatArray,[c.e(e)]),e=[]),n=n.callMethod(c.H.ConcatArray,[i])):e.push(i)}return e.length>0&&(n=n.callMethod(c.H.ConcatArray,[c.e(e)])),n}var a=n(48),u=n(4),c=n(10);e.a=r,e.b=i,e.c=o,e.d=s;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=function(t){function e(e,n){t.call(this),this._viewExpr=e,this._view=n}return l(e,t),e.prototype._isThis=function(t){return t instanceof c.v&&t.builtin===c.F.This},e.prototype.visitReadVarExpr=function(t,e){return this._isThis(t)?this._viewExpr:t},e.prototype.visitReadPropExpr=function(e,n){return this._isThis(e.receiver)&&(this._view.fields.some(function(t){return t.name==e.name})||this._view.getters.some(function(t){return t.name==e.name}))?this._viewExpr.cast(this._view.classType).prop(e.name):t.prototype.visitReadPropExpr.call(this,e,n)},e}(c.G)},function(t,e,n){"use strict";function r(){throw new Error("Runtime compiler is not loaded")}var i=n(38),o=n(32),s=n(7);n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"e",function(){return p}),n.d(e,"a",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e){t.call(this,"Can't compile synchronously as "+n.i(s.b)(e)+" is still being loaded!"),this.compType=e}return a(e,t),e}(o.b),c=function(){function t(t,e){this.ngModuleFactory=t,this.componentFactories=e}return t}(),l=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw r()},t.prototype.compileModuleAsync=function(t){throw r()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw r()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw r()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}(),p=new i.a("compilerOptions"),h=function(){function t(){}return t}()},function(t,e,n){"use strict";var r=n(51),i=n(63);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return n.i(i.a)(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(i.b)(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(i.c)(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(r.a)},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(33),s=n(138),a=n(44),u=n(51),c=n(63);n.d(e,"a",function(){return f});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p={provide:u.a,useExisting:n.i(r.forwardRef)(function(){return f})},h=Promise.resolve(null),f=function(t){function e(e,r){t.call(this),this._submitted=!1,this.ngSubmit=new i.a,this.form=new s.a({},n.i(c.b)(e),n.i(c.c)(r))}return l(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;h.then(function(){var r=e._findContainer(t.path);t._control=r.registerControl(t.name,t.control),n.i(c.d)(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;h.then(function(){var r=e._findContainer(t.path);n.i(o.a)(r)&&r.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;h.then(function(){var r=e._findContainer(t.path),i=new s.a({});n.i(c.e)(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;h.then(function(){var r=e._findContainer(t.path);n.i(o.a)(r)&&r.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;h.then(function(){var r=n.form.get(t.path);r.setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[p],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[a.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[a.c]}]}],e}(u.a)},function(t,e,n){"use strict";var r=n(1),i=n(43),o=n(72);n.d(e,"b",function(){return a}),n.d(e,"a",function(){return u});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return u}),multi:!0},a=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=-1,n=0;n\n ')},t.decorators=[{type:r.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[s]}]}],t.ctorParameters=[{type:r.Renderer},{type:r.ElementRef},{type:a},{type:r.Injector}],t.propDecorators={name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]},t}()},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(137),s=n(44),a=n(51),u=n(134),c=n(63);n.d(e,"a",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p={provide:a.a,useExisting:n.i(r.forwardRef)(function(){return h})},h=function(t){function e(e,n){t.call(this),this._validators=e,this._asyncValidators=n,this._submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.a}return l(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return n.i(c.d)(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){o.c.remove(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);n.i(c.e)(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);n.i(c.e)(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this.form.get(t.path);n.setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var r=t.form.get(e.path);e._control!==r&&(n.i(c.h)(e._control,e),r&&n.i(c.d)(r,e),e._control=r)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=n.i(c.b)(this._validators);this.form.validator=s.a.compose([this.form.validator,t]);var e=n.i(c.c)(this._asyncValidators);this.form.asyncValidator=s.a.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||u.a.missingFormException()},e.decorators=[{type:r.Directive,args:[{selector:"[formGroup]",providers:[p],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.c]}]}],e.propDecorators={form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]},e}(a.a)},function(t,e,n){"use strict";function r(t){return!(t instanceof f||t instanceof l.a||t instanceof m)}var i=n(1),o=n(44),s=n(95),a=n(51),u=n(134),c=n(63),l=n(98);n.d(e,"a",function(){return f}),n.d(e,"b",function(){return m});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h={provide:a.a,useExisting:n.i(i.forwardRef)(function(){return f})},f=function(t){function e(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return p(e,t),e.prototype._checkParentType=function(){r(this._parent)&&u.a.groupParentException()},e.decorators=[{type:i.Directive,args:[{selector:"[formGroupName]",providers:[h]}]}],e.ctorParameters=[{type:a.a,decorators:[{type:i.Optional},{type:i.Host},{type:i.SkipSelf}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.c]}]}],e.propDecorators={name:[{type:i.Input,args:["formGroupName"]}]},e}(s.a),d={provide:a.a,useExisting:n.i(i.forwardRef)(function(){return m})},m=function(t){function e(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return p(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return n.i(c.a)(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(c.b)(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(c.c)(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){r(this._parent)&&u.a.arrayParentException()},e.decorators=[{type:i.Directive,args:[{selector:"[formArrayName]",providers:[d]}]}],e.ctorParameters=[{type:a.a,decorators:[{type:i.Optional},{type:i.Host},{type:i.SkipSelf}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.c]}]}],e.propDecorators={name:[{type:i.Input,args:["formArrayName"]}]},e}(a.a)},function(t,e,n){"use strict";var r=n(552);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e._headers.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),i=t.slice(e+1).trim();n.set(r,i)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return r.a.values(this._normalizedNames)},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return r.a.values(this._headers)},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var i=[];n.forEach(function(t){return i.push.apply(i,t.split(","))}),e[t._normalizedNames.get(r)]=i}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase()):null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return t}(),i=(function(){function t(){}return t}(),function(){function t(){}return t}())},function(t,e,n){var r=n(14)("unscopables"),i=Array.prototype;void 0==i[r]&&n(55)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(74);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(422),i=n(233).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(86),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(0),i=function(){function t(t,e,n){this.kind=t,this.value=e,this.exception=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.exception);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){var r=this.kind;switch(r){case"N":return t&&t(this.value);case"E":return e&&e(this.exception);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){var t=this.kind;switch(t){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.exception);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return"undefined"!=typeof e?new t("N",e):this.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return this.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(26),o=n(1029),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n?e:i.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);return n?n:void(this.pending===!1&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null)))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.delay=null,this.state=null,this.pending=!1,this.scheduler=null,r!==-1&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null))},e}(o.Action);e.AsyncAction=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(783),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do if(n=t.execute(t.state,t.delay))break;while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(i.Scheduler);e.AsyncScheduler=o},function(t,e,n){"use strict";var r=n(26),i=r.root.Symbol;if("function"==typeof i)i.iterator?e.$$iterator=i.iterator:"function"==typeof i.for&&(e.$$iterator=i.for("iterator"));else if(r.root.Set&&"function"==typeof(new r.root.Set)["@@iterator"])e.$$iterator="@@iterator";else if(r.root.Map)for(var o=Object.getOwnPropertyNames(r.root.Map.prototype),s=0;s-1?r:n.getPluralCategory(t)}function i(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,c=t.split("-")[0].toLowerCase();switch(c){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?s.One:s.Other;case"agq":case"bas":case"cu":case"dav":case"dje":case"dua":case"dyo":case"ebu":case"ewo":case"guz":case"kam":case"khq":case"ki":case"kln":case"kok":case"ksf":case"lrc":case"lu":case"luo":case"luy":case"mer":case"mfe":case"mgh":case"mua":case"mzn":case"nmg":case"nus":case"qu":case"rn":case"rw":case"sbp":case"twq":case"vai":case"yav":case"yue":case"zgh":case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?s.One:s.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?s.One:s.Other;case"ar":return 0===n?s.Zero:1===n?s.One:2===n?s.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?s.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?s.Many:s.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?s.One:s.Other;case"be":return n%10===1&&n%100!==11?s.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?s.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?s.Many:s.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?s.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?s.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10===9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?s.Few:0!==n&&n%1e6===0?s.Many:s.Other;case"bs":case"hr":case"sr":return 0===o&&i%10===1&&i%100!==11||a%10===1&&a%100!==11?s.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?s.Few:s.Other;case"cs":case"sk":return 1===i&&0===o?s.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?s.Few:0!==o?s.Many:s.Other;case"cy":return 0===n?s.Zero:1===n?s.One:2===n?s.Two:3===n?s.Few:6===n?s.Many:s.Other;case"da":return 1===n||0!==u&&(0===i||1===i)?s.One:s.Other;case"dsb":case"hsb":return 0===o&&i%100===1||a%100===1?s.One:0===o&&i%100===2||a%100===2?s.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?s.Few:s.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?s.One:s.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!==4&&i%10!==6&&i%10!==9||0!==o&&a%10!==4&&a%10!==6&&a%10!==9?s.One:s.Other;case"ga":return 1===n?s.One:2===n?s.Two:n===Math.floor(n)&&n>=3&&n<=6?s.Few:n===Math.floor(n)&&n>=7&&n<=10?s.Many:s.Other;case"gd":return 1===n||11===n?s.One:2===n||12===n?s.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?s.Few:s.Other;case"gv":return 0===o&&i%10===1?s.One:0===o&&i%10===2?s.Two:0!==o||i%100!==0&&i%100!==20&&i%100!==40&&i%100!==60&&i%100!==80?0!==o?s.Many:s.Other:s.Few;case"he":return 1===i&&0===o?s.One:2===i&&0===o?s.Two:0!==o||n>=0&&n<=10||n%10!==0?s.Other:s.Many;case"is":return 0===u&&i%10===1&&i%100!==11||0!==u?s.One:s.Other;case"ksh":return 0===n?s.Zero:1===n?s.One:s.Other;case"kw":case"naq":case"se":case"smn":return 1===n?s.One:2===n?s.Two:s.Other;case"lag":return 0===n?s.Zero:0!==i&&1!==i||0===n?s.Other:s.One;case"lt":return n%10!==1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?s.Few:0!==a?s.Many:s.Other:s.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?s.Zero:n%10===1&&n%100!==11||2===o&&a%10===1&&a%100!==11||2!==o&&a%10===1?s.One:s.Other;case"mk":return 0===o&&i%10===1||a%10===1?s.One:s.Other;case"mt":return 1===n?s.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?s.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?s.Many:s.Other;case"pl":return 1===i&&0===o?s.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?s.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?s.Many:s.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?s.One:s.Other;case"ro":return 1===i&&0===o?s.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?s.Few:s.Other;case"ru":case"uk":return 0===o&&i%10===1&&i%100!==11?s.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?s.Few:0===o&&i%10===0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?s.Many:s.Other;case"shi":return 0===i||1===n?s.One:n===Math.floor(n)&&n>=2&&n<=10?s.Few:s.Other;case"si":return 0===n||1===n||0===i&&1===a?s.One:s.Other;case"sl":return 0===o&&i%100===1?s.One:0===o&&i%100===2?s.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?s.Few:s.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?s.One:s.Other;default:return s.Other}}var o=n(1);n.d(e,"b",function(){return u}),e.a=r,n.d(e,"c",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s,a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}(),c=function(t){function e(e){t.call(this),this._locale=e}return a(e,t),e.prototype.getPluralCategory=function(t){var e=i(this._locale,t);switch(e){case s.Zero:return"zero";case s.One:return"one";case s.Two:return"two";case s.Few:return"few";case s.Many:return"many";default:return"other"}},e.decorators=[{type:o.Injectable}],e.ctorParameters=[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}],e}(u);!function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"}(s||(s={}))},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return t}(),o=new r.OpaqueToken("appBaseHref")},function(t,e,n){"use strict";var r=(n(49),n(119),n(77),n(24),n(508),n(286),n(91),n(181)),i=n(500);n(170),n(180),n(177),n(42),n(70),n(275),n(169),n(116),n(90),n(174),n(117),n(176),n(115),n(512),n(283),n(37),n(287),n(118),n(182),n(120);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return i.a})},function(t,e,n){"use strict";function r(t){var e=v.a("changed"),r=[e.set(v.o.prop(C)).toDeclStmt(),v.o.prop(C).set(v.c(!1)).toStmt()],i=[];if(t.genChanges){var o=[];t.ngOnChanges&&o.push(v.o.prop(E).callMethod("ngOnChanges",[v.o.prop(S)]).toStmt()),t.compilerConfig.logBindingUpdate&&o.push(v.d(n.i(d.d)(d.b.setBindingDebugInfoForChanges)).callFn([T.prop("renderer"),A,v.o.prop(S)]).toStmt()),o.push(I),i.push(new v.g(e,o))}t.ngOnInit&&i.push(new v.g(T.prop("numberOfChecks").identical(new v.D(0)),[v.o.prop(E).callMethod("ngOnInit",[]).toStmt()])),t.ngDoCheck&&i.push(v.o.prop(E).callMethod("ngDoCheck",[]).toStmt()),i.length>0&&r.push(new v.g(v.u(k),i)),r.push(new v.i(e)),t.methods.push(new v.A("detectChangesInInputProps",[new v.j(T.name,v.k(n.i(d.d)(d.b.AppView),[v.l])),new v.j(A.name,v.l),new v.j(k.name,v.C)],r,v.C))}function i(t,e){var r=n.i(c.a)(e),i=[v.o.prop(C).set(v.c(!0)).toStmt(),v.o.prop(E).prop(t).set(O).toStmt()];e.genChanges&&i.push(v.o.prop(S).key(v.c(t)).set(v.d(n.i(d.d)(d.b.SimpleChange)).instantiate([r.expression,O])).toStmt());var o=n.i(c.b)({currValExpr:O,forceUpdate:P,stmts:[]},r.expression,k,i);e.methods.push(new v.A("check_"+t,[new v.j(O.name,v.l),new v.j(k.name,v.C),new v.j(P.name,v.C)],o))}function o(t,e){var r=[],i=[new v.j(T.name,v.k(n.i(d.d)(d.b.AppView),[v.l])),new v.j(A.name,v.l),new v.j(k.name,v.C)];t.forEach(function(t){var o=n.i(c.a)(e),s=n.i(l.a)(e,null,v.o.prop(E),t.value,o.bindingId);if(s){var a;t.needsRuntimeSecurityContext&&(a=v.a("secCtx_"+i.length),i.push(new v.j(a.name,v.k(n.i(d.d)(d.b.SecurityContext))))),r.push.apply(r,n.i(c.b)(s,o.expression,k,n.i(p.a)(T,t,A,s.currValExpr,e.compilerConfig.logBindingUpdate,a)))}}),e.methods.push(new v.A("detectChangesInHostProps",i,r))}function s(t,e,n){var r=[],i=new w.a(e,m.a,n,[],r),o=t.type.moduleUrl?"in Directive "+t.type.name+" in "+t.type.moduleUrl:"in Directive "+t.type.name,s=new g.b("",o),a=new g.d(new g.c(s,null,null,null),new g.c(s,null,null,null)),u=i.createDirectiveHostPropertyAsts(t,a),c=i.createDirectiveHostEventAsts(t,a);return new j(u,c,r)}function a(t,e){var n=t.filter(function(t){return t.level===g.e.WARNING}),r=t.filter(function(t){return t.level===g.e.FATAL});if(n.length>0&&this._console.warn("Directive parse warnings:\n"+n.join("\n")),r.length>0)throw new Error("Directive parse errors:\n"+r.join("\n"))}var u=n(1),c=n(270),l=n(89),p=n(271),h=n(77),f=n(90),d=n(15),m=n(42),y=n(179),v=n(10),g=n(37),b=n(18),_=n(70),w=n(289);n.d(e,"a",function(){return M});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var x=function(){function t(t,e){this.statements=t,this.dirWrapperClassVar=e}return t}(),E="context",S="changes",C="changed",O=v.a("currValue"),k=v.a("throwOnChange"),P=v.a("forceUpdate"),T=v.a("view"),A=v.a("el"),I=v.o.prop(S).set(v.b([])).toStmt(),M=function(){function t(t,e,n,r){this.compilerConfig=t,this._exprParser=e,this._schemaRegistry=n,this._console=r}return t.dirWrapperClassName=function(t){return"Wrapper_"+t.name},t.prototype.compile=function(t){var e=new R(this.compilerConfig,t);Object.keys(t.inputs).forEach(function(t){i(t,e)}),r(e);var n=s(t,this._exprParser,this._schemaRegistry);a(n.errors,this._console),o(n.hostProps.filter(function(t){return!t.isAnimation}),e);var u=e.build();return new x([u],u.name)},t.decorators=[{type:u.Injectable}],t.ctorParameters=[{type:h.a},{type:f.a},{type:_.a},{type:b.B}],t}(),R=function(){function t(t,e){this.compilerConfig=t,this.dirMeta=e,this.fields=[],this.getters=[],this.methods=[],this.ctorStmts=[];var n=e.type.lifecycleHooks;this.genChanges=n.indexOf(b.G.OnChanges)!==-1||this.compilerConfig.logBindingUpdate,this.ngOnChanges=n.indexOf(b.G.OnChanges)!==-1,this.ngOnInit=n.indexOf(b.G.OnInit)!==-1,this.ngDoCheck=n.indexOf(b.G.DoCheck)!==-1}return t.prototype.build=function(){for(var t=[],e=0;e=this.length?g.a:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,i=this.index;n<=g.b;){if(++i>=e){n=g.a;break}n=t.charCodeAt(i)}if(this.peek=n,this.index=i,i>=e)return null;if(l(n))return this.scanIdentifier();if(g.c(n))return this.scanNumber(i);var o=i;switch(n){case g.d:return this.advance(),g.c(this.peek)?this.scanNumber(o):r(o,g.d);case g.e:case g.f:case g.g:case g.h:case g.i:case g.j:case g.k:case g.l:case g.m:return this.scanCharacter(o,n);case g.n:case g.o:return this.scanString();case g.p:case g.q:case g.r:case g.s:case g.t:case g.u:case g.v:return this.scanOperator(o,String.fromCharCode(n));case g.w:return this.scanComplexOperator(o,"?",g.d,".");case g.x:case g.y:return this.scanComplexOperator(o,String.fromCharCode(n),g.z,"=");case g.A:case g.z:return this.scanComplexOperator(o,String.fromCharCode(n),g.z,"=",g.z,"=");case g.B:return this.scanComplexOperator(o,"&",g.B,"&");case g.C:return this.scanComplexOperator(o,"|",g.C,"|");case g.D:for(;g.E(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),r(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),s(t,e)},t.prototype.scanComplexOperator=function(t,e,r,i,o,a){this.advance();var u=e;return this.peek==r&&(this.advance(),u+=i),n.i(b.a)(o)&&this.peek==o&&(this.advance(),u+=a),s(t,u)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();h(this.peek);)this.advance();var e=this.input.substring(t,this.index);return w.indexOf(e)>-1?o(t,e):i(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(g.c(this.peek));else if(this.peek==g.d)e=!1;else{if(!f(this.peek))break;if(this.advance(),d(this.peek)&&this.advance(),!g.c(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index),r=e?b.g.parseIntAutoRadix(n):parseFloat(n);return u(t,r)},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(this.peek==g.F){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek==g.G){var s=i.substring(this.index+1,this.index+5);try{o=b.g.parseInt(s,16)}catch(t){return this.error("Invalid unicode escape [\\u"+s+"]",0)}for(var u=0;u<5;u++)this.advance()}else o=y(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==g.a)return this.error("Unterminated quote",0);this.advance()}var c=i.substring(r,this.index);return this.advance(),a(t,n+c)},t.prototype.error=function(t,e){var n=this.index+e;return c(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}()},function(t,e,n){"use strict";var r=n(1),i=n(175),o=n(42),s=n(78);n.d(e,"b",function(){return u}),n.d(e,"a",function(){return s.a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(){t.call(this,i.a)}return a(e,t),e.prototype.parse=function(e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=o.a),t.prototype.parse.call(this,e,n,r,i)},e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(s.b)},function(t,e,n){"use strict";var r=n(175);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)","g"),o=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],o=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},s=new t,a=s,u=!1;for(i.lastIndex=0;n=i.exec(e);){if(n[1]){if(u)throw new Error("Nesting :not is not allowed in a selector");u=!0,a=new t,s.notSelectors.push(a)}if(n[2]&&a.setElement(n[2]),n[3]&&a.addClassName(n[3]),n[4]&&a.addAttribute(n[4],n[5]),n[6]&&(u=!1,a=s),n[7]){if(u)throw new Error("Multiple selectors in :not are not supported");o(r,s),s=a=new t}}return o(r,s),r},t.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},t.prototype.hasElementSelector=function(){return!!this.element},t.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},t.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",i="",o=0;o":"<"+t+e+i+">"},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e1&&(n=new a(t),this._listContexts.push(n));for(var r=0;r0&&(!this.listContext||!this.listContext.alreadyMatched)){var r=s.createNotMatcher(this.notSelectors);n=!r.match(t,null)}return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}()},function(t,e,n){"use strict";function r(t){return t.trim().split(/\s+/g)}function i(t,e){var i=new w.a,o=n.i(y.e)(t)[1];i.setElement(o);for(var s=0;s0&&this._console.warn("Template parse warnings:\n"+a.join("\n")),u.length>0){var c=u.join("\n");throw new Error("Template parse errors:\n"+c)}return s.templateAst},t.prototype.tryParse=function(t,e,n,r,i,o){return this.tryParseHtml(this.expandHtml(this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t))),t,e,n,r,i,o)},t.prototype.tryParseHtml=function(t,e,r,i,o,s,u){var l,p=t.errors;if(t.rootNodes.length>0){var f=n.i(a.f)(i),d=n.i(a.f)(o),m=new b.a(e,t.rootNodes[0].sourceSpan),y=void 0;e.template&&e.template.interpolation&&(y={start:e.template.interpolation[0],end:e.template.interpolation[1]});var v=new E.a(this._exprParser,y,this._schemaRegistry,d,p),g=new Y(m,f,v,this._schemaRegistry,s,p);l=h.g(g,t.rootNodes,$),p.push.apply(p,m.errors)}else l=[];return this._assertNoReferenceDuplicationOnTemplate(l,p),p.length>0?new W(l,p):(n.i(c.a)(this.transforms)&&this.transforms.forEach(function(t){l=n.i(S.g)(t,l)}),new W(l,p))},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var r=t.errors;if(0==r.length||e){var i=n.i(d.a)(t.rootNodes);r.push.apply(r,i.errors),t=new f.a(i.nodes,r)}return t},t.prototype.getInterpolationConfig=function(t){if(t.template)return m.b.fromArray(t.template.interpolation)},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new q('Reference "#'+r+'" is defined several times',t.sourceSpan,v.e.FATAL);e.push(i)}})})},t.decorators=[{type:s.Injectable}],t.ctorParameters=[{type:u.a},{type:_.a},{type:l.a},{type:g.B},{type:Array,decorators:[{type:s.Optional},{type:s.Inject,args:[z]}]}],t}(),Y=function(){function t(t,e,n,r,i,o){var s=this;this.providerViewContext=t,this._bindingParser=n,this._schemaRegistry=r,this._schemas=i,this._targetErrors=o,this.selectorMatcher=new w.b,this.directivesIndex=new Map,this.ngContentCount=0,e.forEach(function(t,e){var n=w.a.parse(t.selector);s.selectorMatcher.addSelectables(n,t),s.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var r=e.findNgContentIndex(B),i=this._bindingParser.parseInterpolation(t.value,t.sourceSpan);return n.i(c.a)(i)?new S.h(i,r,t.sourceSpan):new S.i(t.value,r,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new S.j(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var r=this,s=t.name,a=n.i(C.a)(t);if(a.type===C.b.SCRIPT||a.type===C.b.STYLE)return null;if(a.type===C.b.STYLESHEET&&n.i(x.a)(a.hrefAttr))return null;var u=[],l=[],p=[],f=[],d=[],m=[],v=[],g=[],_=!1,E=[],O=n.i(y.e)(s.toLowerCase())[1],k=O==V;t.attrs.forEach(function(t){var e,i=r._parseAttr(k,t,u,l,d,p,f);if(r._normalizeAttributeName(t.name)==L)e=t.value;else if(t.name.startsWith(H)){var o=t.name.substring(H.length);e=0==t.value.length?o:o+" "+t.value}var s=n.i(c.a)(e);s&&(_&&r._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),_=!0,r._bindingParser.parseInlineTemplateBinding(t.name,e,t.sourceSpan,v,m,g)),i||s||(E.push(r.visitAttribute(t,null)),u.push([t.name,t.value]))});var P=i(s,u),T=this._parseDirectives(this.selectorMatcher,P),A=T.directives,I=T.matchElement,M=[],R=this._createDirectiveAsts(k,t.name,A,l,p,t.sourceSpan,M),j=this._createElementPropertyAsts(t.name,l,R),N=e.isTemplateElement||_,D=new b.b(this.providerViewContext,e.providerContext,N,R,E,M,t.sourceSpan),F=h.g(a.nonBindable?Q:this,t.children,Z.create(k,R,k?e.providerContext:D));D.afterElement();var U,B=n.i(c.a)(a.projectAs)?w.a.parse(a.projectAs)[0]:P,z=e.findNgContentIndex(B);if(a.type===C.b.NG_CONTENT)t.children&&!t.children.every(o)&&this._reportError(" element cannot have content.",t.sourceSpan),U=new S.k(this.ngContentCount++,_?null:z,t.sourceSpan);else if(k)this._assertAllEventsPublishedByDirectives(R,d),this._assertNoComponentsNorElementBindingsOnTemplate(R,j,t.sourceSpan),U=new S.l(E,d,M,f,D.transformedDirectiveAsts,D.transformProviders,D.transformedHasViewContainer,F,_?null:z,t.sourceSpan);else{this._assertElementExists(I,t),this._assertOnlyOneComponent(R,t.sourceSpan);var q=_?null:e.findNgContentIndex(B);U=new S.m(s,E,j,d,M,D.transformedDirectiveAsts,D.transformProviders,D.transformedHasViewContainer,F,_?null:q,t.sourceSpan,t.endSourceSpan),this._findComponentDirectives(R).forEach(function(t){return r._validateElementAnimationInputOutputs(t.hostProperties,t.hostEvents,t.directive.template)});var W=D.viewContext.component.template;this._validateElementAnimationInputOutputs(j,d,W)}if(_){var G=i(V,v),Y=this._parseDirectives(this.selectorMatcher,G).directives,X=this._createDirectiveAsts(!0,t.name,Y,m,[],t.sourceSpan,[]),K=this._createElementPropertyAsts(t.name,m,X);this._assertNoComponentsNorElementBindingsOnTemplate(X,K,t.sourceSpan);var $=new b.b(this.providerViewContext,e.providerContext,e.isTemplateElement,X,[],[],t.sourceSpan);$.afterElement(),U=new S.l([],[],[],g,$.transformedDirectiveAsts,$.transformProviders,$.transformedHasViewContainer,[U],z,t.sourceSpan)}return U},t.prototype._validateElementAnimationInputOutputs=function(t,e,n){var r=this,i=new Set;n.animations.forEach(function(t){i.add(t.name)});var o=t.filter(function(t){return t.isAnimation});o.forEach(function(t){var e=t.name;i.has(e)||r._reportError("Couldn't find an animation entry for \""+e+'"',t.sourceSpan)}),e.forEach(function(t){if(t.isAnimation){var e=o.find(function(e){return e.name==t.name});e||r._reportError("Unable to listen on (@"+t.name+"."+t.phase+") because the animation trigger [@"+t.name+"] isn't being used on the same element",t.sourceSpan)}})},t.prototype._parseAttr=function(t,e,r,i,o,s,a){var u=this._normalizeAttributeName(e.name),l=e.value,p=e.sourceSpan,h=u.match(k),f=!1;if(null!==h)if(f=!0,n.i(c.a)(h[P]))this._bindingParser.parsePropertyBinding(h[j],l,!1,p,r,i);else if(h[T])if(t){var d=h[j];this._parseVariable(d,l,p,a)}else this._reportError('"let-" is only supported on template elements.',p);else if(h[A]){var d=h[j];this._parseReference(d,l,p,s)}else h[I]?this._bindingParser.parseEvent(h[j],l,p,r,o):h[M]?(this._bindingParser.parsePropertyBinding(h[j],l,!1,p,r,i),this._parseAssignmentEvent(h[j],l,p,r,o)):h[R]?this._bindingParser.parseLiteralAttr(u,l,p,r,i):h[N]?(this._bindingParser.parsePropertyBinding(h[N],l,!1,p,r,i),this._parseAssignmentEvent(h[N],l,p,r,o)):h[D]?this._bindingParser.parsePropertyBinding(h[D],l,!1,p,r,i):h[F]&&this._bindingParser.parseEvent(h[F],l,p,r,o);else f=this._bindingParser.parsePropertyInterpolation(u,l,p,r,i);return f||this._bindingParser.parseLiteralAttr(u,l,p,r,i),f},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new S.c(t,e,n))},t.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',n),r.push(new K(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(t,e,r,i,o,s,a){var u=this,c=new Set,l=null,h=r.map(function(t){var r=new v.d(s.start,s.end,"Directive "+t.type.name);t.isComponent&&(l=t);var h=[],f=u._bindingParser.createDirectiveHostPropertyAsts(t,r);u._checkPropertiesInSchema(e,f);var d=u._bindingParser.createDirectiveHostEventAsts(t,r);return u._createDirectivePropertyAsts(t.inputs,i,h),o.forEach(function(e){(0===e.value.length&&t.isComponent||t.exportAs==e.value)&&(a.push(new S.n(e.name,n.i(p.c)(t.type),e.sourceSpan)),c.add(e.name))}),new S.o(t,h,f,d,r)});return o.forEach(function(e){if(e.value.length>0)c.has(e.name)||u._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!l){var r=null;t&&(r=n.i(p.a)(p.b.TemplateRef)),a.push(new S.n(e.name,r,e.sourceSpan))}}),h},t.prototype._createDirectivePropertyAsts=function(t,e,n){if(t){var r=new Map;e.forEach(function(t){var e=r.get(t.name);e&&!e.isLiteral||r.set(t.name,t)}),Object.keys(t).forEach(function(e){var i=t[e],o=r.get(i);o&&n.push(new S.p(e,o.name,o.expression,o.sourceSpan))})}},t.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[],o=new Map;return n.forEach(function(t){t.inputs.forEach(function(t){o.set(t.templateName,t)})}),e.forEach(function(e){e.isLiteral||o.get(e.name)||i.push(r._bindingParser.createElementPropertyAst(t,e))}),this._checkPropertiesInSchema(t,i),i},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return t.directive.type.name})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);n.length>1&&this._reportError("More than one component: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n"+("1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n")+("2. If '"+n+"' is a Web Component then add \"CUSTOM_ELEMENTS_SCHEMA\" to the '@NgModule.schemas' of this component to suppress this message.");this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section.',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var r=this,i=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){var n=t.directive.outputs[e];i.add(n)})}),e.forEach(function(t){!n.i(c.a)(t.target)&&i.has(t.name)||r._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "directives" section.',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(t,e){var n=this;e.forEach(function(e){if(e.type===S.e.Property&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module."+("\n2. If '"+t+"' is a Web Component then add \"CUSTOM_ELEMENTS_SCHEMA\" to the '@NgModule.schemas' of this component to suppress this message.\n")),n._reportError(r,e.sourceSpan)}})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=v.e.FATAL),this._targetErrors.push(new v.a(e,t,n))},t}(),X=function(){function t(){}return t.prototype.visitElement=function(t,e){var r=n.i(C.a)(t);if(r.type===C.b.SCRIPT||r.type===C.b.STYLE||r.type===C.b.STYLESHEET)return null;var o=t.attrs.map(function(t){return[t.name,t.value]}),s=i(t.name,o),a=e.findNgContentIndex(s),u=h.g(this,t.children,$);return new S.m(t.name,h.g(this,t.attrs),[],[],[],[],[],!1,u,a,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new S.j(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(B);return new S.i(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),K=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t}(),Z=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new w.b,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u0?e[0]:null},t}(),$=new Z(!0,new w.b,null,null),Q=new X},function(t,e,n){"use strict";var r=n(1),i=n(77),o=n(70),s=n(291),a=n(293),u=n(519),c=n(520),l=n(184);n.d(e,"d",function(){return h}),n.d(e,"b",function(){return l.a}),n.d(e,"c",function(){return l.b}),n.d(e,"a",function(){return l.c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=function(){function t(t,e,n){this.statements=t,this.viewFactoryVar=e,this.dependencies=n}return t}(),h=function(){function t(t,e){this._genConfig=t,this._schemaRegistry=e}return t.prototype.compileComponent=function(t,e,r,i,o){var l=[],h=new a.a(t,this._genConfig,i,r,o,0,s.a.createNull(),[]),f=[];return n.i(c.a)(h,e,l),n.i(u.a)(h,e,this._schemaRegistry),n.i(c.b)(h,f),new p(f,h.viewFactory.name,l)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[{type:i.a},{type:o.a}],t}()},function(t,e,n){"use strict";function r(){return""+i()+i()+i()}function i(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var o=n(38);n.d(e,"a",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return c}),n.d(e,"e",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=new o.a("AppId"),a={provide:s,useFactory:r,deps:[]},u=new o.a("Platform Initializer"),c=new o.a("appBootstrapListener"),l=new o.a("Application Packages Root URL")},function(t,e,n){"use strict";var r=n(188),i=n(299),o=n(300),s=n(301),a=n(123),u=n(529),c=n(124);n.d(e,"b",function(){return h}),n.d(e,"c",function(){return f}),n.d(e,"i",function(){return a.d}),n.d(e,"j",function(){return a.e}),n.d(e,"a",function(){return a.b}),n.d(e,"h",function(){return u.a}),n.d(e,"g",function(){return c.a}),n.d(e,"f",function(){return c.b}),n.d(e,"k",function(){return r.b}),n.d(e,"l",function(){return r.c}),n.d(e,"m",function(){return i.b}),n.d(e,"d",function(){return o.a}),n.d(e,"e",function(){return s.a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=[new i.a],p=[new r.a],h=new o.a(p),f=new s.a(l)},function(t,e,n){"use strict";function r(t,e){return n.i(i.b)(t)&&n.i(i.b)(e)?n.i(i.d)(t,e,r):!(n.i(i.b)(t)||n.i(o.k)(t)||n.i(i.b)(e)||n.i(o.k)(e))||n.i(o.i)(t,e)}var i=n(50),o=n(7);n.d(e,"a",function(){return s}),e.b=r,n.d(e,"e",function(){return a}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s={toString:function(){return"CD_INIT_VALUE"}},a=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),u=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof a?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),c=function(){function t(t,e){this.previousValue=t,this.currentValue=e}return t.prototype.isFirstChange=function(){return this.previousValue===s},t}()},function(t,e,n){"use strict";function r(t){return n.i(i.c)(t)||t===o.Default}var i=n(7);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),e.c=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o;!function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"}(o||(o={}));var s;!function(t){t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed"}(s||(s={}))},function(t,e,n){"use strict";var r=n(32),i=n(7);n.d(e,"a",function(){return s}),n.d(e,"b",function(){return u});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=new Object,s=o,a=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=o),e===o)throw new Error("No provider for "+n.i(i.b)(t)+"!");return e},t}(),u=function(){function t(){}return t.prototype.get=function(t,e){return n.i(r.a)()},t.THROW_IF_NOT_FOUND=o,t.NULL=new a,t}()},function(t,e,n){"use strict";var r=n(79);n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"f",function(){return u}),n.d(e,"e",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=n.i(r.a)("Inject",[["token",void 0]]),o=n.i(r.a)("Optional",[]),s=n.i(r.a)("Injectable",[]),a=n.i(r.a)("Self",[]),u=n.i(r.a)("SkipSelf",[]),c=n.i(r.a)("Host",[])},function(t,e,n){"use strict";var r=n(32),i=n(7);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(e){t.call(this,"No component factory found for "+n.i(i.b)(e)),this.component=e}return o(e,t),e}(r.b),a=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw new s(t)},t}(),u=function(){function t(){}return t.NULL=new a,t}(),c=function(){function t(t,e){this._parent=e,this._factories=new Map;for(var n=0;n-1)})}},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}()},function(t,e,n){"use strict";function r(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof g?t.controls[e]||null:t instanceof b?t.at(e)||null:null},t))}function i(t){return n.i(l.a)(t)?n.i(a.fromPromise)(t):t}function o(t){return Array.isArray(t)?n.i(u.b)(t):t}function s(t){return Array.isArray(t)?n.i(u.c)(t):t}var a=n(453),u=(n.n(a),n(63)),c=n(80),l=n(324);n.d(e,"b",function(){return v}),n.d(e,"a",function(){return g}),n.d(e,"c",function(){return b});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h="VALID",f="INVALID",d="PENDING",m="DISABLED",y=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this._pristine=!0,this._touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this._status===h},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this._status===f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this._status==d},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._status===m},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._status!==m},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=o(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=s(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!0,this._parent&&!e&&this._parent.markAsTouched({onlySelf:e})},t.prototype.markAsUntouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!1,this._parent&&!e&&this._parent.markAsDirty({onlySelf:e})},t.prototype.markAsPristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;this._status=d,this._parent&&!e&&this._parent.markAsPending({onlySelf:e})},t.prototype.disable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=m,this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),r!==!1&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(n),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=h,this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r}),this._updateAncestors(n),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._setInitialStatus(),this._updateValue(),this.enabled&&(this._errors=this._runValidator(),this._status=this._calculateStatus(),this._status!==h&&this._status!==d||this._runAsyncValidator(r)),r!==!1&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._parent&&!n&&this._parent.updateValueAndValidity({onlySelf:n,emitEvent:r})},t.prototype._updateTreeValidity=function(t){var e=(void 0===t?{emitEvent:!0}:t).emitEvent;this._forEachChild(function(t){return t._updateTreeValidity({emitEvent:e})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e})},t.prototype._setInitialStatus=function(){this._status=this._allControlsDisabled()?m:h},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this._status=d,this._cancelExistingSubscription();var n=i(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe({next:function(n){return e.setErrors(n,{emitEvent:t})}})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){var n=(void 0===e?{}:e).emitEvent;this._errors=t,this._updateControlsErrors(n!==!1)},t.prototype.get=function(t){return r(this,t,".")},t.prototype.getError=function(t,e){void 0===e&&(e=null);var n=e?this.get(e):this;return n&&n._errors?n._errors[t]:null},t.prototype.hasError=function(t,e){return void 0===e&&(e=null),!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this._status=this._calculateStatus(),t&&this._statusChanges.emit(this._status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this._valueChanges=new c.a,this._statusChanges=new c.a},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?m:this._errors?f:this._anyControlsHaveStatus(d)?d:this._anyControlsHaveStatus(f)?f:h},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!this._anyControlsDirty(),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype._updateTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=this._anyControlsTouched(),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t}(),v=function(t){function e(e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,o(n),s(r)),this._onChange=[],this._applyFormState(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return p(e,t),e.prototype.setValue=function(t,e){var n=this,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent,s=r.emitModelToViewChange,a=r.emitViewToModelChange;this._value=t,this._onChange.length&&s!==!1&&this._onChange.forEach(function(t){return t(n._value,a!==!1)}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null);var n=(void 0===e?{}:e).onlySelf;this._applyFormState(t),this.markAsPristine({onlySelf:n}),this.markAsUntouched({onlySelf:n}),this.setValue(this._value,{onlySelf:n})},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this._value=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this._value=t},e}(y),g=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n,r),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return p(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;this._checkAllValuesPresent(t),Object.keys(t).forEach(function(e){n._throwIfControlMissing(e),n.controls[e].setValue(t[e],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.patchValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;Object.keys(t).forEach(function(e){n.controls[e]&&n.controls[e].patchValue(t[e],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.reset=function(t,e){void 0===t&&(t={});var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e.value,t})},e.prototype._throwIfControlMissing=function(t){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[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this._value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(y),b=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n,r),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return p(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;this._checkAllValuesPresent(t),t.forEach(function(t,e){n._throwIfControlMissing(e),n.at(e).setValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.patchValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;t.forEach(function(t,e){n.at(e)&&n.at(e).patchValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.reset=function(t,e){void 0===t&&(t=[]);var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t.value})},e.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(y)},function(t,e,n){"use strict";var r=n(554);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d})},function(t,e,n){"use strict";var r=n(1),i=n(52),o=n(64),s=n(100);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(t){var e=void 0===t?{}:t,r=e.body,o=e.status,s=e.headers,a=e.statusText,u=e.type,c=e.url;this.body=n.i(i.a)(r)?r:null,this.status=n.i(i.a)(o)?o:null,this.headers=n.i(i.a)(s)?s:null,this.statusText=n.i(i.a)(a)?a:null,this.type=n.i(i.a)(u)?u:null,this.url=n.i(i.a)(c)?c:null}return t.prototype.merge=function(e){return new t({body:n.i(i.a)(e)&&n.i(i.a)(e.body)?e.body:this.body,status:n.i(i.a)(e)&&n.i(i.a)(e.status)?e.status:this.status,headers:n.i(i.a)(e)&&n.i(i.a)(e.headers)?e.headers:this.headers,statusText:n.i(i.a)(e)&&n.i(i.a)(e.statusText)?e.statusText:this.statusText,type:n.i(i.a)(e)&&n.i(i.a)(e.type)?e.type:this.type,url:n.i(i.a)(e)&&n.i(i.a)(e.url)?e.url:this.url})},t}(),c=function(t){function e(){t.call(this,{status:200,statusText:"Ok",type:o.a.Default,headers:new s.a})}return a(e,t),e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(u)},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return s.b.Get;case"POST":return s.b.Post;case"PUT":return s.b.Put;case"DELETE":return s.b.Delete;case"OPTIONS":return s.b.Options;case"HEAD":return s.b.Head;case"PATCH":return s.b.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}function i(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):void 0}function o(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;n=200&&t<300}},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){void 0===t&&(t="");var e=new Map;if(t.length>0){var n=t.split("&");n.forEach(function(t){var n=t.indexOf("="),r=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)],i=r[0],o=r[1],s=e.get(i)||[];s.push(o),e.set(i,s)})}return e}function i(t){return encodeURIComponent(t).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,"/")}n.d(e,"a",function(){return s});var o=function(){function t(){}return t.prototype.encodeKey=function(t){return i(t)},t.prototype.encodeValue=function(t){return i(t)},t}(),s=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new o),this.rawParams=t,this.queryEncoder=e,this.paramsMap=r(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],i=0;i=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){this._checker=t}return t.prototype.focusFirstTabbableElement=function(){var t=this._getFirstTabbableElement(this.trappedContent.nativeElement);t&&t.focus()},t.prototype.focusLastTabbableElement=function(){var t=this._getLastTabbableElement(this.trappedContent.nativeElement);t&&t.focus()},t.prototype._getFirstTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children.length,n=0;n=0;e--){var n=this._getLastTabbableElement(t.children[e]);if(n)return n}return null},o([n.i(r.ViewChild)("trappedContent"),s("design:type",r.ElementRef)],t.prototype,"trappedContent",void 0),t=o([n.i(r.Component)({selector:"focus-trap",template:'\n
\n
\n
',encapsulation:r.ViewEncapsulation.None}),s("design:paramtypes",[i.a])],t)}()},function(t,e,n){"use strict";function r(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}function i(t){return s(t)&&"hidden"==t.type}function o(t){return a(t)&&t.hasAttribute("href")}function s(t){return"input"==t.nodeName}function a(t){return"a"==t.nodeName.toLowerCase()}function u(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function c(t){return!i(t)&&(r(t)||o(t)||t.hasAttribute("contenteditable")||u(t))}var l=n(1);n.d(e,"a",function(){return f});var p=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},f=function(){function t(){}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&"visible"==getComputedStyle(t).getPropertyValue("visibility")},t.prototype.isTabbable=function(t){return t.tabIndex>=0},t.prototype.isFocusable=function(t){return c(t)&&!this.isDisabled(t)&&this.isVisible(t)},t=p([n.i(l.Injectable)(),h("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(345);n.d(e,"c",function(){return s}),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t.prototype.attach=function(t){if(null==t)throw new r.a;if(t.hasAttached())throw new r.b;return this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;if(null==t)throw new r.c;return this._attachedHost=null,t.detach()},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),s=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this),this.component=e,this.viewContainerRef=n,this.injector=r}return i(e,t),e}(o),a=function(t){function e(e,n){t.call(this),this.locals=new Map,this.templateRef=e,this.viewContainerRef=n}return i(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return this.locals=null==n?new Map:n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.locals=new Map,t.prototype.detach.call(this)},e}(o),u=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return null!=this._attachedPortal},t.prototype.attach=function(t){if(null==t)throw new r.d;if(this.hasAttached())throw new r.b;if(this._isDisposed)throw new r.e;if(t instanceof s)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof a)return this._attachedPortal=t,this.attachTemplatePortal(t);throw new r.f},t.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(null),this._attachedPortal=null,null!=this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t}()},function(t,e,n){"use strict";var r=n(12);n.n(r);n.d(e,"a",function(){return i});var i=function(){function t(t){this._overlayRef=t,this._afterClosed=new r.Subject}return t.prototype.close=function(t){this._overlayRef.dispose(),this._afterClosed.next(t),this._afterClosed.complete()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=new r.OpaqueToken("DocumentToken")},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var r=function(){function t(){this.idValue=new Date}return t.prototype.id=function(t){if(void 0!==t){if(!t)throw new Error("A value must be specified for the ID.");this.idValue=t}return this.idValue},t.prototype.now=function(){return new Date},t.prototype.isExpired=function(){var t=this.last();return null!=t&&t<=this.now()},t}()},function(t,e,n){"use strict";var r=n(55),i=n(30),o=n(11),s=n(54),a=n(14);t.exports=function(t,e,n){var u=a(t),c=n(s,u,""[t]),l=c[0],p=c[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,l),r(RegExp.prototype,u,2==e?function(t,e){return p.call(t,this,e)}:function(t){return p.call(t,this)}))}},function(t,e,n){var r=n(83),i=n(414),o=n(412),s=n(9),a=n(35),u=n(428),c={},l={},e=t.exports=function(t,e,n,p,h){var f,d,m,y,v=h?function(){return t}:u(t),g=r(n,p,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=a(t.length);f>b;b++)if(y=e?g(s(d=t[b])[0],d[1]):g(t[b]),y===c||y===l)return y}else for(m=v.call(t);!(d=m.next()).done;)if(y=i(m,g,d.value,e),y===c||y===l)return y};e.BREAK=c,e.RETURN=l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(20).f,i=n(29),o=n(14)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(17),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(2),i=n(54),o=n(11),s=n(248),a="["+s+"]",u="​…",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),p=function(t,e,n){var i={},a=o(function(){return!!s[t]()||u[t]()!=u}),c=i[t]=a?e(h):s[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},h=p.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=p},function(t,e,n){"use strict";var r=n(406),i={};i[n(14)("toStringTag")]="z",i+""!="[object z]"&&n(30)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){"use strict";var r=n(425)(!0);n(239)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(21),s=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return r(e,t),e.prototype._subscribe=function(e){return this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.Subject);e.AsyncSubject=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(468),s=n(255),a=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new u(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(e){var n=this._trimBufferThenGetEvents(),r=this.scheduler;r&&e.add(e=new s.ObserveOnSubscriber(e,r));for(var i=n.length,o=0;oe&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.Subject);e.ReplaySubject=a;var u=function(){function t(t,e){this.time=t,this.value=e}return t}()},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.mergeAll=r;var a=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.concurrent))},t}();e.MergeAllOperator=a;var u=function(t){function e(e,n){t.call(this,e),this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0}return i(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeAllSubscriber=u},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var i=n(26);e.getSymbolObservable=r,e.$$observable=r(i.root)},function(t,e,n){"use strict";var r=n(26),i=r.root.Symbol;e.$$rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber"},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);e.ArgumentOutOfRangeError=r},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);e.EmptyError=r},function(t,e){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}e.isDate=n},function(t,e,n){"use strict";function r(t,e){return t.length>0&&e.startsWith(t)?e.substring(t.length):e}function i(t){return/\/index.html$/g.test(t)?t.substring(0,t.length-11):t}var o=n(1),s=n(113);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=function(){function t(e){var n=this;this._subject=new o.EventEmitter,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(i(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,i(e)))},t.prototype.prepareExternalUrl=function(t){return t.length>0&&!t.startsWith("/")&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t.length>0&&"?"!=t.substring(0,1)?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){return/\/$/g.test(t)&&(t=t.substring(0,t.length-1)),t},t.decorators=[{type:o.Injectable}],t.ctorParameters=[{type:s.a}],t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return Object.defineProperty(t.prototype,"pathname",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return null},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";function r(t){return t>=u&&t<=f||t==st}function i(t){return N<=t&&t<=D}function o(t){return t>=Y&&t<=nt||t>=F&&t<=U}function s(t){return t>=Y&&t<=K||t>=F&&t<=L||i(t)}n.d(e,"a",function(){return a}),n.d(e,"Y",function(){return u}),n.d(e,"S",function(){return c}),n.d(e,"_0",function(){return l}),n.d(e,"U",function(){return p}),n.d(e,"W",function(){return h}),n.d(e,"b",function(){return f}),n.d(e,"A",function(){return d}),n.d(e,"o",function(){return m}),n.d(e,"p",function(){return y}),n.d(e,"M",function(){return v}),n.d(e,"u",function(){return g}),n.d(e,"B",function(){return b}),n.d(e,"n",function(){return _}),n.d(e,"e",function(){return w}),n.d(e,"f",function(){return x}),n.d(e,"s",function(){return E}),n.d(e,"q",function(){return S}),n.d(e,"k",function(){return C}),n.d(e,"r",function(){return O}),n.d(e,"d",function(){return k}),n.d(e,"t",function(){return P}),n.d(e,"l",function(){return T}),n.d(e,"m",function(){return A}),n.d(e,"x",function(){return I}),n.d(e,"z",function(){return M}),n.d(e,"y",function(){return R}),n.d(e,"w",function(){return j}),n.d(e,"_3",function(){return N}),n.d(e,"_4",function(){return D}),n.d(e,"J",function(){return F}),n.d(e,"P",function(){return V}),n.d(e,"_2",function(){return H}),n.d(e,"K",function(){return U}),n.d(e,"i",function(){return B}),n.d(e,"F",function(){return z}),n.d(e,"j",function(){return q}),n.d(e,"v",function(){return W}),n.d(e,"L",function(){return G}),n.d(e,"H",function(){return Y}),n.d(e,"O",function(){return X}),n.d(e,"T",function(){return K}),n.d(e,"R",function(){return Z}),n.d(e,"V",function(){return $}),n.d(e,"X",function(){return Q}),n.d(e,"G",function(){return J}),n.d(e,"Z",function(){return tt}),n.d(e,"_1",function(){return et}),n.d(e,"I",function(){return nt}),n.d(e,"g",function(){return rt}),n.d(e,"C",function(){return it}),n.d(e,"h",function(){return ot}),n.d(e,"D",function(){return st}),n.d(e,"Q",function(){return at}),e.E=r,e.c=i,e.N=o,e._5=s;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=0,u=9,c=10,l=11,p=12,h=13,f=32,d=33,m=34,y=35,v=36,g=37,b=38,_=39,w=40,x=41,E=42,S=43,C=44,O=45,k=46,P=47,T=58,A=59,I=60,M=61,R=62,j=63,N=48,D=57,F=65,V=69,L=70,H=88,U=90,B=91,z=92,q=93,W=94,G=95,Y=97,X=101,K=102,Z=110,$=114,Q=116,J=117,tt=118,et=120,nt=122,rt=123,it=124,ot=125,st=160,at=96},function(t,e,n){"use strict";function r(t,e){return new o.q({type:t.type,isComponent:t.isComponent,selector:t.selector,exportAs:t.exportAs,changeDetection:t.changeDetection,inputs:t.inputs,outputs:t.outputs,hostListeners:t.hostListeners,hostProperties:t.hostProperties,hostAttributes:t.hostAttributes,providers:t.providers,viewProviders:t.viewProviders,queries:t.queries,viewQueries:t.viewQueries,entryComponents:t.entryComponents,template:e})}var i=n(1),o=n(24),s=n(77),a=n(36),u=n(4),c=n(61),l=n(117),p=n(42),h=n(181),f=n(288),d=n(290),m=n(91),y=n(62);n.d(e,"a",function(){return v});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var v=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;t.isComponent&&(this._resourceLoaderCache.delete(t.template.templateUrl),t.template.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)}))},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeDirective=function(t){var e=this;if(!t.isComponent)return new y.e(t,Promise.resolve(t));var i,o=null;if(n.i(u.a)(t.template.template))o=this.normalizeTemplateSync(t.type,t.template),i=Promise.resolve(o);else{if(!t.template.templateUrl)throw new Error("No template specified for component "+t.type.name);i=this.normalizeTemplateAsync(t.type,t.template)}if(o&&0===o.styleUrls.length){var s=r(t,o);return new y.e(s,Promise.resolve(s))}return new y.e(null,i.then(function(t){return e.normalizeExternalStylesheets(t)}).then(function(e){return r(t,e)}))},t.prototype.normalizeTemplateSync=function(t,e){return this.normalizeLoadedTemplate(t,e,e.template,t.moduleUrl)},t.prototype.normalizeTemplateAsync=function(t,e){var n=this,r=this._urlResolver.resolve(t.moduleUrl,e.templateUrl);return this._fetch(r).then(function(i){return n.normalizeLoadedTemplate(t,e,i,r)})},t.prototype.normalizeLoadedTemplate=function(t,e,r,s){var a=p.b.fromArray(e.interpolation),l=this._htmlParser.parse(r,t.name,!1,a);if(l.errors.length>0){var h=l.errors.join("\n");throw new Error("Template parse errors:\n"+h)}var f=this.normalizeStylesheet(new o.o({styles:e.styles,styleUrls:e.styleUrls,moduleUrl:t.moduleUrl})),d=new g;c.g(d,l.rootNodes);var m=this.normalizeStylesheet(new o.o({styles:d.styles,styleUrls:d.styleUrls,moduleUrl:s})),y=e.encapsulation;n.i(u.e)(y)&&(y=this._config.defaultEncapsulation);var v=f.styles.concat(m.styles),b=f.styleUrls.concat(m.styleUrls);return y===i.ViewEncapsulation.Emulated&&0===v.length&&0===b.length&&(y=i.ViewEncapsulation.None),new o.p({encapsulation:y,template:r,templateUrl:s,styles:v,styleUrls:b,externalStylesheets:e.externalStylesheets,ngContentSelectors:d.ngContentSelectors,animations:e.animations,interpolation:e.interpolation})},t.prototype.normalizeExternalStylesheets=function(t){return this._loadMissingExternalStylesheets(t.styleUrls).then(function(e){return new o.p({encapsulation:t.encapsulation,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,externalStylesheets:e,ngContentSelectors:t.ngContentSelectors,animations:t.animations,interpolation:t.interpolation})})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),Promise.all(t.filter(function(t){return!e.has(t)}).map(function(t){return n._fetch(t).then(function(r){var i=n.normalizeStylesheet(new o.o({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})).then(function(t){return a.b.values(e)})},t.prototype.normalizeStylesheet=function(t){var e=this,r=t.styleUrls.filter(f.a).map(function(n){return e._urlResolver.resolve(t.moduleUrl,n)}),i=t.styles.map(function(i){var o=n.i(f.b)(e._urlResolver,t.moduleUrl,i);return r.push.apply(r,o.styleUrls),o.style});return new o.o({styles:i,styleUrls:r,moduleUrl:t.moduleUrl})},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:h.a},{type:m.a},{type:l.b},{type:s.a}],t}(),g=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var r=n.i(d.a)(t);switch(r.type){case d.b.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(r.selectAttr);break;case d.b.STYLE:var i="";t.children.forEach(function(t){t instanceof c.d&&(i+=t.value)}),this.styles.push(i);break;case d.b.STYLESHEET:this.styleUrls.push(r.hrefAttr)}return r.nonBindable&&this.ngNonBindableStackCount++,c.g(this,t.children),r.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t}()},function(t,e,n){"use strict";function r(t){return t instanceof i.Directive}var i=n(1),o=n(36),s=n(4),a=n(18),u=n(62);n.d(e,"a",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var c=function(){function t(t){void 0===t&&(t=a.A),this._reflector=t}return t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var o=this._reflector.annotations(n.i(i.resolveForwardRef)(t));if(o){var a=o.find(r);if(a){var u=this._reflector.propMetadata(t);return this._mergeWithPropertyMetadata(a,u,t)}}if(e)throw new Error("No Directive annotation found on "+n.i(s.i)(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,e,n){var r=[],o=[],s={},a={};return Object.keys(e).forEach(function(t){e[t].forEach(function(e){if(e instanceof i.Input)e.bindingPropertyName?r.push(t+": "+e.bindingPropertyName):r.push(t);else if(e instanceof i.Output){var n=e;n.bindingPropertyName?o.push(t+": "+n.bindingPropertyName):o.push(t)}else if(e instanceof i.HostBinding){var u=e;if(u.hostPropertyName){var c=u.hostPropertyName[0];if("("===c)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===c)throw new Error("@HostBinding parameter should be a property name, 'class.', or 'attr.'.");s["["+u.hostPropertyName+"]"]=t}else s["["+t+"]"]=t}else if(e instanceof i.HostListener){var l=e,p=l.args||[];s["("+l.eventName+")"]=t+"("+p.join(",")+")"}else e instanceof i.Query&&(a[t]=e)})}),this._merge(t,r,o,s,a,n)},t.prototype._extractPublicName=function(t){return n.i(u.b)(t,[null,t])[1].trim()},t.prototype._merge=function(t,e,r,a,u,c){var l=this,p=e;if(t.inputs){var h=t.inputs.map(function(t){return l._extractPublicName(t)});e.forEach(function(t){var e=l._extractPublicName(t);if(h.indexOf(e)>-1)throw new Error("Input '"+e+"' defined multiple times in '"+n.i(s.i)(c)+"'")}),p.unshift.apply(p,t.inputs)}var f=r;if(t.outputs){var d=t.outputs.map(function(t){return l._extractPublicName(t)});r.forEach(function(t){var e=l._extractPublicName(t);if(d.indexOf(e)>-1)throw new Error("Output event '"+e+"' defined multiple times in '"+n.i(s.i)(c)+"'")}),f.unshift.apply(f,t.outputs)}var m=t.host?o.c.merge(t.host,a):a,y=t.queries?o.c.merge(t.queries,u):u;return t instanceof i.Component?new i.Component({selector:t.selector,inputs:p,outputs:f,host:m,exportAs:t.exportAs,moduleId:t.moduleId,queries:y,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation}):new i.Directive({selector:t.selector,inputs:p,outputs:f,host:m,exportAs:t.exportAs,queries:y,providers:t.providers})},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:a.I}],t}()},function(t,e,n){"use strict";var r=n(4);n.d(e,"b",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"p",function(){return l}),n.d(e,"h",function(){return p}),n.d(e,"j",function(){return h}),n.d(e,"w",function(){return f}),n.d(e,"v",function(){return d}),n.d(e,"u",function(){return m}),n.d(e,"n",function(){return y}),n.d(e,"m",function(){return v}),n.d(e,"i",function(){return g}),n.d(e,"f",function(){return b}),n.d(e,"q",function(){return _}),n.d(e,"r",function(){return w}),n.d(e,"e",function(){return x}),n.d(e,"k",function(){return E}),n.d(e,"l",function(){return S}),n.d(e,"t",function(){return C}),n.d(e,"s",function(){return O}),n.d(e,"o",function(){return k}),n.d(e,"a",function(){return P}),n.d(e,"x",function(){return T}),n.d(e,"y",function(){return A});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r}return t}(),s=function(){function t(t,e){this.start=t,this.end=e}return t}(),a=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),u=function(t){function e(e,n,r,i){t.call(this,e),this.prefix=n,this.uninterpretedExpression=r,this.location=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(a),c=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(a),l=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(a),p=function(t){function e(e,n){t.call(this,e),this.expressions=n}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(a),h=function(t){function e(e,n,r,i){t.call(this,e),this.condition=n,this.trueExp=r,this.falseExp=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(a),f=function(t){function e(e,n,r){t.call(this,e),this.receiver=n,this.name=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(a),d=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.value=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(a),m=function(t){function e(e,n,r){t.call(this,e),this.receiver=n,this.name=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(a),y=function(t){function e(e,n,r){t.call(this,e),this.obj=n,this.key=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(a),v=function(t){function e(e,n,r,i){t.call(this,e),this.obj=n,this.key=r,this.value=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(a),g=function(t){function e(e,n,r,i){t.call(this,e),this.exp=n,this.name=r,this.args=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(a),b=function(t){function e(e,n){t.call(this,e),this.value=n}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(a),_=function(t){function e(e,n){t.call(this,e),this.expressions=n}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(a),w=function(t){function e(e,n,r){t.call(this,e),this.keys=n,this.values=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(a),x=function(t){function e(e,n,r){t.call(this,e),this.strings=n,this.expressions=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(a),E=function(t){function e(e,n,r,i){t.call(this,e),this.operation=n,this.left=r,this.right=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(a),S=function(t){function e(e,n){t.call(this,e),this.expression=n}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(a),C=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.args=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(a),O=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.args=i}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(a),k=function(t){function e(e,n,r){t.call(this,e),this.target=n,this.args=r}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(a),P=function(t){function e(e,i,o,a){t.call(this,new s(0,n.i(r.e)(i)?0:i.length)),this.ast=e,this.source=i,this.location=o,this.errors=a}return i(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(a),T=function(){function t(t,e,n,r){this.key=t,this.keyIsVar=e,this.name=n,this.expression=r}return t}(),A=function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}();(function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new x(t.span,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new b(t.span,t.value)},t.prototype.visitPropertyRead=function(t,e){return new f(t.span,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new d(t.span,t.receiver.visit(this),t.name,t.value)},t.prototype.visitSafePropertyRead=function(t,e){return new m(t.span,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new C(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitSafeMethodCall=function(t,e){return new O(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitFunctionCall=function(t,e){return new k(t.span,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new _(t.span,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new w(t.span,t.keys,this.visitAll(t.values))},t.prototype.visitBinary=function(t,e){return new E(t.span,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new S(t.span,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new h(t.span,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new g(t.span,t.exp.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitKeyedRead=function(t,e){return new y(t.span,t.obj.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new v(t.span,t.obj.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=new Array(t.length),n=0;n>5]|=128<<24-r%32,n[(r+64>>9<<4)+15]=r;for(var v=0;v>>4&15).toString(16)+(15&I).toString(16)}return A.toLowerCase();var M,R}function s(t){for(var e="",n=0;n>>6,128|63&r):r<=65535?e+=String.fromCharCode(224|r>>>12,128|r>>>6&63,128|63&r):r<=2097151&&(e+=String.fromCharCode(240|r>>>18,128|r>>>12&63,128|r>>>6&63,128|63&r))}return e}function a(t,e){if(e<0||e>=t.length)throw new Error("index="+e+' is out of range in "'+t+'"');var n,r=t.charCodeAt(e);return r>=55296&&r<=57343&&t.length>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(r-55296)+n-56320+65536:r}function u(t){for(var e=Array(t.length>>>2),n=0;n>>2]|=(255&t.charCodeAt(n))<<8*(3-n&3);return e}function c(t){for(var e="",n=0;n<4*t.length;n++)e+=String.fromCharCode(t[n>>>2]>>>8*(3-n&3)&255);return e}function l(t,e,n,r){return t<20?[e&n|~e&r,1518500249]:t<40?[e^n^r,1859775393]:t<60?[e&n|e&r|n&r,2400959708]:[e^n^r,3395469782]}function p(t,e){var n=(65535&t)+(65535&e),r=(t>>16)+(e>>16)+(n>>16);return r<<16|65535&n}function h(t,e){return t<>>32-e}e.a=r;var f=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'':''+t.children.map(function(t){return t.visit(n)}).join(", ")+''},t.prototype.visitPlaceholder=function(t,e){return''+t.value+""},t.prototype.visitIcuPlaceholder=function(t,e){return''+t.value.visit(this)+""},t}(),d=new f},function(t,e,n){"use strict";var r=n(37);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e,n){t.call(this,e,n)}return i(e,t),e}(r.a)},function(t,e,n){"use strict";function r(t,e,n,i){return void 0===n&&(n=[]),void 0===i&&(i=new Set),t.forEach(function(t){if(!i.has(t.type.reference)){i.add(t.type.reference);var o=e?t.importedModules.concat(t.exportedModules):t.exportedModules;r(o,e,n,i),n.push(t)}}),n}function i(t,e){if(void 0===e&&(e=[]),t)for(var r=0;r=0){var r=this._anonymousTypes.get(t);r||(this._anonymousTypes.set(t,this._anonymousTypeIndex++),r=this._anonymousTypes.get(t)),e="anonymous_token_"+r+"_"}return n.i(w.a)(e)},t.prototype.clearCacheFor=function(t){this._directiveCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear()},t.prototype.clearCache=function(){this._directiveCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear()},t.prototype.getAnimationEntryMetadata=function(t){var e=this,n=t.definitions.map(function(t){return e.getAnimationStateMetadata(t)});return new p.r(t.name,n)},t.prototype.getAnimationStateMetadata=function(t){if(t instanceof c.AnimationStateDeclarationMetadata){var e=this.getAnimationStyleMetadata(t.styles);return new p.g(t.stateNameExpr,e)}return t instanceof c.AnimationStateTransitionMetadata?new p.s(t.stateChangeExpr,this.getAnimationMetadata(t.steps)):null},t.prototype.getAnimationStyleMetadata=function(t){return new p.k(t.offset,t.styles)},t.prototype.getAnimationMetadata=function(t){var e=this;if(t instanceof c.AnimationStyleMetadata)return this.getAnimationStyleMetadata(t);if(t instanceof c.AnimationKeyframesSequenceMetadata)return new p.m(t.steps.map(function(t){return e.getAnimationStyleMetadata(t)}));if(t instanceof c.AnimationAnimateMetadata){var n=this.getAnimationMetadata(t.styles);return new p.l(t.timings,n)}if(t instanceof c.AnimationWithStepsMetadata){var r=t.steps.map(function(t){return e.getAnimationMetadata(t)});return t instanceof c.AnimationGroupMetadata?new p.i(r):new p.h(r)}return null},t.prototype.getDirectiveMetadata=function(t,e){var r=this;void 0===e&&(e=!0),t=n.i(c.resolveForwardRef)(t);var o=this._directiveCache.get(t);if(!o){var u=this._directiveResolver.resolve(t,e);if(!u)return null;var h=null,d=null,m=[],y=s(t),v=[],g=u.selector;if(u instanceof c.Component){n.i(l.b)("styles",u.styles),n.i(l.b)("styleUrls",u.styleUrls),n.i(l.a)("interpolation",u.interpolation);var b=u.animations?u.animations.map(function(t){return r.getAnimationEntryMetadata(t)}):null;h=new p.p({encapsulation:u.encapsulation,template:u.template,templateUrl:u.templateUrl,styles:u.styles,styleUrls:u.styleUrls,animations:b,interpolation:u.interpolation}),d=u.changeDetection,u.viewProviders&&(m=this.getProvidersMetadata(u.viewProviders,v,'viewProviders for "'+n.i(f.i)(t)+'"')),y=a(this._reflector,t,u),u.entryComponents&&(v=i(u.entryComponents).map(function(t){return r.getTypeMetadata(t,s(t))}).concat(v)),g||(g=this._schemaRegistry.getDefaultComponentElementName())}else if(!g)throw new Error("Directive "+n.i(f.i)(t)+" has no selector, please add it!");var _=[];n.i(f.a)(u.providers)&&(_=this.getProvidersMetadata(u.providers,v,'providers for "'+n.i(f.i)(t)+'"'));var w=[],x=[];n.i(f.a)(u.queries)&&(w=this.getQueriesMetadata(u.queries,!1,t),x=this.getQueriesMetadata(u.queries,!0,t)),o=p.q.create({selector:g,exportAs:u.exportAs,isComponent:!!h,type:this.getTypeMetadata(t,y),template:h,changeDetection:d,inputs:u.inputs,outputs:u.outputs,host:u.host,providers:_,viewProviders:m,queries:w,viewQueries:x,entryComponents:v}),this._directiveCache.set(t,o)}return o},t.prototype.getNgModuleMetadata=function(t,e){var r=this;void 0===e&&(e=!0),t=n.i(c.resolveForwardRef)(t);var a=this._ngModuleCache.get(t);if(!a){var u=this._ngModuleResolver.resolve(t,e);if(!u)return null;var l=[],h=[],d=[],m=[],y=[],v=[],g=[],b=[],_=[],w=[];u.imports&&i(u.imports).forEach(function(e){var i;if(o(e))i=e;else if(e&&e.ngModule){var s=e;i=s.ngModule,s.providers&&g.push.apply(g,r.getProvidersMetadata(s.providers,b,"provider for the NgModule '"+n.i(f.i)(i)+"'"))}if(!i)throw new Error("Unexpected value '"+n.i(f.i)(e)+"' imported by the module '"+n.i(f.i)(t)+"'");var a=r.getNgModuleMetadata(i,!1);if(null===a)throw new Error("Unexpected "+r._getTypeDescriptor(e)+" '"+n.i(f.i)(e)+"' imported by the module '"+n.i(f.i)(t)+"'");y.push(a)}),u.exports&&i(u.exports).forEach(function(e){if(!o(e))throw new Error("Unexpected value '"+n.i(f.i)(e)+"' exported by the module '"+n.i(f.i)(t)+"'");var i,s,a;if(i=r.getDirectiveMetadata(e,!1))h.push(i);else if(s=r.getPipeMetadata(e,!1))m.push(s);else{if(!(a=r.getNgModuleMetadata(e,!1)))throw new Error("Unexpected "+r._getTypeDescriptor(e)+" '"+n.i(f.i)(e)+"' exported by the module '"+n.i(f.i)(t)+"'");v.push(a)}});var x=this._getTransitiveNgModuleMetadata(y,v);if(u.declarations&&i(u.declarations).forEach(function(e){if(!o(e))throw new Error("Unexpected value '"+n.i(f.i)(e)+"' declared by the module '"+n.i(f.i)(t)+"'");var i,s;if(i=r.getDirectiveMetadata(e,!1))r._addDirectiveToModule(i,t,x,l,!0);else{if(!(s=r.getPipeMetadata(e,!1)))throw new Error("Unexpected "+r._getTypeDescriptor(e)+" '"+n.i(f.i)(e)+"' declared by the module '"+n.i(f.i)(t)+"'");r._addPipeToModule(s,t,x,d,!0)}}),u.providers&&g.push.apply(g,this.getProvidersMetadata(u.providers,b,"provider for the NgModule '"+n.i(f.i)(t)+"'")),u.entryComponents&&b.push.apply(b,i(u.entryComponents).map(function(t){return r.getTypeMetadata(t,s(t))})),u.bootstrap){var E=i(u.bootstrap).map(function(e){if(!o(e))throw new Error("Unexpected value '"+n.i(f.i)(e)+"' used in the bootstrap property of module '"+n.i(f.i)(t)+"'");return r.getTypeMetadata(e,s(e))});_.push.apply(_,E)}b.push.apply(b,_),u.schemas&&w.push.apply(w,i(u.schemas)),(S=x.entryComponents).push.apply(S,b),(C=x.providers).push.apply(C,g),a=new p.t({type:this.getTypeMetadata(t,s(t)),providers:g,entryComponents:b,bootstrapComponents:_,schemas:w,declaredDirectives:l,exportedDirectives:h,declaredPipes:d,exportedPipes:m,importedModules:y,exportedModules:v,transitiveModule:x,id:u.id}),x.modules.push(a),this._verifyModule(a),this._ngModuleCache.set(t,a)}return a;var S,C},t.prototype._verifyModule=function(t){t.exportedDirectives.forEach(function(e){if(!t.transitiveModule.directivesSet.has(e.type.reference))throw new Error("Can't export directive "+n.i(f.i)(e.type.reference)+" from "+n.i(f.i)(t.type.reference)+" as it was neither declared nor imported!")}),t.exportedPipes.forEach(function(e){if(!t.transitiveModule.pipesSet.has(e.type.reference))throw new Error("Can't export pipe "+n.i(f.i)(e.type.reference)+" from "+n.i(f.i)(t.type.reference)+" as it was neither declared nor imported!")})},t.prototype._getTypeDescriptor=function(t){return this._directiveResolver.resolve(t,!1)?"directive":this._pipeResolver.resolve(t,!1)?"pipe":this._ngModuleResolver.resolve(t,!1)?"module":t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var r=this._ngModuleOfTypes.get(t);if(r&&r!==e)throw new Error("Type "+n.i(f.i)(t)+" is part of the declarations of 2 modules: "+n.i(f.i)(r)+" and "+n.i(f.i)(e)+"! "+("Please consider moving "+n.i(f.i)(t)+" to a higher module that imports "+n.i(f.i)(r)+" and "+n.i(f.i)(e)+". ")+("You can also create a new NgModule that exports and includes "+n.i(f.i)(t)+" then import that NgModule in "+n.i(f.i)(r)+" and "+n.i(f.i)(e)+"."));this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=r(t.concat(e),!0),o=i(n.map(function(t){return t.providers})),s=i(n.map(function(t){return t.entryComponents})),a=r(t,!1),u=i(a.map(function(t){return t.exportedDirectives})),c=i(a.map(function(t){return t.exportedPipes}));return new p.u(n,o,s,u,c)},t.prototype._addDirectiveToModule=function(t,e,n,r,i){return void 0===i&&(i=!1),!(!i&&n.directivesSet.has(t.type.reference))&&(n.directivesSet.add(t.type.reference),n.directives.push(t),r.push(t),this._addTypeToModule(t.type.reference,e),!0)},t.prototype._addPipeToModule=function(t,e,n,r,i){return void 0===i&&(i=!1),!(!i&&n.pipesSet.has(t.type.reference))&&(n.pipesSet.add(t.type.reference),n.pipes.push(t),r.push(t),this._addTypeToModule(t.type.reference,e),!0)},t.prototype.getTypeMetadata=function(t,e,r){return void 0===r&&(r=null),t=n.i(c.resolveForwardRef)(t),new p.e({name:this.sanitizeTokenName(t),moduleUrl:e,reference:t,diDeps:this.getDependenciesMetadata(t,r),lifecycleHooks:g.J.filter(function(e){return n.i(m.a)(e,t)})})},t.prototype.getFactoryMetadata=function(t,e,r){return void 0===r&&(r=null),t=n.i(c.resolveForwardRef)(t),new p.v({name:this.sanitizeTokenName(t),moduleUrl:e,reference:t,diDeps:this.getDependenciesMetadata(t,r)})},t.prototype.getPipeMetadata=function(t,e){void 0===e&&(e=!0),t=n.i(c.resolveForwardRef)(t);var r=this._pipeCache.get(t);if(!r){var i=this._pipeResolver.resolve(t,e);if(!i)return null;r=new p.w({type:this.getTypeMetadata(t,s(t)),name:i.name,pure:i.pure}),this._pipeCache.set(t,r)}return r},t.prototype.getDependenciesMetadata=function(t,e){var r=this,i=!1,s=e||this._reflector.parameters(t)||[],a=s.map(function(e){var s=!1,a=!1,u=!1,l=!1,h=!1,d=null,m=null,y=null;return Array.isArray(e)?e.forEach(function(t){t instanceof c.Host?a=!0:t instanceof c.Self?u=!0:t instanceof c.SkipSelf?l=!0:t instanceof c.Optional?h=!0:t instanceof c.Attribute?(s=!0,y=t.attributeName):t instanceof c.Query?t.isViewQuery?m=t:d=t:t instanceof c.Inject?y=t.token:o(t)&&n.i(f.e)(y)&&(y=t)}):y=e,n.i(f.e)(y)?(i=!0,null):new p.c({isAttribute:s,isHost:a,isSelf:u,isSkipSelf:l,isOptional:h,query:d?r.getQueryMetadata(d,null,t):null,viewQuery:m?r.getQueryMetadata(m,null,t):null,token:r.getTokenMetadata(y)})});if(i){var u=a.map(function(t){return t?n.i(f.i)(t.token):"?"}).join(", ");throw new Error("Can't resolve all parameters for "+n.i(f.i)(t)+": ("+u+").")}return a},t.prototype.getTokenMetadata=function(t){t=n.i(c.resolveForwardRef)(t);var e;return e="string"==typeof t?new p.b({value:t}):new p.b({identifier:new p.a({reference:t,name:this.sanitizeTokenName(t),moduleUrl:s(t)})})},t.prototype.getProvidersMetadata=function(t,e,r){var i=this,a=[];return t.forEach(function(u,l){u=n.i(c.resolveForwardRef)(u),u&&"object"==typeof u&&u.hasOwnProperty("provide")&&(u=new p.x(u.provide,u));var h;if(Array.isArray(u))h=i.getProvidersMetadata(u,e,r);else if(u instanceof p.x){var m=i.getTokenMetadata(u.token);m.reference===n.i(d.a)(d.b.ANALYZE_FOR_ENTRY_COMPONENTS).reference?e.push.apply(e,i._getEntryComponentsFromProvider(u)):h=i.getProviderMetadata(u)}else{if(!o(u)){var y=t.reduce(function(t,e,r){return r0&&r.forEach(function(t){return e.closedByChildren[t]=!0}),this.isVoid=h,this.closedByParent=l||h,o&&o.length>0&&(this.requiredParents={},this.parentToAdd=o[0],o.forEach(function(t){return e.requiredParents[t]=!0})),this.implicitNamespacePrefix=s,this.contentType=u,this.ignoreFirstLf=d}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return 1!=this.requiredParents[e]&&"template"!=e},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),s={base:new o({isVoid:!0}),meta:new o({isVoid:!0}),area:new o({isVoid:!0}),embed:new o({isVoid:!0}),link:new o({isVoid:!0}),img:new o({isVoid:!0}),input:new o({isVoid:!0}),param:new o({isVoid:!0}),hr:new o({isVoid:!0}),br:new o({isVoid:!0}),source:new o({isVoid:!0}),track:new o({isVoid:!0}),wbr:new o({isVoid:!0}),p:new o({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new o({closedByChildren:["tbody","tfoot"]}),tbody:new o({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new o({closedByChildren:["tbody"],closedByParent:!0}),tr:new o({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new o({closedByChildren:["td","th"],closedByParent:!0}),th:new o({closedByChildren:["td","th"],closedByParent:!0}),col:new o({requiredParents:["colgroup"],isVoid:!0}),svg:new o({implicitNamespacePrefix:"svg"}),math:new o({implicitNamespacePrefix:"math"}),li:new o({closedByChildren:["li"],closedByParent:!0}),dt:new o({closedByChildren:["dt","dd"]}),dd:new o({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new o({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new o({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new o({closedByChildren:["optgroup"],closedByParent:!0}),option:new o({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new o({ignoreFirstLf:!0}),listing:new o({ignoreFirstLf:!0}),style:new o({contentType:i.a.RAW_TEXT}),script:new o({contentType:i.a.RAW_TEXT}),title:new o({contentType:i.a.ESCAPABLE_RAW_TEXT}),textarea:new o({contentType:i.a.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},a=new o},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(48),s=n(4),a=n(15),u=n(179),c=n(10),l=n(284),p=n(37),h=n(18),f=n(285);n.d(e,"a",function(){return y});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var d=function(){function t(t,e){this.comp=t,this.placeholder=e}return t}(),m=function(){function t(t,e,n){this.statements=t,this.ngModuleFactoryVar=e,this.dependencies=n}return t}(),y=function(){function t(){}return t.prototype.compile=function(t,e){var r=n.i(s.a)(t.type.moduleUrl)?"in NgModule "+t.type.name+" in "+t.type.moduleUrl:"in NgModule "+t.type.name,o=new p.b("",r),u=new p.d(new p.c(o,null,null,null),new p.c(o,null,null,null)),l=[],h=[],y=t.transitiveModule.entryComponents.map(function(e){var n=new i.a({name:e.name});return t.bootstrapComponents.indexOf(e)>-1&&h.push(n),l.push(new d(e,n)),n}),g=new v(t,y,h,u),b=new f.c(t,e,u);b.parse().forEach(function(t){return g.addProvider(t)});var _=g.build(),w=t.type.name+"NgFactory",x=c.a(w).set(c.d(n.i(a.d)(a.b.NgModuleFactory)).instantiate([c.a(_.name),c.d(t.type)],c.k(n.i(a.d)(a.b.NgModuleFactory),[c.k(t.type)],[c.m.Const]))).toDeclStmt(null,[c.p.Final]),E=[_,x];if(t.id){var S=c.d(n.i(a.d)(a.b.RegisterModuleFactoryFn)).callFn([c.c(t.id),c.a(w)]).toStmt();E.push(S)}return new m(E,w,l)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}(),v=function(){function t(t,e,n,r){this._ngModuleMeta=t,this._entryComponentFactories=e,this._bootstrapComponentFactories=n,this._sourceSpan=r,this.fields=[],this.getters=[],this.methods=[],this.ctorStmts=[],this._tokens=[],this._instances=new Map,this._createStmts=[],this._destroyStmts=[]}return t.prototype.addProvider=function(t){var e=this,n=t.providers.map(function(t){return e._getProviderValue(t)}),r="_"+t.token.name+"_"+this._instances.size,i=this._createProviderProperty(r,t,n,t.multiProvider,t.eager);t.lifecycleHooks.indexOf(h.G.OnDestroy)!==-1&&this._destroyStmts.push(i.callMethod("ngOnDestroy",[]).toStmt()),this._tokens.push(t.token),this._instances.set(t.token.reference,i)},t.prototype.build=function(){var t=this,e=this._tokens.map(function(e){var r=t._instances.get(e.reference);return new c.g(b.token.identical(n.i(o.c)(e)),[new c.i(r)])}),r=[new c.A("createInternal",[],this._createStmts.concat(new c.i(this._instances.get(this._ngModuleMeta.type.reference))),c.k(this._ngModuleMeta.type)),new c.A("getInternal",[new c.j(b.token.name,c.l),new c.j(b.notFoundResult.name,c.l)],e.concat([new c.i(b.notFoundResult)]),c.l),new c.A("destroyInternal",[],this._destroyStmts)],i=[c.a(g.parent.name),c.e(this._entryComponentFactories.map(function(t){return c.d(t)})),c.e(this._bootstrapComponentFactories.map(function(t){return c.d(t)}))],s=this._ngModuleMeta.type.name+"Injector";return n.i(u.a)({name:s,ctorParams:[new c.j(g.parent.name,c.k(n.i(a.d)(a.b.Injector)))],parent:c.d(n.i(a.d)(a.b.NgModuleInjector),[c.k(this._ngModuleMeta.type)]),parentArgs:i,builders:[{methods:r},this]})},t.prototype._getProviderValue=function(t){var e,r=this;if(n.i(s.a)(t.useExisting))e=this._getDependency(new i.c({token:t.useExisting}));else if(n.i(s.a)(t.useFactory)){var o=t.deps||t.useFactory.diDeps,a=o.map(function(t){return r._getDependency(t)});e=c.d(t.useFactory).callFn(a)}else if(n.i(s.a)(t.useClass)){var o=t.deps||t.useClass.diDeps,a=o.map(function(t){return r._getDependency(t)});e=c.d(t.useClass).instantiate(a,c.k(t.useClass))}else e=n.i(l.a)(t.useValue);return e},t.prototype._createProviderProperty=function(t,e,n,r,i){var o,s;if(r?(o=c.e(n),s=new c.w(c.l)):(o=n[0],s=n[0].type),s||(s=c.l),i)this.fields.push(new c.n(t,s)),this._createStmts.push(c.o.prop(t).set(o).toStmt());else{var a="_"+t;this.fields.push(new c.n(a,s));var u=[new c.g(c.o.prop(a).isBlank(),[c.o.prop(a).set(o).toStmt()]),new c.i(c.o.prop(a))];this.getters.push(new c.J(t,u,s))}return c.o.prop(t)},t.prototype._getDependency=function(t){var e=null;if(t.isValue&&(e=c.c(t.value)),t.isSkipSelf||(!t.token||t.token.reference!==n.i(a.a)(a.b.Injector).reference&&t.token.reference!==n.i(a.a)(a.b.ComponentFactoryResolver).reference||(e=c.o),e||(e=this._instances.get(t.token.reference))),!e){var r=[n.i(o.c)(t.token)];t.isOptional&&r.push(c.f),e=g.parent.callMethod("get",r)}return e},t}(),g=function(){function t(){}return t.parent=c.o.prop("parent"),t}(),b=function(){function t(){}return t.token=c.a("token"),t.notFoundResult=c.a("notFoundResult"),t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return t instanceof i.NgModule}var i=n(1),o=n(4),s=n(18);n.d(e,"a",function(){return a});var a=function(){function t(t){void 0===t&&(t=s.A),this._reflector=t}return t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var i=this._reflector.annotations(t).find(r);if(n.i(o.a)(i))return i;if(e)throw new Error("No NgModule metadata found for '"+n.i(o.i)(t)+"'.");return null},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:s.I}],t}()},function(t,e,n){"use strict";function r(t,e,r){if(void 0===r&&(r=!0),n.i(o.e)(t))return null;var i=t.replace(a,function(){for(var t=[],n=0;n0&&this._currentLine.parts.push(t),e&&this._lines.push(new p(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},t.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){var t=this._lines;return 0===t[t.length-1].parts.length&&(t=t.slice(0,t.length-1)),t.map(function(t){return t.parts.length>0?i(t.indent)+t.parts.join(""):""}).join("\n")},t}(),f=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print("return "),t.value.visitExpression(this,e),e.println(";"),null},t.prototype.visitIfStmt=function(t,e){e.print("if ("),t.condition.visitExpression(this,e),e.print(") {");var r=n.i(o.a)(t.falseCase)&&t.falseCase.length>0;return t.trueCase.length<=1&&!r?(e.print(" "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(" ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),r&&(e.println("} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println("}"),null},t.prototype.visitThrowStmt=function(t,e){return e.print("throw "),t.error.visitExpression(this,e),e.println(";"),null},t.prototype.visitCommentStmt=function(t,e){var n=t.comment.split("\n");return n.forEach(function(t){e.println("// "+t)}),null},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),e.print(t.name+" = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),t.receiver.visitExpression(this,e),e.print("["),t.index.visitExpression(this,e),e.print("] = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),t.receiver.visitExpression(this,e),e.print("."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var r=t.name;return n.i(o.a)(t.builtin)&&(r=this.getBuiltinMethodName(t.builtin),n.i(o.e)(r))?null:(e.print("."+r+"("),this.visitAllExpressions(t.args,e,","),e.print(")"),null)},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print("("),this.visitAllExpressions(t.args,e,","),e.print(")"),null},t.prototype.visitReadVarExpr=function(t,e){var r=t.name;if(n.i(o.a)(t.builtin))switch(t.builtin){case s.F.Super:r="super";break;case s.F.This:r="this";break;case s.F.CatchError:r=c.name;break;case s.F.CatchStack:r=l.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(r),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print("new "),t.classExpr.visitExpression(this,e),e.print("("),this.visitAllExpressions(t.args,e,","),e.print(")"),null},t.prototype.visitLiteralExpr=function(t,e,i){void 0===i&&(i="null");var s=t.value;return"string"==typeof s?e.print(r(s,this._escapeDollarInStrings)):n.i(o.e)(s)?e.print(i):e.print(""+s),null},t.prototype.visitConditionalExpr=function(t,e){return e.print("("),t.condition.visitExpression(this,e),e.print("? "),t.trueCase.visitExpression(this,e),e.print(": "),t.falseCase.visitExpression(this,e),e.print(")"),null},t.prototype.visitNotExpr=function(t,e){return e.print("!"),t.condition.visitExpression(this,e),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case s.s.Equals:n="==";break;case s.s.Identical:n="===";break;case s.s.NotEquals:n="!=";break;case s.s.NotIdentical:n="!==";break;case s.s.And:n="&&";break;case s.s.Or:n="||";break;case s.s.Plus:n="+";break;case s.s.Minus:n="-";break;case s.s.Divide:n="/";break;case s.s.Multiply:n="*";break;case s.s.Modulo:n="%";break;case s.s.Lower:n="<";break;case s.s.LowerEquals:n="<=";break;case s.s.Bigger:n=">";break;case s.s.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print("("),t.lhs.visitExpression(this,e),e.print(" "+n+" "),t.rhs.visitExpression(this,e),e.print(")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print("."),e.print(t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print("["),t.index.visitExpression(this,e),e.print("]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){var n=t.entries.length>1;return e.print("[",n),e.incIndent(),this.visitAllExpressions(t.entries,e,",",n),e.decIndent(),e.print("]",n),null},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,i=t.entries.length>1;return e.print("{",i),e.incIndent(),this.visitAllObjects(function(t){e.print(r(t[0],n._escapeDollarInStrings,!1)+": "),t[1].visitExpression(n,e)},t.entries,e,",",i),e.decIndent(),e.print("}",i),null},t.prototype.visitAllExpressions=function(t,e,n,r){var i=this;void 0===r&&(r=!1),this.visitAllObjects(function(t){return t.visitExpression(i,e)},t,e,n,r)},t.prototype.visitAllObjects=function(t,e,n,r,i){void 0===i&&(i=!1);for(var o=0;o0&&n.print(r,i),t(e[o]);i&&n.println()},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){var e=t.parentArgs||[],n=t.parent?[o.z.callFn(e).toStmt()]:[],r=i(Array.isArray(t.builders)?t.builders:[t.builders]),s=new o.A(null,t.ctorParams||[],n.concat(r.ctorStmts));return new o.B(t.name,t.parent,r.fields,r.getters,s,r.methods,t.modifiers||[])}function i(t){return{fields:(e=[]).concat.apply(e,t.map(function(t){return t.fields||[]})),methods:(n=[]).concat.apply(n,t.map(function(t){return t.methods||[]})),getters:(r=[]).concat.apply(r,t.map(function(t){return t.getters||[]})),ctorStmts:(i=[]).concat.apply(i,t.map(function(t){return t.ctorStmts||[]}))};var e,n,r,i}var o=n(10);e.a=r},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return t instanceof i.Pipe}var i=n(1),o=n(4),s=n(18);n.d(e,"a",function(){return a});var a=function(){function t(t){void 0===t&&(t=s.A),this._reflector=t}return t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var s=this._reflector.annotations(n.i(i.resolveForwardRef)(t));if(n.i(o.a)(s)){var a=s.find(r);if(n.i(o.a)(a))return a}if(e)throw new Error("No Pipe decorator found on "+n.i(o.i)(t));return null},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:s.I}],t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return t.prototype.get=function(t){return null},t}()},function(t,e,n){"use strict";function r(t){var e="styles";return t&&(e+="_"+t.type.name),e}var i=n(1),o=n(24),s=n(10),a=n(514),u=n(91);n.d(e,"a",function(){return m});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var c="%COMP%",l="_nghost-"+c,p="_ngcontent-"+c,h=function(){function t(t,e,n){this.moduleUrl=t,this.isShimmed=e,this.valuePlaceholder=n}return t}(),f=function(){function t(t,e){this.componentStylesheet=t,this.externalStylesheets=e}return t}(),d=function(){function t(t,e,n,r,i){this.statements=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i}return t}(),m=function(){function t(t){this._urlResolver=t,this._shadowCss=new a.a}return t.prototype.compileComponent=function(t){var e=this,n=[],r=this._compileStyles(t,new o.o({styles:t.template.styles,styleUrls:t.template.styleUrls,moduleUrl:t.type.moduleUrl}),!0);return t.template.externalStylesheets.forEach(function(r){var i=e._compileStyles(t,r,!1);n.push(i)}),new f(r,n)},t.prototype._compileStyles=function(t,e,n){for(var a=this,u=t.template.encapsulation===i.ViewEncapsulation.Emulated,c=e.styles.map(function(t){return s.c(a._shimIfNeeded(t,u))}),l=[],p=0;p0)t.bootstrapFactories.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+n.i(d.b)(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}},e.decorators=[{type:b.b}],e.ctorParameters=[{type:b.g}],e}(A),M=function(){function t(){}return Object.defineProperty(t.prototype,"componentTypes",{get:function(){return n.i(f.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"components",{get:function(){return n.i(f.a)()},enumerable:!0,configurable:!0}),t}(),R=function(t){function e(e,n,r,o,s,a,u,c){var l=this;t.call(this),this._zone=e,this._console=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=s,this._initStatus=a,this._testabilityRegistry=u,this._testability=c,this._bootstrapListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._enforceNoNewChanges=i(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}})}return k(e,t),e.prototype.registerChangeDetector=function(t){this._changeDetectorRefs.push(t)},e.prototype.unregisterChangeDetector=function(t){h.e.remove(this._changeDetectorRefs,t)},e.prototype.bootstrap=function(t){var e=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.");var n;n=t instanceof w.a?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(n.componentType);var r=n.create(this._injector,[],n.selector);r.onDestroy(function(){e._unloadComponent(r)});var o=r.injector.get(S.a,null);return o&&r.injector.get(S.b).registerApplication(r.location.nativeElement,o),this._loadComponent(r),i()&&this._console.log("Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode."),r},e.prototype._loadComponent=function(t){this._changeDetectorRefs.push(t.changeDetectorRef),this.tick(),this._rootComponents.push(t);var e=this._injector.get(v.c,[]).concat(this._bootstrapListeners);e.forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this._rootComponents.indexOf(t)!=-1&&(this.unregisterChangeDetector(t.changeDetectorRef),h.e.remove(this._rootComponents,t))},e.prototype.tick=function(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(t){return t.checkNoChanges()})}finally{this._runningTick=!1,n.i(E.b)(t)}},e.prototype.ngOnDestroy=function(){this._rootComponents.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),e._tickScope=n.i(E.a)("ApplicationRef#tick()"),e.decorators=[{type:b.b}],e.ctorParameters=[{type:C.a},{type:g.a},{type:b.g},{type:p.a},{type:x.a},{type:y.a},{type:S.b,decorators:[{type:b.d}]},{type:S.a,decorators:[{type:b.d}]}],e}(M)},function(t,e,n){"use strict";function r(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r"+n.i(o.b)(this.currentIndex)+"]"},t}(),l=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var r;for(r=this._head;null!==r;r=r._nextDup)if((null===e||e0){var u=o[e-1];a=u.lastRootNode}else a=this.nativeElement;n.i(r.d)(a)&&t.renderer.attachViewAfter(a,t.flatRootNodes),t.markContentChildAsMoved(this)},t.prototype.attachView=function(t,e){if(t.type===s.a.COMPONENT)throw new Error("Component views can't be moved!");var i=this.nestedViews;null==i&&(i=[],this.nestedViews=i),i.splice(e,0,t);var o;if(e>0){var a=i[e-1];o=a.lastRootNode}else o=this.nativeElement;n.i(r.d)(o)&&t.renderer.attachViewAfter(o,t.flatRootNodes),t.addToContentChildren(this)},t.prototype.detachView=function(t){var e=this.nestedViews.splice(t,1)[0];if(e.type===s.a.COMPONENT)throw new Error("Component views can't be moved!");return e.detach(),e.removeFromContentChildren(this),e},t}()},function(t,e,n){"use strict";var r=n(318),i=n(319);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i.a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=new i.a(new r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return t}()},function(t,e,n){"use strict";var r=n(32);n.d(e,"a",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"b",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}return t}(),o=function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return n.i(r.a)()},enumerable:!0,configurable:!0}),t}(),s=function(){function t(){}return t}(),a=function(){function t(){}return t}()},function(t,e,n){"use strict";function r(t){p=t}var i=n(38),o=n(50),s=n(7),a=n(202);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c}),e.c=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var u=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){a.a.assertNotInAngularZone(),n.i(s.l)(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?n.i(s.l)(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findBindings=function(t,e,n){return[]},t.prototype.findProviders=function(t,e,n){return[]},t.decorators=[{type:i.b}],t.ctorParameters=[{type:a.a}],t}(),c=function(){function t(){this._applications=new Map,p.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.getTestability=function(t){return this._applications.get(t)},t.prototype.getAllTestabilities=function(){return o.a.values(this._applications)},t.prototype.getAllRootElements=function(){return o.a.keys(this._applications)},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),p.findTestabilityInTree(this,t,e)},t.decorators=[{type:i.b}],t.ctorParameters=[],t}(),l=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),p=new l},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=Function},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return!!t&&"function"==typeof t.then}e.a=r},function(t,e,n){"use strict";var r=n(194);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this._hasPendingMicrotasks=!1,this._hasPendingMacrotasks=!1,this._isStable=!0,this._nesting=0,this._onUnstable=new r.a(!1),this._onMicrotaskEmpty=new r.a(!1),this._onStable=new r.a(!1),this._onErrorEvents=new r.a(!1),"undefined"==typeof Zone)throw new Error("Angular requires Zone.js prolyfill.");Zone.assertZonePatched(),this.outer=this.inner=Zone.current,Zone.wtfZoneSpec&&(this.inner=this.inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this.inner=this.inner.fork(Zone.longStackTraceZoneSpec)),this.forkInnerZoneWithAngularBehavior()}return t.isInAngularZone=function(){return Zone.current.get("isAngularZone")===!0},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t){return this.inner.run(t)},t.prototype.runGuarded=function(t){return this.inner.runGuarded(t)},t.prototype.runOutsideAngular=function(t){return this.outer.run(t)},Object.defineProperty(t.prototype,"onUnstable",{get:function(){return this._onUnstable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onMicrotaskEmpty",{get:function(){return this._onMicrotaskEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onStable",{get:function(){return this._onStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onError",{get:function(){return this._onErrorEvents},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMicrotasks",{get:function(){return this._hasPendingMicrotasks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMacrotasks",{get:function(){return this._hasPendingMacrotasks},enumerable:!0,configurable:!0}),t.prototype.checkStable=function(){var t=this;if(0==this._nesting&&!this._hasPendingMicrotasks&&!this._isStable)try{this._nesting++,this._onMicrotaskEmpty.emit(null)}finally{if(this._nesting--,!this._hasPendingMicrotasks)try{this.runOutsideAngular(function(){return t._onStable.emit(null)})}finally{this._isStable=!0}}},t.prototype.forkInnerZoneWithAngularBehavior=function(){var t=this;this.inner=this.inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,i,o,s){try{return t.onEnter(),e.invokeTask(r,i,o,s)}finally{t.onLeave()}},onInvoke:function(e,n,r,i,o,s,a){try{return t.onEnter(),e.invoke(r,i,o,s,a)}finally{t.onLeave()}},onHasTask:function(e,n,r,i){e.hasTask(r,i),n===r&&("microTask"==i.change?t.setHasMicrotask(i.microTask):"macroTask"==i.change&&t.setHasMacrotask(i.macroTask))},onHandleError:function(e,n,r,i){return e.handleError(r,i),t.triggerError(i),!1}})},t.prototype.onEnter=function(){this._nesting++,this._isStable&&(this._isStable=!1,this._onUnstable.emit(null))},t.prototype.onLeave=function(){this._nesting--,this.checkStable()},t.prototype.setHasMicrotask=function(t){this._hasPendingMicrotasks=t,this.checkStable()},t.prototype.setHasMacrotask=function(t){this._hasPendingMacrotasks=t},t.prototype.triggerError=function(t){this._onErrorEvents.emit(t)},t}()},function(t,e,n){"use strict";var r=n(33);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return Object.defineProperty(t.prototype,"control",{get:function(){throw new Error("unimplemented")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return n.i(r.a)(this.control)?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return n.i(r.a)(this.control)?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return n.i(r.a)(this.control)?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return n.i(r.a)(this.control)?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return n.i(r.a)(this.control)?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return n.i(r.a)(this.control)?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return n.i(r.a)(this.control)?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return n.i(r.a)(this.control)?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return n.i(r.a)(this.control)?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return n.i(r.a)(this.control)?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return n.i(r.a)(this.control)?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return n.i(r.a)(this.control)?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return n.i(r.a)(this.control)?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),n.i(r.a)(this.control)&&this.control.reset(t)},t}()},function(t,e,n){"use strict";var r=n(1),i=n(33),o=n(51),s=n(72);n.d(e,"a",function(){return l}),n.d(e,"b",function(){return p});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!n.i(i.a)(this._cd.control)&&this._cd.control.invalid},enumerable:!0,configurable:!0}),t}(),c={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid"},l=function(t){function e(e){t.call(this,e)}return a(e,t),e.decorators=[{type:r.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:c}]}],e.ctorParameters=[{type:s.a,decorators:[{type:r.Self}]}],e}(u),p=function(t){function e(e){t.call(this,e)}return a(e,t),e.decorators=[{type:r.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:c}]}],e.ctorParameters=[{type:o.a,decorators:[{type:r.Self}]}],e}(u)},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(138),s=n(44),a=n(95),u=n(51),c=n(43),l=n(72),p=n(96),h=n(133),f=n(63),d=n(322);n.d(e,"a",function(){return g});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var m=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},y={provide:l.a,useExisting:n.i(r.forwardRef)(function(){return g})},v=Promise.resolve(null),g=function(t){function e(e,r,s,a){t.call(this),this._control=new o.b,this._registered=!1,this.update=new i.a,this._parent=e,this._rawValidators=r||[],this._rawAsyncValidators=s||[],this.valueAccessor=n.i(f.f)(this,a)}return m(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),n.i(f.g)(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?n.i(f.a)(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(f.b)(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(f.c)(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||this.options&&this.options.standalone},e.prototype._setUpStandalone=function(){n.i(f.d)(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof h.a)&&this._parent instanceof a.a?d.a.formGroupNameException():this._parent instanceof h.a||this._parent instanceof p.a||d.a.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||d.a.missingNameException()},e.prototype._updateValue=function(t){var e=this;v.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;v.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:r.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[y],exportAs:"ngModel"}]}],e.ctorParameters=[{type:u.a,decorators:[{type:r.Optional},{type:r.Host}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.c]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c.a]}]}],e.propDecorators={name:[{type:r.Input}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],options:[{type:r.Input,args:["ngModelOptions"]}],update:[{type:r.Output,args:["ngModelChange"]}]},e}(l.a)},function(t,e,n){"use strict";var r=n(1),i=n(33),o=n(43);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s={provide:o.a,useExisting:n.i(r.forwardRef)(function(){return a}),multi:!0},a=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=n.i(i.d)(t)?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:r.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[s]}]}],t.ctorParameters=[{type:r.Renderer},{type:r.ElementRef}],t}()},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(44),s=n(43),a=n(72),u=n(134),c=n(63);n.d(e,"a",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p={provide:a.a,useExisting:n.i(r.forwardRef)(function(){return h})},h=function(t){function e(e,r,o){t.call(this),this.update=new i.a,this._rawValidators=e||[],this._rawAsyncValidators=r||[],this.valueAccessor=n.i(c.f)(this,o)}return l(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){u.a.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(n.i(c.d)(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),n.i(c.g)(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(c.b)(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(c.c)(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:r.Directive,args:[{selector:"[formControl]",providers:[p],exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[o.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[o.c]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.a]}]}],e.propDecorators={form:[{type:r.Input,args:["formControl"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}],isDisabled:[{type:r.Input,args:["disabled"]}]},e}(a.a)},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(44),s=n(95),a=n(51),u=n(43),c=n(72),l=n(134),p=n(63),h=n(98),f=n(99);n.d(e,"a",function(){return y});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var d=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m={provide:c.a,useExisting:n.i(r.forwardRef)(function(){return y})},y=function(t){function e(e,r,o,s){t.call(this),this._added=!1,this.update=new i.a,this._parent=e,this._rawValidators=r||[],this._rawAsyncValidators=o||[],this.valueAccessor=n.i(p.f)(this,s)}return d(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){l.a.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),n.i(p.g)(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return n.i(p.a)(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(p.b)(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(p.c)(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof f.a)&&this._parent instanceof s.a?l.a.ngModelGroupException():this._parent instanceof f.a||this._parent instanceof h.a||this._parent instanceof f.b||l.a.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:r.Directive,args:[{selector:"[formControlName]",providers:[m]}]}],e.ctorParameters=[{type:a.a,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[o.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[o.c]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[u.a]}]}],e.propDecorators={name:[{type:r.Input,args:["formControlName"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}],isDisabled:[{type:r.Input,args:["disabled"]}]},e}(c.a)},function(t,e,n){"use strict";var r=n(1),i=n(33),o=n(44);n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return p}),n.d(e,"d",function(){return f});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s={provide:o.b,useExisting:n.i(r.forwardRef)(function(){return a}),multi:!0},a=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=n.i(i.a)(t)&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?o.a.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:r.Directive,args:[{selector:"[required][formControlName],[required][formControl],[required][ngModel]",providers:[s],host:{"[attr.required]":'required? "" : null'}}]}],t.ctorParameters=[],t.propDecorators={required:[{type:r.Input}]},t}(),u={provide:o.b,useExisting:n.i(r.forwardRef)(function(){return c}),multi:!0},c=function(){function t(){}return t.prototype._createValidator=function(){this._validator=o.a.minLength(parseInt(this.minlength,10))},t.prototype.ngOnChanges=function(t){t.minlength&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return n.i(i.a)(this.minlength)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:r.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[u],host:{"[attr.minlength]":"minlength? minlength : null"}}]}],t.ctorParameters=[],t.propDecorators={minlength:[{type:r.Input}]},t}(),l={provide:o.b,useExisting:n.i(r.forwardRef)(function(){return p}),multi:!0},p=function(){function t(){}return t.prototype._createValidator=function(){this._validator=o.a.maxLength(parseInt(this.maxlength,10))},t.prototype.ngOnChanges=function(t){t.maxlength&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return n.i(i.a)(this.maxlength)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:r.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[l],host:{"[attr.maxlength]":"maxlength? maxlength : null"}}]}],t.ctorParameters=[],t.propDecorators={maxlength:[{type:r.Input}]},t}(),h={provide:o.b,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},f=function(){function t(){}return t.prototype._createValidator=function(){this._validator=o.a.pattern(this.pattern)},t.prototype.ngOnChanges=function(t){t.pattern&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return n.i(i.a)(this.pattern)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:r.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[h],host:{"[attr.pattern]":"pattern? pattern : null"}}]}],t.ctorParameters=[],t.propDecorators={pattern:[{type:r.Input}]},t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1),i=n(52),o=n(64),s=n(100),a=n(141),u=n(142);n.d(e,"a",function(){return l}),n.d(e,"b",function(){return p});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(){function t(t){var e=void 0===t?{}:t,r=e.method,o=e.headers,s=e.body,c=e.url,l=e.search,p=e.withCredentials,h=e.responseType;this.method=n.i(i.a)(r)?n.i(a.e)(r):null,this.headers=n.i(i.a)(o)?o:null,this.body=n.i(i.a)(s)?s:null,this.url=n.i(i.a)(c)?c:null,this.search=n.i(i.a)(l)?"string"==typeof l?new u.a(l):l:null,this.withCredentials=n.i(i.a)(p)?p:null,this.responseType=n.i(i.a)(h)?h:null}return t.prototype.merge=function(e){return new t({method:e&&n.i(i.a)(e.method)?e.method:this.method,headers:e&&n.i(i.a)(e.headers)?e.headers:this.headers,body:e&&n.i(i.a)(e.body)?e.body:this.body,url:e&&n.i(i.a)(e.url)?e.url:this.url,search:e&&n.i(i.a)(e.search)?"string"==typeof e.search?new u.a(e.search):e.search.clone():this.search,withCredentials:e&&n.i(i.a)(e.withCredentials)?e.withCredentials:this.withCredentials,responseType:e&&n.i(i.a)(e.responseType)?e.responseType:this.responseType})},t}(),p=function(t){function e(){t.call(this,{method:o.b.Get,headers:new s.a})}return c(e,t),e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(l)},function(t,e,n){"use strict";var r=n(328);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){t.call(this),this._body=e.body,this.status=e.status,this.ok=this.status>=200&&this.status<=299,this.statusText=e.statusText,this.headers=e.headers,this.type=e.type,this.url=e.url}return i(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(r.a)},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return u});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},a=new r.OpaqueToken("mdLiveAnnouncerElement"),u=function(){function t(t){this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t,e){var n=this;void 0===e&&(e="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",e),setTimeout(function(){return n._liveElement.textContent=t},100)},t.prototype._createLiveElement=function(){var t=document.createElement("div");return t.classList.add("md-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),document.body.appendChild(t),t},t=i([n.i(r.Injectable)(),s(0,n.i(r.Optional)()),s(0,n.i(r.Inject)(a)),o("design:paramtypes",[Object])],t)}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){this.hasBackdrop=!1}return t}()},function(t,e,n){"use strict";var r=n(1),i=n(214),o=n(344),s=n(341),a=n(565),u=n(343),c=n(339);n.d(e,"a",function(){return d}),n.d(e,"b",function(){return m});var l=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=0,f=new i.a,d=function(){function t(t,e,n){this._overlayContainer=t,this._componentFactoryResolver=e,this._positionBuilder=n}return t.prototype.create=function(t){return void 0===t&&(t=f),this._createOverlayRef(this._createPaneElement(),t)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=document.createElement("div");return t.id="md-overlay-"+h++,t.classList.add("md-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalHost=function(t){return new o.a(t,this._componentFactoryResolver)},t.prototype._createOverlayRef=function(t,e){return new s.a(this._createPortalHost(t),t,e)},t=l([n.i(r.Injectable)(),p("design:paramtypes",[c.a,r.ComponentFactoryResolver,a.a])],t)}(),m=[u.a,a.a,d,c.a]},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e){this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}return t}()},function(t,e,n){"use strict";var r=n(1),i=n(145);n.d(e,"c",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return l});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(t){function e(e,n){t.call(this,e,n)}return o(e,t),e=s([n.i(r.Directive)({selector:"[portal]",exportAs:"portal"}),a("design:paramtypes",[r.TemplateRef,r.ViewContainerRef])],e)}(i.a),c=function(t){function e(e,n){t.call(this),this._componentFactoryResolver=e,this._viewContainerRef=n}return o(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._portal},set:function(t){this._replaceAttachedPortal(t)},enumerable:!0,configurable:!0}),e.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=this._componentFactoryResolver.resolveComponentFactory(t.component),r=e.createComponent(n,e.length,t.injector||e.parentInjector);return this.setDisposeFn(function(){return r.destroy()}),r},e.prototype.attachTemplatePortal=function(t){var e=this;return t.setAttachedHost(this),this._viewContainerRef.createEmbeddedView(t.templateRef),this.setDisposeFn(function(){return e._viewContainerRef.clear()}),new Map},e.prototype._replaceAttachedPortal=function(t){this.hasAttached()&&this.detach(),t&&(this.attach(t),this._portal=t)},e=s([n.i(r.Directive)({selector:"[portalHost]",inputs:["portal: portalHost"]}),a("design:paramtypes",[r.ComponentFactoryResolver,r.ViewContainerRef])],e)}(i.b),l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=s([n.i(r.NgModule)({exports:[u,c],declarations:[u,c]}),a("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function r(t,e){var n=e.trim();t.style.transform=n,t.style.webkitTransform=n}e.a=r},function(t,e,n){"use strict";var r=n(8);n.d(e,"c",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this,'md-grid-list: must pass in number of columns. Example: ')}return i(e,t),e}(r.f),s=function(t){function e(e,n){t.call(this,"md-grid-list: tile with colspan "+e+' is wider than grid with cols="'+n+'".')}return i(e,t),e}(r.f),a=function(t){function e(e){t.call(this,'md-grid-list: invalid ratio given for row-height: "'+e+'"')}return i(e,t),e}(r.f)},function(t,e,n){"use strict";var r=n(1),i=n(358),o=n(221),s=n(8);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},l=function(){function t(t,e){this._showClickCatcher=!1,this._focusedItemIndex=0,this.positionX="after",this.positionY="below",this.close=new r.EventEmitter,t&&this._setPositionX(t),e&&this._setPositionY(e)}return Object.defineProperty(t.prototype,"classList",{set:function(t){this._classList=t.split(" ").reduce(function(t,e){return t[e]=!0,t},{})},enumerable:!0,configurable:!0}),t.prototype._setClickCatcher=function(t){this._showClickCatcher=t},t.prototype._focusFirstItem=function(){this.items.first.focus()},t.prototype._handleKeydown=function(t){t.keyCode===s.x?this._focusNextItem():t.keyCode===s.y?this._focusPreviousItem():t.keyCode===s.z&&this._emitCloseEvent()},t.prototype._emitCloseEvent=function(){this._focusedItemIndex=0,this.close.emit(null)},t.prototype._focusNextItem=function(){this._updateFocusedItemIndex(1),this.items.toArray()[this._focusedItemIndex].focus()},t.prototype._focusPreviousItem=function(){this._updateFocusedItemIndex(-1),this.items.toArray()[this._focusedItemIndex].focus()},t.prototype._updateFocusedItemIndex=function(t,e){for(void 0===e&&(e=this.items.toArray()),this._focusedItemIndex=(this._focusedItemIndex+t+this.items.length)%this.items.length;e[this._focusedItemIndex].disabled;)this._updateFocusedItemIndex(t,e)},t.prototype._setPositionX=function(t){if("before"!==t&&"after"!==t)throw new i.a;this.positionX=t},t.prototype._setPositionY=function(t){if("above"!==t&&"below"!==t)throw new i.b;this.positionY=t},a([n.i(r.ViewChild)(r.TemplateRef),u("design:type",r.TemplateRef)],t.prototype,"templateRef",void 0),a([n.i(r.ContentChildren)(o.a),u("design:type",r.QueryList)],t.prototype,"items",void 0),a([n.i(r.Input)("class"),u("design:type",String),u("design:paramtypes",[String])],t.prototype,"classList",null),a([n.i(r.Output)(),u("design:type",Object)],t.prototype,"close",void 0),t=a([n.i(r.Component)({selector:"md-menu",host:{role:"menu"},template:'
',styles:['.md-menu { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); min-width: 112px; max-width: 280px; max-height: calc(100vh + 48px); overflow: auto; -webkit-overflow-scrolling: touch; padding-top: 8px; padding-bottom: 8px; } [md-menu-item] { cursor: pointer; user-select: none; outline: none; border: none; white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; display: flex; flex-direction: row; align-items: center; height: 48px; padding: 0 16px; font-size: 16px; font-family: Roboto, "Helvetica Neue", sans-serif; text-align: start; text-decoration: none; } [md-menu-item][disabled] { cursor: default; } button[md-menu-item] { width: 100%; } .md-menu-click-catcher { position: fixed; top: 0; left: 0; right: 0; bottom: 0; } /*# sourceMappingURL=menu.css.map */ '],encapsulation:r.ViewEncapsulation.None,exportAs:"mdMenu"}),c(0,n.i(r.Attribute)("x-position")),c(1,n.i(r.Attribute)("y-position")),u("design:paramtypes",[String,String])],t)}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(t,e){this._renderer=t,this._elementRef=e}return t.prototype.focus=function(){this._renderer.invokeElementMethod(this._elementRef.nativeElement,"focus")},Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t!==!1&&void 0!==t||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAriaDisabled",{get:function(){return String(this.disabled)},enumerable:!0,configurable:!0}),t.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},i([n.i(r.HostBinding)("attr.disabled"),n.i(r.Input)(),o("design:type",Boolean)],t.prototype,"disabled",null),i([n.i(r.HostBinding)("attr.aria-disabled"),o("design:type",String)],t.prototype,"isAriaDisabled",null),t=i([n.i(r.Directive)({selector:"[md-menu-item]",host:{role:"menuitem","(click)":"_checkDisabled($event)",tabindex:"-1"},exportAs:"mdMenuItem"}),o("design:paramtypes",[r.Renderer,r.ElementRef])],t)}()},function(t,e,n){"use strict";var r=n(12);n.n(r);n.d(e,"a",function(){return i});var i=function(){function t(t,e){this._overlayRef=e,this._afterClosed=new r.Subject,this.instance=t}return t.prototype.dismiss=function(){this._afterClosed.closed||(this._overlayRef.dispose(),this._afterClosed.complete())},t.prototype.afterDismissed=function(){return this._afterClosed.asObservable()},t}()},function(t,e,n){"use strict";var r=n(385);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return t.prototype.animate=function(t,e,n,i,o,s){return new r.a},t}(),o=function(){function t(){}return t.NOOP=new i,t}()},function(t,e,n){"use strict";function r(t){return n.i(a.getDebugNode)(t)}function i(t,e){return n.i(a.isDevMode)()?o(t,e):t}function o(t,e){return n.i(l.a)().setGlobalVar(f,r),n.i(l.a)().setGlobalVar(d,u.a.merge(h,s(e||[]))),new c.b(t)}function s(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}var a=n(1),u=n(384),c=n(385),l=n(19),p=n(225);n.d(e,"a",function(){return y});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var h={ApplicationRef:a.ApplicationRef,NgZone:a.NgZone},f="ng.probe",d="ng.coreTokens",m=function(){function t(t,e){this.name=t,this.token=e}return t}(),y=[{provide:a.RootRenderer,useFactory:i,deps:[p.a,[m,new a.Optional]]}];[{provide:a.RootRenderer,useFactory:o,deps:[p.a,[m,new a.Optional]]}]},function(t,e,n){"use strict";function r(t,e){var r=n.i(f.a)().parentElement(t);if(e.length>0&&n.i(p.a)(r)){var i=n.i(f.a)().nextSibling(t);if(n.i(p.a)(i))for(var o=0;o-1},e.decorators=[{type:r.Injectable}],e.ctorParameters=[{type:u,decorators:[{type:r.Inject,args:[a]}]}],e}(o.a)},function(t,e,n){"use strict";var r=n(1),i=n(19),o=n(147);n.d(e,"b",function(){return a}),n.d(e,"a",function(){return u});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(){function t(){this._styles=[],this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=[];t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),e._styles.push(t),n.push(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return this._styles},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}(),u=function(t){function e(e){t.call(this),this._hostNodes=new Set,this._hostNodes.add(e.head)}return s(e,t),e.prototype._addStylesToHost=function(t,e){for(var r=0;r (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var a=[new r.a("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll")]},function(t,e,n){"use strict";var r=n(782),i=(n.n(r),n(389)),o=n(390);n.d(e,"a",function(){return a});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,o){var s=this;void 0===o&&(o=500),t.call(this,null,null),this.target=e,this.events=n,this.throttleDelay=o,this.eventSrc=new Array,this.eventSubscription=new Array;var a=this;n.split(" ").forEach(function(t){var n=r.Observable.fromEvent(e,t);a.throttleDelay>0&&(n=n.throttleTime(a.throttleDelay)),a.eventSrc.push(n)});var u=function(t){if(!a.filterEvent(t)){var e=new i.a(this,t);a.onInterrupt.emit(e)}};this.attachFn=function(){s.eventSrc.forEach(function(t){a.eventSubscription.push(t.subscribe(u))})},this.detachFn=function(){s.eventSubscription.forEach(function(t){t.unsubscribe()}),s.eventSubscription.length=0}}return s(e,t),e.prototype.filterEvent=function(t){return!1},e}(o.a)},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){"use strict";var r=n(17),i=n(2),o=n(30),s=n(243),a=n(65),u=n(150),c=n(231),l=n(13),p=n(11),h=n(416),f=n(153),d=n(236);t.exports=function(t,e,n,m,y,v){var g=r[t],b=g,_=y?"set":"add",w=b&&b.prototype,x={},E=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||w.forEach&&!p(function(){(new b).entries().next()}))){var S=new b,C=S[_](v?{}:-0,1)!=S,O=p(function(){S.has(1)}),k=h(function(t){new b(t)}),P=!v&&p(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});k||(b=e(function(e,n){c(e,b,t);var r=d(new g,e,b);return void 0!=n&&u(n,y,r[_],r),r}),b.prototype=w,w.constructor=b),(O||P)&&(E("delete"),E("has"),y&&E("get")),(P||C)&&E(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(e,t,y,_),s(b.prototype,n),a.NEED=!0;return f(b,t),x[t]=b,i(i.G+i.W+i.F*(b!=g),x),v||m.setStrong(b,t,y),b}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(14)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(13),i=n(244).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){var r=n(74);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(13),i=n(74),o=n(14)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){"use strict";var r=n(240),i=n(2),o=n(30),s=n(55),a=n(29),u=n(104),c=n(415),l=n(153),p=n(57),h=n(14)("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",y="values",v=function(){return this};t.exports=function(t,e,n,g,b,_,w){c(n,e,g);var x,E,S,C=function(t){if(!f&&t in T)return T[t];switch(t){case m:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",k=b==y,P=!1,T=t.prototype,A=T[h]||T[d]||b&&T[b],I=A||C(b),M=b?k?C("entries"):I:void 0,R="Array"==e?T.entries||A:A;if(R&&(S=p(R.call(new t)),S!==Object.prototype&&(l(S,O,!0),r||a(S,h)||s(S,h,v))),k&&A&&A.name!==y&&(P=!0,I=function(){return A.call(this)}),r&&!w||!f&&!P&&T[h]||s(T,h,I),u[e]=I,u[O]=v,b)if(x={values:k?I:C(y),keys:_?I:C(m),entries:M},w)for(E in x)E in T||o(T,E,x[E]);else i(i.P+i.F*(f||P),e,x);return x}},function(t,e){t.exports=!1},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r=n(30);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(13),i=n(9),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(83)(Function.call,n(66).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var r=n(17),i=n(20),o=n(25),s=n(14)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(154)("keys"),i=n(107);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(238),i=n(54);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(0),i=n(254);r.Observable.prototype.map=i.map},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(0),s=n(3),a=n(21),u=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(o.Observable);e.ConnectableObservable=u;var c=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.SubjectSubscriber),l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new p(t,n),i=e._subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),p=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(!t)return void(this.connection=null);this.connectable=null;var e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;return e?void r.complete():(r.next(n),void(r.closed||(t.done=!0,this.schedule(t))))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;return r?r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t}):(t.next(n),void(t.closed||t.complete()))},e}(i.Observable);e.ScalarObservable=o},function(t,e,n){"use strict";function r(){for(var t=[],e=0;ethis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),y=function(t){function e(e,n,r,i){t.call(this,e),this.parent=n,this.observable=r,this.index=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[p.$$iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);e.ObjectUnsubscribedError=r},function(t,e){"use strict";function n(t){return"function"==typeof t}e.isFunction=n},function(t,e,n){"use strict";function r(t){return!i.isArray(t)&&t-parseFloat(t)+1>=0}var i=n(46);e.isNumeric=r},function(t,e,n){"use strict";var r=n(479),i=n(480),o=n(481),s=n(482),a=n(483),u=n(262),c=n(484);n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=[r.a,i.a,o.a,c.a,a.a,u.b,u.c,u.d,s.a,s.b]},function(t,e,n){"use strict";var r=n(1),i=n(263);n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o={},s=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e}return t.prototype.create=function(){this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._viewContainerRef.clear()},t}(),a=function(){function t(){this._useDefault=!1,this._valueViews=new Map,this._activeViews=[]}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){var e=this._valueViews.get(t);if(e)this._useDefault=!1;else{if(this._useDefault)return;this._useDefault=!0,e=this._valueViews.get(o)}this._emptyAllActiveViews(),this._activateViews(e),this._switchValue=t},enumerable:!0,configurable:!0}),t.prototype._onCaseValueChanged=function(t,e,n){this._deregisterView(t,n),this._registerView(e,n),t===this._switchValue?(n.destroy(),i.b.remove(this._activeViews,n)):e===this._switchValue&&(this._useDefault&&(this._useDefault=!1,this._emptyAllActiveViews()),n.create(),this._activeViews.push(n)),0!==this._activeViews.length||this._useDefault||(this._useDefault=!0,this._activateViews(this._valueViews.get(o)))},t.prototype._emptyAllActiveViews=function(){for(var t=this._activeViews,e=0;e-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}())},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function i(t){return function(e,n){var r=t(e,n);return r.split(" ")[1]}}function o(t){return function(e,n){var r=t(e,n);return r.split(" ")[0]}}function s(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function a(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=s(t,n,e);return r?r.substring(3):""}}function u(t,e){return t.hour12=e,t}function c(t,e){var n={};return n[t]=2==e?"2-digit":"numeric",n}function l(t,e){var n={};return n[t]=e<4?"short":"long",n}function p(t){var e={};return t.forEach(function(t){Object.assign(e,t)}),e}function h(t){return function(e,n){return s(e,n,t)}}function f(t,e,n){var r,i,o="",s=[];if(g[t])return g[t](e,n);if(_.has(t))s=_.get(t);else{for(v.exec(t);t;)r=v.exec(t),r?(s=d(s,r,1),t=s.pop()):(s.push(t),t=null);_.set(t,s)}return s.forEach(function(t){i=b[t],o+=i?i(e,n):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),o}function d(t,e,n){return t.concat(w.call(e,n))}n.d(e,"b",function(){return m}),n.d(e,"c",function(){return y}),n.d(e,"a",function(){return x});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var m;!function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency"}(m||(m={}));var y=function(){function t(){}return t.format=function(t,e,n,r){var i=void 0===r?{}:r,o=i.minimumIntegerDigits,s=i.minimumFractionDigits,a=i.maximumFractionDigits,u=i.currency,c=i.currencyAsSymbol,l=void 0!==c&&c,p={minimumIntegerDigits:o,minimumFractionDigits:s,maximumFractionDigits:a,style:m[n].toLowerCase()};return n==m.Currency&&(p.currency=u,p.currencyDisplay=l?"symbol":"code"),new Intl.NumberFormat(e,p).format(t)},t}(),v=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,g={yMMMdjms:h(p([c("year",1),l("month",3),c("day",1),c("hour",1),c("minute",1),c("second",1)])),yMdjm:h(p([c("year",1),c("month",1),c("day",1),c("hour",1),c("minute",1)])),yMMMMEEEEd:h(p([c("year",1),l("month",4),l("weekday",4),c("day",1)])),yMMMMd:h(p([c("year",1),l("month",4),c("day",1)])),yMMMd:h(p([c("year",1),l("month",3),c("day",1)])),yMd:h(p([c("year",1),c("month",1),c("day",1)])),jms:h(p([c("hour",1),c("second",1),c("minute",1)])),jm:h(p([c("hour",1),c("minute",1)]))},b={yyyy:h(c("year",4)),yy:h(c("year",2)),y:h(c("year",1)),MMMM:h(l("month",4)),MMM:h(l("month",3)),MM:h(c("month",2)),M:h(c("month",1)),LLLL:h(l("month",4)),dd:h(c("day",2)),d:h(c("day",1)),HH:r(o(h(u(c("hour",2),!1)))),H:o(h(u(c("hour",1),!1))),hh:r(o(h(u(c("hour",2),!0)))),h:o(h(u(c("hour",1),!0))),jj:h(c("hour",2)),j:h(c("hour",1)),mm:r(h(c("minute",2))),m:h(c("minute",1)),ss:r(h(c("second",2))),s:h(c("second",1)),sss:h(c("second",3)),EEEE:h(l("weekday",4)),EEE:h(l("weekday",3)),EE:h(l("weekday",2)),E:h(l("weekday",1)),a:i(h(u(c("hour",1),!0))),Z:a("short"),z:a("long"),ww:h({}),w:h({}),G:h(l("era",1)),GG:h(l("era",2)),GGG:h(l("era",3)),GGGG:h(l("era",4))},_=new Map,w=[].slice,x=function(){function t(){}return t.format=function(t,e,n){return f(n,t,e)},t}()},function(t,e,n){"use strict";var r=n(489),i=n(490),o=n(491),s=n(492),a=n(493),u=n(494),c=n(495),l=n(496),p=n(497);n.d(e,"a",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var h=[r.a,p.a,u.a,a.a,l.a,c.a,c.b,c.c,i.a,o.a,s.a]},function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"h",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return p}),n.d(e,"i",function(){return h}),n.d(e,"e",function(){return f}),n.d(e,"j",function(){return d}),n.d(e,"f",function(){return m});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(){function t(){this.startTime=0,this.playTime=0}return t}(),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i),s=function(t){function e(e,n,r){t.call(this),this.name=e,this.stateDeclarations=n,this.stateTransitions=r}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationEntry(this,e)},e}(i),a=function(t){function e(e,n){t.call(this),this.stateName=e,this.styles=n}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStateDeclaration(this,e)},e}(o),u=function(){function t(t,e){this.fromState=t,this.toState=e}return t}(),c=function(t){function e(e,n){t.call(this),this.stateChanges=e,this.animation=n}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStateTransition(this,e)},e}(o),l=function(t){function e(e,n,r,i,o){t.call(this),this.startingStyles=e,this.keyframes=n,this.duration=r,this.delay=i,this.easing=o}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStep(this,e)},e}(i),p=function(t){function e(e){t.call(this),this.styles=e}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStyles(this,e)},e}(i),h=function(t){function e(e,n){t.call(this),this.offset=e,this.styles=n}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationKeyframe(this,e)},e}(i),f=function(t){function e(e){t.call(this),this.steps=e}return r(e,t),e}(i),d=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationGroup(this,e)},e}(f),m=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.visit=function(t,e){return t.visitAnimationSequence(this,e)},e}(f)},function(t,e,n){"use strict";function r(t,e){var n=u.c(c.E);switch(e){case c.E:return t.equals(n);case c.C:return u.c(!0);default:return t.equals(u.c(e))}}function i(t){if(t instanceof l.a&&t.duration>0&&2==t.keyframes.length){var e=o(t.keyframes[0])[0],n=o(t.keyframes[1])[0];return 0===Object.keys(e).length&&0===Object.keys(n).length}return!1}function o(t){return t.styles.styles}var s=n(4),a=n(15),u=n(10),c=n(18),l=n(266);n.d(e,"a",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=function(){function t(t,e,n){this.name=t,this.statements=e,this.fnExp=n}return t}(),h=function(){function t(){}return t.prototype.compile=function(t,e){return e.map(function(e){var n=t+"_"+e.name,r=new O(e.name,n);return r.build(e)})},t}(),f=u.a("element"),d=u.a("defaultStateStyles"),m=u.a("view"),y=m.prop("animationContext"),v=m.prop("renderer"),g=u.a("currentState"),b=u.a("nextState"),_=u.a("player"),w=u.a("totalTime"),x=u.a("startStateStyles"),E=u.a("endStateStyles"),S=u.a("collectedStyles"),C=u.b([]),O=function(){function t(t,e){this.animationName=t,this._fnVarName=e+"_factory",this._statesMapVarName=e+"_states",this._statesMapVar=u.a(this._statesMapVarName)}return t.prototype.visitAnimationStyles=function(t,e){var r=[];return e.isExpectingFirstStyleStep&&(r.push(x),e.isExpectingFirstStyleStep=!1),t.styles.forEach(function(t){var e=Object.keys(t).map(function(e){return[e,u.c(t[e])]});r.push(u.b(e))}),u.d(n.i(a.d)(a.b.AnimationStyles)).instantiate([u.d(n.i(a.d)(a.b.collectAndResolveStyles)).callFn([S,u.e(r)])])},t.prototype.visitAnimationKeyframe=function(t,e){return u.d(n.i(a.d)(a.b.AnimationKeyframe)).instantiate([u.c(t.offset),t.styles.visit(this,e)])},t.prototype.visitAnimationStep=function(t,e){var n=this;if(e.endStateAnimateStep===t)return this._visitEndStateAnimation(t,e);var r=t.startingStyles.visit(this,e),i=t.keyframes.map(function(t){return t.visit(n,e)});return this._callAnimateMethod(t,r,u.e(i),e)},t.prototype._visitEndStateAnimation=function(t,e){var r=this,i=t.startingStyles.visit(this,e),o=t.keyframes.map(function(t){return t.visit(r,e)}),s=u.d(n.i(a.d)(a.b.balanceAnimationKeyframes)).callFn([S,E,u.e(o)]);return this._callAnimateMethod(t,i,s,e)},t.prototype._callAnimateMethod=function(t,e,n,r){return r.totalTransitionTime+=t.duration+t.delay,v.callMethod("animate",[f,e,n,u.c(t.duration),u.c(t.delay),u.c(t.easing)])},t.prototype.visitAnimationSequence=function(t,e){var r=this,i=t.steps.map(function(t){return t.visit(r,e)});return u.d(n.i(a.d)(a.b.AnimationSequencePlayer)).instantiate([u.e(i)])},t.prototype.visitAnimationGroup=function(t,e){var r=this,i=t.steps.map(function(t){return t.visit(r,e)});return u.d(n.i(a.d)(a.b.AnimationGroupPlayer)).instantiate([u.e(i)])},t.prototype.visitAnimationStateDeclaration=function(t,e){var n={};o(t).forEach(function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})}),e.stateMap.registerState(t.stateName,n)},t.prototype.visitAnimationStateTransition=function(t,e){var n=t.animation.steps,o=n[n.length-1];i(o)&&(e.endStateAnimateStep=o),e.totalTransitionTime=0,e.isExpectingFirstStyleStep=!0;var s=[];t.stateChanges.forEach(function(t){s.push(r(g,t.fromState).and(r(b,t.toState))),t.fromState!=c.C&&e.stateMap.registerState(t.fromState),t.toState!=c.C&&e.stateMap.registerState(t.toState)});var a=t.animation.visit(this,e),l=s.reduce(function(t,e){return t.or(e)}),p=_.equals(u.f).and(l),h=_.set(a).toStmt(),f=w.set(u.c(e.totalTransitionTime)).toStmt();return new u.g(p,[h,f])},t.prototype.visitAnimationEntry=function(t,e){var r=this;t.stateDeclarations.forEach(function(t){return t.visit(r,e)}),e.stateMap.registerState(c.D,{});var i=[];i.push(y.callMethod("cancelActiveAnimation",[f,u.c(this.animationName),b.equals(u.c(c.E))]).toStmt()),i.push(S.set(C).toDeclStmt()),i.push(_.set(u.f).toDeclStmt()),i.push(w.set(u.c(0)).toDeclStmt()),i.push(d.set(this._statesMapVar.key(u.c(c.D))).toDeclStmt()),i.push(x.set(this._statesMapVar.key(g)).toDeclStmt()),i.push(new u.g(x.equals(u.f),[x.set(d).toStmt()])),i.push(E.set(this._statesMapVar.key(b)).toDeclStmt()),i.push(new u.g(E.equals(u.f),[E.set(d).toStmt()]));var o=u.d(n.i(a.d)(a.b.renderStyles));return i.push(o.callFn([f,v,u.d(n.i(a.d)(a.b.clearStyles)).callFn([x])]).toStmt()),t.stateTransitions.forEach(function(t){return i.push(t.visit(r,e))}),i.push(new u.g(_.equals(u.f),[_.set(u.d(n.i(a.d)(a.b.NoOpAnimationPlayer)).instantiate([])).toStmt()])),i.push(_.callMethod("onDone",[u.h([],[o.callFn([f,v,u.d(n.i(a.d)(a.b.prepareFinalAnimationStyles)).callFn([x,E])]).toStmt()])]).toStmt()),i.push(y.callMethod("queueAnimation",[f,u.c(this.animationName),_]).toStmt()),i.push(new u.i(u.d(n.i(a.d)(a.b.AnimationTransition)).instantiate([_,g,b,w]))),u.h([new u.j(m.name,u.k(n.i(a.d)(a.b.AppView),[u.l])),new u.j(f.name,u.l),new u.j(g.name,u.l),new u.j(b.name,u.l)],i,u.k(n.i(a.d)(a.b.AnimationTransition)))},t.prototype.build=function(t){var e=new k,r=t.visit(this,e).toDeclStmt(this._fnVarName),i=u.a(this._fnVarName),o=[];Object.keys(e.stateMap.states).forEach(function(t){var r=e.stateMap.states[t],i=C;if(n.i(s.a)(r)){var a=[];Object.keys(r).forEach(function(t){a.push([t,u.c(r[t])])}),i=u.b(a)}o.push([t,i])});var a=this._statesMapVar.set(u.b(o)).toDeclStmt(),c=[a,r];return new p(this.animationName,c,i)},t}(),k=function(){function t(){this.stateMap=new P,this.endStateAnimateStep=null,this.isExpectingFirstStyleStep=!1,this.totalTransitionTime=0}return t}(),P=function(){function t(){this._states={}}return Object.defineProperty(t.prototype,"states",{get:function(){return this._states},enumerable:!0,configurable:!0}),t.prototype.registerState=function(t,e){void 0===e&&(e=null);var n=this._states[t];n||(this._states[t]=e)},t}()},function(t,e,n){"use strict";function r(t,e){var n=[];t.styles.styles.forEach(function(t){"object"==typeof t&&null!==t?n.push(t):e.push(new T("State based animations cannot contain references to other states"))});var r=new E.c(n),i=t.stateNameExpr.split(/\s*,\s*/);return i.map(function(t){return new E.d(t,r)})}function i(t,e,n){var r=new S.a,i=[],o=t.stateChangeExpr.split(/\s*,\s*/);o.forEach(function(t){i.push.apply(i,s(t,n))});var u=a(t.steps),l=c(u,e,n),p=d(l,0,r,e,n);0==n.length&&m(p,r,n);var h=p instanceof E.e?p:new E.f([p]);return new E.g(i,h)}function o(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";default:return e.push(new T('the transition alias value "'+t+'" is not supported')),"* => *"}}function s(t,e){var r=[];":"==t[0]&&(t=o(t,e));var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(!n.i(_.a)(i)||i.length<4)return e.push(new T("the provided "+t+" is not of a supported format")),r;var s=i[1],a=i[2],u=i[3];r.push(new E.h(s,u));var c=s==x.C&&u==x.C;return"<"!=a[0]||c||r.push(new E.h(u,s)),r}function a(t){return Array.isArray(t)?new g.h(t):t}function u(t,e,n){var r=[];return t.styles.forEach(function(t){"string"==typeof t?r.push.apply(r,h(t,e,n)):r.push(t)}),r}function c(t,e,n){var r=p(t,e,n);return t instanceof g.i?new g.i(r):new g.h(r)}function l(t,e){if("object"==typeof e&&null!==e&&t.length>0){var n=t.length-1,r=t[n];if("object"==typeof r&&null!==r)return void(t[n]=b.c.merge(r,e))}t.push(e)}function p(t,e,r){var i;if(!(t instanceof g.j))return[t];i=t.steps;var o,s=[];return i.forEach(function(t){if(t instanceof g.k)n.i(_.a)(o)||(o=[]),u(t,e,r).forEach(function(t){l(o,t)});else{if(n.i(_.a)(o)&&(s.push(new g.k(0,o)),o=null),t instanceof g.l){var i=t.styles;i instanceof g.k?i.styles=u(i,e,r):i instanceof g.m&&i.steps.forEach(function(t){t.styles=u(t,e,r)})}else if(t instanceof g.j){var a=p(t,e,r);t=t instanceof g.i?new g.i(a):new g.h(a)}s.push(t)}}),n.i(_.a)(o)&&s.push(new g.k(0,o)),s}function h(t,e,r){var i=[];if(":"!=t[0])r.push(new T('Animation states via styles must be prefixed with a ":"'));else{var o=t.substring(1),s=e[o];n.i(_.a)(s)?s.styles.forEach(function(t){"object"==typeof t&&null!==t&&i.push(t)}):r.push(new T('Unable to apply styles due to missing a state: "'+o+'"'))}return i}function f(t,e,r,i,o){var s=t.steps.length,a=0;t.steps.forEach(function(t){return a+=n.i(_.a)(t.offset)?1:0}),a>0&&a=0;g--)S(g);return l.map(function(t){return new E.i(t[0],new E.c([t[1]]))})}function d(t,e,r,i,o){var s,a=0,u=e;if(t instanceof g.j){var c,l=0,p=[],h=t instanceof g.i;if(t.steps.forEach(function(t){var s=h?u:e;if(t instanceof g.k)return t.styles.forEach(function(t){var e=t;Object.keys(e).forEach(function(t){r.insertAtTime(t,s,e[t])})}),void(c=t.styles);var f=d(t,s,r,i,o);if(n.i(_.a)(c)){if(t instanceof g.j){var m=new E.c(c);p.push(new E.a(m,[],0,0,""))}else{var y=f;(b=y.startingStyles.styles).push.apply(b,c)}c=null}var v=f.playTime;e+=v,a+=v,l=Math.max(v,l),p.push(f);var b}),n.i(_.a)(c)){var m=new E.c(c);p.push(new E.a(m,[],0,0,""))}h?(s=new E.j(p),a=l,e=u+a):s=new E.f(p)}else if(t instanceof g.l){var v,b=y(t.timings,o),w=t.styles;if(w instanceof g.m)v=f(w,e,r,i,o);else{var x=w,S=k,C=new E.c(x.styles),O=new E.i(S,C);v=[O]}s=new E.a(new E.c([]),v,b.duration,b.delay,b.easing),a=b.duration+b.delay,e+=a,v.forEach(function(t){return t.styles.styles.forEach(function(t){return Object.keys(t).forEach(function(n){r.insertAtTime(n,e,t[n])})})})}else s=new E.a(null,[],0,0,"");return s.playTime=a,s.startTime=u,s}function m(t,e,n){if(t instanceof E.a&&t.keyframes.length>0){var r=t.keyframes;if(1==r.length){var i=r[0],o=v(i,t.startTime,t.playTime,e,n);t.keyframes=[o,i]}}else t instanceof E.e&&t.steps.forEach(function(t){return m(t,e,n)})}function y(t,e){var r,i=/^([\.\d]+)(m?s)(?:\s+([\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?/i,o=0,s=null;if("string"==typeof t){var a=t.match(i);if(null===a)return e.push(new T('The provided timing value "'+t+'" is invalid.')),new M(0,0,null);var u=parseFloat(a[1]),c=a[2];"s"==c&&(u*=P),r=Math.floor(u);var l=a[3],p=a[4];if(n.i(_.a)(l)){var h=parseFloat(l);n.i(_.a)(p)&&"s"==p&&(h*=P),o=Math.floor(h)}var f=a[5];n.i(_.e)(f)||(s=f)}else r=t;return new M(r,o,s)}function v(t,e,r,i,o){var s={},a=e+r;return t.styles.styles.forEach(function(t){Object.keys(t).forEach(function(r){var u=t[r];if("offset"!=r){var c,l,p,h=i.indexOfAtOrBeforeTime(r,e);n.i(_.a)(h)?(c=i.getByIndex(r,h),p=c.value,l=i.getByIndex(r,h+1)):p=x.F,n.i(_.a)(l)&&!l.matches(a,u)&&o.push(new T('The animated CSS property "'+r+'" unexpectedly changes between steps "'+c.time+'ms" and "'+a+'ms" at "'+l.time+'ms"')),s[r]=p}})}),new E.i(O,new E.c([s]))}var g=n(24),b=n(36),_=n(4),w=n(37),x=n(18),E=n(266),S=n(499);n.d(e,"a",function(){return I});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var C=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},O=0,k=1,P=1e3,T=function(t){function e(e){t.call(this,null,e)}return C(e,t),e.prototype.toString=function(){return""+this.msg},e}(w.a),A=function(){function t(t,e){this.ast=t,this.errors=e}return t}(),I=function(){function t(){}return t.prototype.parseComponent=function(t){var e=this,n=[],r=t.type.name,i=new Set,o=t.template.animations.map(function(t){var o=e.parseEntry(t),s=o.ast,a=s.name;if(i.has(a)?o.errors.push(new T('The animation trigger "'+a+'" has already been registered for the '+r+" component")):i.add(a),o.errors.length>0){var u='- Unable to parse the animation sequence for "'+a+'" on the '+r+" component due to the following errors:";o.errors.forEach(function(t){u+="\n-- "+t.msg}),n.push(u)}return s});if(n.length>0){var s=n.join("\n");throw new Error("Animation parse errors:\n"+s)}return o},t.prototype.parseEntry=function(t){var e=[],n={},o=[],s=[];t.definitions.forEach(function(t){t instanceof g.g?r(t,e).forEach(function(t){s.push(t),n[t.stateName]=t.styles}):o.push(t)});var a=o.map(function(t){return i(t,n,e)}),u=new E.b(t.name,s,a);return new A(u,e)},t}(),M=function(){function t(t,e,n){this.duration=t,this.delay=e,this.easing=n}return t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e){if(n.i(o.isDevMode)()&&!n.i(s.e)(e)){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var r=0;r]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]},function(t,e,n){"use strict";function r(t){var e=""+t.fields.length,r=o(e);return t.fields.push(new a.n(r.name,null,[a.p.Private])),t.ctorStmts.push(a.o.prop(r.name).set(a.d(n.i(s.d)(s.b.UNINITIALIZED))).toStmt()),new u(r,e)}function i(t,e,r,i){var o=a.d(n.i(s.d)(s.b.checkBinding)).callFn([r,e,t.currValExpr]);return t.forceUpdate&&(o=t.forceUpdate.or(o)),t.stmts.concat([new a.g(o,i.concat([a.o.prop(e.name).set(t.currValExpr).toStmt()]))])}function o(t){return a.o.prop("_expr_"+t)}var s=n(15),a=n(10);e.a=r,e.b=i;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var u=function(){function t(t,e){this.expression=t,this.bindingId=e}return t}()},function(t,e,n){"use strict";function r(t,e,r,o,l,p){var h=[],f=t.prop("renderer");switch(o=i(t,e,o,p),e.type){case c.e.Property:l&&h.push(u.d(n.i(a.d)(a.b.setBindingDebugInfo)).callFn([f,r,u.c(e.name),o]).toStmt()),h.push(f.callMethod("setElementProperty",[r,u.c(e.name),o]).toStmt());break;case c.e.Attribute:o=o.isBlank().conditional(u.f,o.callMethod("toString",[])),h.push(f.callMethod("setElementAttribute",[r,u.c(e.name),o]).toStmt());break;case c.e.Class:h.push(f.callMethod("setElementClass",[r,u.c(e.name),o]).toStmt());break;case c.e.Style:var d=o.callMethod("toString",[]);n.i(s.a)(e.unit)&&(d=d.plus(u.c(e.unit))),o=o.isBlank().conditional(u.f,d),h.push(f.callMethod("setElementStyle",[r,u.c(e.name),o]).toStmt());break;case c.e.Animation:throw new Error("Illegal state: Should not come here!")}return h}function i(t,e,r,i){if(e.securityContext===o.SecurityContext.NONE)return r;if(e.needsRuntimeSecurityContext||(i=n.i(l.b)(a.b.SecurityContext,e.securityContext)),!i)throw new Error("internal error, no SecurityContext given "+e.name);var s=t.prop("viewUtils").prop("sanitizer"),u=[i,r];return s.callMethod("sanitize",u)}var o=n(1),s=n(4),a=n(15),u=n(10),c=n(49),l=n(48);e.a=r},function(t,e,n){"use strict";function r(t,e,n,r){var i=new _(n,r);return i.extract(t,e)}function i(t,e,n,r,i){var o=new _(r,i);return o.merge(t,e,n)}function o(t){return t instanceof c.a&&t.value&&t.value.startsWith("i18n")}function s(t){return t instanceof c.a&&t.value&&"/i18n"===t.value}function a(t){return t.attrs.find(function(t){return t.name===y})||null}function u(t){if(!t)return["",""];var e=t.indexOf("|");return e==-1?["",t]:[t.slice(0,e),t.slice(e+1)]}var c=n(61),l=n(78),p=n(172),h=n(273),f=n(501),d=n(173);e.a=r,e.b=i;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var m,y="i18n",v="i18n-",g=/^i18n:?/,b=function(){function t(t,e){this.messages=t,this.errors=e}return t}();!function(t){t[t.Extract=0]="Extract",t[t.Merge=1]="Merge"}(m||(m={}));var _=function(){function t(t,e){this._implicitTags=t,this._implicitAttrs=e}return t.prototype.extract=function(t,e){var n=this;return this._init(m.Extract,e),t.forEach(function(t){return t.visit(n,null)}),this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new b(this._messages,this._errors)},t.prototype.merge=function(t,e,n){this._init(m.Merge,n),this._translations=e;var r=new c.e("wrapper",[],t,null,null,null),i=r.visit(this,null);return this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new l.a(i.children,this._errors)},t.prototype.visitExpansionCase=function(t,e){var n=c.g(this,t.expression,e);if(this._mode===m.Merge)return new c.c(t.value,n,t.sourceSpan,t.valueSourceSpan,t.expSourceSpan)},t.prototype.visitExpansion=function(t,e){this._mayBeAddBlockChildren(t);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([t]),this._inIcu=!0);var r=c.g(this,t.cases,e);return this._mode===m.Merge&&(t=new c.b(t.switchValue,t.type,r,t.sourceSpan,t.switchValueSourceSpan)),this._inIcu=n,t},t.prototype.visitComment=function(t,e){var n=o(t);if(n&&this._isInTranslatableSection)return void this._reportError(t,"Could not start a block inside a translatable section");var r=s(t);if(r&&!this._inI18nBlock)return void this._reportError(t,"Trying to close an unopened block");if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(r){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(t,this._blockChildren),this._inI18nBlock=!1;var i=this._addMessage(this._blockChildren,this._blockMeaningAndDesc),a=this._translateMessage(t,i);return c.g(this,a)}return void this._reportError(t,"I18N blocks should not cross element boundaries")}}else n&&(this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(g,"").trim(),this._openTranslatableSection(t))},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(t,e){var n=this;this._mayBeAddBlockChildren(t),this._depth++;var r,i=this._inI18nNode,o=this._inImplicitNode,s=a(t),u=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,l=!o&&u;if(this._inImplicitNode=this._inImplicitNode||u,this._isInTranslatableSection||this._inIcu)(s||l)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==m.Extract&&c.g(this,t.children),this._mode==m.Merge&&(r=[],t.children.forEach(function(t){var i=t.visit(n,e);i&&!n._isInTranslatableSection&&(r=r.concat(i))}));else{if(s){this._inI18nNode=!0;var p=this._addMessage(t.children,s.value);r=this._translateMessage(t,p)}else if(l){this._inI18nNode=!0;var p=this._addMessage(t.children);r=this._translateMessage(t,p)}if(this._mode==m.Extract){var h=s||l;h&&this._openTranslatableSection(t),c.g(this,t.children),h&&this._closeTranslatableSection(t,t.children)}this._mode!==m.Merge||s||l||(r=[],t.children.forEach(function(t){var i=t.visit(n,e);i&&!n._isInTranslatableSection&&(r=r.concat(i))}))}if(this._visitAttributesOf(t),this._depth--,this._inI18nNode=i,this._inImplicitNode=o,this._mode===m.Merge){var f=this._translateAttributes(t);return new c.e(t.name,f,r,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=n.i(f.a)(e)},t.prototype._visitAttributesOf=function(t){var e=this,n={},r=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith(v)}).forEach(function(t){return n[t.name.slice(v.length)]=t.value}),t.attrs.forEach(function(t){t.name in n?e._addMessage([t],n[t.name]):r.some(function(e){return t.name===e})&&e._addMessage([t])})},t.prototype._addMessage=function(t,e){if(!(0==t.length||1==t.length&&t[0]instanceof c.f&&!t[0].value)){var n=u(e),r=n[0],i=n[1],o=this._createI18nMessage(t,r,i);return this._messages.push(o),o}},t.prototype._translateMessage=function(t,e){if(e&&this._mode===m.Merge){var r=n.i(p.a)(e),i=this._translations.get(r);if(i)return i;this._reportError(t,'Translation unavailable for message id="'+r+'"')}return[]},t.prototype._translateAttributes=function(t){var e=this,r=t.attrs,i={};r.forEach(function(t){t.name.startsWith(v)&&(i[t.name.slice(v.length)]=u(t.value)[0])});var o=[];return r.forEach(function(r){if(r.name!==y&&!r.name.startsWith(v))if(r.value&&""!=r.value&&i.hasOwnProperty(r.name)){var s=i[r.name],a=e._createI18nMessage([r],s,""),u=n.i(p.a)(a),l=e._translations.get(u);if(l)if(l[0]instanceof c.d){var h=l[0].value;o.push(new c.f(r.name,h,r.sourceSpan))}else e._reportError(t,'Unexpected translation for attribute "'+r.name+'" (id="'+u+'")');else e._reportError(t,'Translation unavailable for attribute "'+r.name+'" (id="'+u+'")')}else o.push(r)}),o},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(!this._isInTranslatableSection)return void this._reportError(t,"Unexpected section end");var n=this._msgCountAtSectionStart,r=e.reduce(function(t,e){return t+(e instanceof c.a?0:1)},0);if(1==r)for(var i=this._messages.length-1;i>=n;i--){var o=this._messages[i].nodes;if(!(1==o.length&&o[0]instanceof h.f)){this._messages.splice(i,1);break}}this._msgCountAtSectionStart=void 0},t.prototype._reportError=function(t,e){this._errors.push(new d.a(t.sourceSpan,e))},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"f",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"g",function(){return u}),n.d(e,"e",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(t,e,n,r,i){this.nodes=t,this.placeholders=e,this.placeholderToMsgIds=n,this.meaning=r,this.description=i}return t}(),i=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),o=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),s=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),a=function(){function t(t,e,n,r,i,o,s){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),u=function(){function t(t,e,n){void 0===e&&(e=""),this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),c=function(){function t(t,e,n){void 0===e&&(e=""),this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}()},function(t,e,n){"use strict";var r=n(42),i=n(78),o=n(272),s=n(276),a=n(278),u=n(279),c=n(281),l=n(503);n.d(e,"a",function(){return p});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=function(){function t(t,e,n){this._htmlParser=t,this._translations=e,this._translationsFormat=n}return t.prototype.parse=function(t,e,a,u){void 0===a&&(a=!1),void 0===u&&(u=r.a);var c=this._htmlParser.parse(t,e,a,u);if(!this._translations||""===this._translations)return c;var p=new s.a(this._htmlParser,[],{}),h=p.updateFromTemplate(t,e,u);if(h&&h.length)return new i.a(c.rootNodes,c.errors.concat(h));var f=this._createSerializer(u),d=l.a.load(this._translations,e,p,f);return n.i(o.b)(c.rootNodes,d,u,[],{})},t.prototype._createSerializer=function(t){var e=(this._translationsFormat||"xlf").toLowerCase();switch(e){case"xmb":return new u.a;case"xtb":return new c.a(this._htmlParser,t);case"xliff":case"xlf":default:return new a.a(this._htmlParser,t)}},t}()},function(t,e,n){"use strict";var r=n(274);n(276),n(278),n(279),n(281);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(172),i=n(272);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(t,e,n){this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._messageMap={}}return t.prototype.updateFromTemplate=function(t,e,o){var s=this,a=this._htmlParser.parse(t,e,!0,o);if(a.errors.length)return a.errors;var u=n.i(i.a)(a.rootNodes,o,this._implicitTags,this._implicitAttrs);return u.errors.length?u.errors:void u.messages.forEach(function(t){s._messageMap[n.i(r.a)(t)]=t})},t.prototype.getMessageMap=function(){return this._messageMap},t.prototype.write=function(t){return t.write(this._messageMap)},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){var e=t.getMessageMap(),n={};return Object.keys(e).forEach(function(t){n[t]=e[t].placeholders}),n}function i(t){var e=t.getMessageMap(),n={};return Object.keys(e).forEach(function(t){n[t]=e[t].placeholderToMsgIds}),n}e.a=r,e.b=i},function(t,e,n){"use strict";function r(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}var i=n(36),o=n(61),s=n(282),a=n(173),u=n(277),c=n(280);n.d(e,"a",function(){return v});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l="1.2",p="urn:oasis:names:tc:xliff:document:1.2",h="en",f="x",d="source",m="target",y="trans-unit",v=function(){function t(t,e){this._htmlParser=t,this._interpolationConfig=e}return t.prototype.write=function(t){var e=new g,n=[];Object.keys(t).forEach(function(r){var i=t[r],o=new c.a(y,{id:r,datatype:"html"});o.children.push(new c.b(8),new c.a(d,{},e.serialize(i.nodes)),new c.b(8),new c.a(m)),i.description&&o.children.push(new c.b(8),new c.a("note",{priority:"1",from:"description"},[new c.c(i.description)])),i.meaning&&o.children.push(new c.b(8),new c.a("note",{priority:"1",from:"meaning"},[new c.c(i.meaning)])),o.children.push(new c.b(6)),n.push(new c.b(6),o)});var r=new c.a("body",{},n.concat([new c.b(4)])),i=new c.a("file",{"source-language":h,datatype:"plaintext",original:"ng2.template"},[new c.b(4),r,new c.b(2)]),o=new c.a("xliff",{version:l,xmlns:p},[new c.b(2),i,new c.b]);return c.d([new c.e({version:"1.0",encoding:"UTF-8"}),new c.b,o,new c.b])},t.prototype.load=function(t,e,n){var r=this,i=(new s.a).parse(t,e);if(i.errors.length)throw new Error("xtb parse errors:\n"+i.errors.join("\n"));var o=(new b).parse(i.rootNodes,n),a=o.messages,u=o.errors;if(u.length)throw new Error("xtb parse errors:\n"+u.join("\n"));var c={},l=[];if(Object.keys(a).forEach(function(t){var n=r._htmlParser.parse(a[t],e,!0,r._interpolationConfig);l.push.apply(l,n.errors),c[t]=n.rootNodes}),l.length)throw new Error("xtb parse errors:\n"+l.join("\n"));return c},t}(),g=function(){function t(){}return t.prototype.visitText=function(t,e){return[new c.c(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){if(this._isInIcu)throw new Error("xliff does not support nested ICU messages");this._isInIcu=!0;var n=[];return this._isInIcu=!1,n},t.prototype.visitTagPlaceholder=function(t,e){var n=r(t.tag),i=new c.a(f,{id:t.startName,ctype:n});if(t.isVoid)return[i];var o=new c.a(f,{id:t.closeName,ctype:n});return[i].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){return[new c.a(f,{id:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new c.a(f,{id:t.name})]},t.prototype.serialize=function(t){var e=this;return this._isInIcu=!1,i.a.flatten(t.map(function(t){return t.visit(e)}))},t}(),b=function(){function t(){}return t.prototype.parse=function(t,e){var r=this;this._messageNodes=[],this._translatedMessages={},this._msgId="",this._target=[],this._errors=[],o.g(this,t,null);var i=e.getMessageMap(),s=n.i(u.a)(e),a=n.i(u.b)(e);return this._messageNodes.filter(function(t){return i.hasOwnProperty(t[0])}).sort(function(t,e){return 0==Object.keys(i[t[0]].placeholderToMsgIds).length?-1:0==Object.keys(i[e[0]].placeholderToMsgIds).length?1:0}).forEach(function(t){var e=t[0];r._placeholders=s[e]||{},r._placeholderToIds=a[e]||{},r._translatedMessages[e]=o.g(r,t[1]).join("")}),{messages:this._translatedMessages,errors:this._errors}},t.prototype.visitElement=function(t,e){switch(t.name){case y:this._target=null;var n=t.attrs.find(function(t){return"id"===t.name});n?this._msgId=n.value:this._addError(t,"<"+y+'> misses the "id" attribute'),o.g(this,t.children,null),null!==this._msgId&&this._messageNodes.push([this._msgId,this._target]);break;case d:break;case m:this._target=t.children;break;case f:var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._placeholders.hasOwnProperty(i))return this._placeholders[i];if(this._placeholderToIds.hasOwnProperty(i)&&this._translatedMessages.hasOwnProperty(this._placeholderToIds[i]))return this._translatedMessages[this._placeholderToIds[i]];this._addError(t,'The placeholder "'+i+'" does not exists in the source message')}else this._addError(t,"<"+f+'> misses the "id" attribute');break;default:o.g(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitComment=function(t,e){return""},t.prototype.visitExpansion=function(t,e){throw new Error("unreachable code")},t.prototype.visitExpansionCase=function(t,e){throw new Error("unreachable code")},t.prototype._addError=function(t,e){this._errors.push(new a.a(t.sourceSpan,e))},t}()},function(t,e,n){"use strict";var r=n(36),i=n(280);n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o="messagebundle",s="msg",a="ph",u="ex",c='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',l=function(){function t(){}return t.prototype.write=function(t){var e=new p,n=new i.a(o);return Object.keys(t).forEach(function(r){var o=t[r],a={id:r};o.description&&(a.desc=o.description),o.meaning&&(a.meaning=o.meaning),n.children.push(new i.b(2),new i.a(s,a,e.serialize(o.nodes)))}),n.children.push(new i.b),i.d([new i.e({version:"1.0",encoding:"UTF-8"}),new i.b,new i.f(o,c),new i.b,n,new i.b])},t.prototype.load=function(t,e,n){throw new Error("Unsupported")},t}(),p=function(){function t(){}return t.prototype.visitText=function(t,e){return[new i.c(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new i.c("{"+t.expression+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new i.c(e+" {")].concat(t.cases[e].visit(n),[new i.c("} ")]))}),r.push(new i.c("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new i.a(u,{},[new i.c("<"+t.tag+">")]),r=new i.a(a,{name:t.startName},[n]);if(t.isVoid)return[r];var o=new i.a(u,{},[new i.c("")]),s=new i.a(a,{name:t.closeName},[o]);return[r].concat(this.serialize(t.children),[s])},t.prototype.visitPlaceholder=function(t,e){return[new i.a(a,{name:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new i.a(a,{name:t.name})]},t.prototype.serialize=function(t){var e=this;return r.a.flatten(t.map(function(t){return t.visit(e)}))},t}()},function(t,e,n){"use strict";function r(t){return t.map(function(t){return t.visit(a)}).join("")}function i(t){return f.reduce(function(t,e){return t.replace(e[0],e[1])},t)}e.d=r,n.d(e,"e",function(){return u}),n.d(e,"f",function(){return c}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return p}),n.d(e,"b",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+""},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return""},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return""},t}(),a=new s,u=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=i(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),c=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),l=function(){function t(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=[]),this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=i(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),p=function(){function t(t){this.value=i(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),h=function(t){function e(e){void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))}return o(e,t),e}(p),f=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]]},function(t,e,n){"use strict";var r=n(61),i=n(282),o=n(173),s=n(277);n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a="translationbundle",u="translation",c="ph",l=function(){function t(t,e){this._htmlParser=t,this._interpolationConfig=e}return t.prototype.write=function(t){throw new Error("Unsupported")},t.prototype.load=function(t,e,n){var r=this,o=(new i.a).parse(t,e);if(o.errors.length)throw new Error("xtb parse errors:\n"+o.errors.join("\n"));var s=(new p).parse(o.rootNodes,n),a=s.messages,u=s.errors;if(u.length)throw new Error("xtb parse errors:\n"+u.join("\n"));var c={},l=[];if(Object.keys(a).forEach(function(t){var n=r._htmlParser.parse(a[t],e,!0,r._interpolationConfig);l.push.apply(l,n.errors),c[t]=n.rootNodes}),l.length)throw new Error("xtb parse errors:\n"+l.join("\n"));return c},t}(),p=function(){function t(){}return t.prototype.parse=function(t,e){var i=this;this._messageNodes=[],this._translatedMessages={},this._bundleDepth=0,this._translationDepth=0,this._errors=[],r.g(this,t,null);var o=e.getMessageMap(),a=n.i(s.a)(e),u=n.i(s.b)(e);return this._messageNodes.filter(function(t){return o.hasOwnProperty(t[0])}).sort(function(t,e){return 0==Object.keys(o[t[0]].placeholderToMsgIds).length?-1:0==Object.keys(o[e[0]].placeholderToMsgIds).length?1:0}).forEach(function(t){var e=t[0];i._placeholders=a[e]||{},i._placeholderToIds=u[e]||{},i._translatedMessages[e]=r.g(i,t[1]).join("")}),{messages:this._translatedMessages,errors:this._errors}},t.prototype.visitElement=function(t,e){switch(t.name){case a:this._bundleDepth++,this._bundleDepth>1&&this._addError(t,"<"+a+"> elements can not be nested"),r.g(this,t.children,null),this._bundleDepth--;break;case u:this._translationDepth++,this._translationDepth>1&&this._addError(t,"<"+u+"> elements can not be nested");var n=t.attrs.find(function(t){return"id"===t.name});n?this._messageNodes.push([n.value,t.children]):this._addError(t,"<"+u+'> misses the "id" attribute'),this._translationDepth--;break;case c:var i=t.attrs.find(function(t){return"name"===t.name});if(i){var o=i.value;if(this._placeholders.hasOwnProperty(o))return this._placeholders[o];if(this._placeholderToIds.hasOwnProperty(o)&&this._translatedMessages.hasOwnProperty(this._placeholderToIds[o]))return this._translatedMessages[this._placeholderToIds[o]];this._addError(t,'The placeholder "'+o+'" does not exists in the source message')}else this._addError(t,"<"+c+'> misses the "name" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitComment=function(t,e){return""},t.prototype.visitExpansion=function(t,e){var n=this;t.cases.map(function(t){return t.visit(n,null)});return"{"+t.switchValue+", "+t.type+", strCases.join(' ')}"},t.prototype.visitExpansionCase=function(t,e){return t.value+" {"+r.g(this,t.expression,null)+"}"},t.prototype._addError=function(t,e){this._errors.push(new o.a(t.sourceSpan,e))},t}()},function(t,e,n){"use strict";var r=n(78),i=n(507);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){t.call(this,i.a)}return o(e,t),e.prototype.parse=function(e,n,r){return void 0===r&&(r=!1),t.prototype.parse.call(this,e,n,r,null)},e}(r.b)},function(t,e,n){"use strict";function r(t){var e=new c(u),n=o.a.createRoot([]),r=Array.isArray(t)?t:[t];return r.forEach(function(t){if(t instanceof s.O)t.visitStatement(e,n);else if(t instanceof s.E)t.visitExpression(e,n);else{if(!(t instanceof s.P))throw new Error("Don't know how to print debug info for "+t);t.visitType(e,n)}}),n.toSource()}var i=n(4),o=n(178),s=n(10);e.a=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u="asset://debug/lib",c=(function(){function t(t){this._importGenerator=t}return t.prototype.emitStatements=function(t,e,n){var r=this,i=new c(t),s=o.a.createRoot(n);i.visitAllStatements(e,s);var a=[];return i.importsWithPrefixes.forEach(function(e,n){a.push("imp"+("ort * as "+e+" from '"+r._importGenerator.getImportPath(t,n)+"';"))}),a.push(s.toSource()),a.join("\n")},t}(),function(t){function e(e){t.call(this,!1),this._moduleUrl=e,this.importsWithPrefixes=new Map}return a(e,t),e.prototype.visitType=function(t,e,r){void 0===r&&(r="any"),n.i(i.a)(t)?t.visitType(this,e):e.print(r)},e.prototype.visitLiteralExpr=function(e,n){t.prototype.visitLiteralExpr.call(this,e,n,"(null as any)")},e.prototype.visitLiteralArrayExpr=function(e,n){0===e.entries.length&&n.print("(");var r=t.prototype.visitLiteralArrayExpr.call(this,e,n);return 0===e.entries.length&&n.print(" as any[])"),r},e.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitDeclareVarStmt=function(t,e){return e.isExportedVar(t.name)&&e.print("export "),t.hasModifier(s.p.Final)?e.print("const"):e.print("var"),e.print(" "+t.name+":"),this.visitType(t.type,e),e.print(" = "),t.value.visitExpression(this,e),e.println(";"),null},e.prototype.visitCastExpr=function(t,e){return e.print("(<"),t.type.visitType(this,e),e.print(">"),t.value.visitExpression(this,e),e.print(")"),null},e.prototype.visitDeclareClassStmt=function(t,e){var r=this;return e.pushClass(t),e.isExportedVar(t.name)&&e.print("export "),e.print("class "+t.name),n.i(i.a)(t.parent)&&(e.print(" extends "),t.parent.visitExpression(this,e)),e.println(" {"),e.incIndent(),t.fields.forEach(function(t){return r._visitClassField(t,e)}),n.i(i.a)(t.constructorMethod)&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return r._visitClassGetter(t,e)}),t.methods.forEach(function(t){return r._visitClassMethod(t,e)}),e.decIndent(),e.println("}"),e.popClass(),null},e.prototype._visitClassField=function(t,e){t.hasModifier(s.p.Private)&&e.print("/*private*/ "),e.print(t.name),e.print(":"),this.visitType(t.type,e),e.println(";")},e.prototype._visitClassGetter=function(t,e){t.hasModifier(s.p.Private)&&e.print("private "),e.print("get "+t.name+"()"),e.print(":"),this.visitType(t.type,e),e.println(" {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println("}")},e.prototype._visitClassConstructor=function(t,e){e.print("constructor("),this._visitParams(t.constructorMethod.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println("}")},e.prototype._visitClassMethod=function(t,e){t.hasModifier(s.p.Private)&&e.print("private "),e.print(t.name+"("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println("}")},e.prototype.visitFunctionExpr=function(t,e){return e.print("("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print("}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.isExportedVar(t.name)&&e.print("export "),e.print("function "+t.name+"("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println("}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println("try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println("} catch ("+o.b.name+") {"),e.incIndent();var n=[o.c.set(o.b.prop("stack")).toDeclStmt(null,[s.p.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println("}"),null},e.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case s.Q.Bool:n="boolean";break;case s.Q.Dynamic:n="any";break;case s.Q.Function:n="Function";break;case s.Q.Number:n="number";break;case s.Q.Int:n="number";break;case s.Q.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(n),null},e.prototype.visitExternalType=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print("[]"),null},e.prototype.visitMapType=function(t,e){return e.print("{[key: string]:"),this.visitType(t.valueType,e),e.print("}"),null},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case s.H.ConcatArray:e="concat";break;case s.H.SubscribeObservable:e="subscribe";break;case s.H.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(t.name),e.print(":"),n.visitType(t.type,e)},t,e,",")},e.prototype._visitIdentifier=function(t,e,r){var o=this;if(n.i(i.e)(t.name))throw new Error("Internal error: unknown identifier "+t);if(n.i(i.a)(t.moduleUrl)&&t.moduleUrl!=this._moduleUrl){var s=this.importsWithPrefixes.get(t.moduleUrl);n.i(i.e)(s)&&(s="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(t.moduleUrl,s)),r.print(s+".")}t.reference&&t.reference.members?(r.print(t.reference.name),r.print("."),r.print(t.reference.members.join("."))):r.print(t.name),n.i(i.a)(e)&&e.length>0&&(r.print("<"),this.visitAllObjects(function(t){return t.visitType(o,r)},e,r,","),r.print(">"))},e}(o.d))},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e){return void 0===e&&(e=null),n.i(o.d)(t,new a,e)}var i=n(24),o=n(62),s=n(10);e.a=r;var a=function(){function t(){}return t.prototype.visitArray=function(t,e){var r=this;return s.e(t.map(function(t){return n.i(o.d)(t,r,null)}),e)},t.prototype.visitStringMap=function(t,e){var r=this,i=[];return Object.keys(t).forEach(function(e){i.push([e,n.i(o.d)(t[e],r,null)])}),s.b(i,e)},t.prototype.visitPrimitive=function(t,e){return s.c(t,e)},t.prototype.visitOther=function(t,e){if(t instanceof i.a)return s.d(t);if(t instanceof s.E)return t;throw new Error("Illegal state: Don't now how to compile value "+t)},t}()},function(t,e,n){"use strict";function r(t,e){var n=e.useExisting,r=e.useValue,i=e.deps;return new p.d({token:t.token,useClass:t.useClass,useExisting:n,useFactory:t.useFactory,useValue:r,deps:i,multi:t.multi})}function i(t,e){var n=e.eager,r=e.providers;return new y.b(t.token,t.multiProvider,t.eager||n,r,t.providerType,t.lifecycleHooks,t.sourceSpan)}function o(t,e,r,i){return void 0===i&&(i=null),i||(i=[]),n.i(f.a)(t)&&t.forEach(function(t){if(Array.isArray(t))o(t,e,r,i);else{var s=void 0;t instanceof p.d?s=t:t instanceof p.e?s=new p.d({token:new p.b({identifier:t}),useClass:t}):r.push(new g("Unknown provider type "+t,e)),n.i(f.a)(s)&&i.push(s)}}),i}function s(t,e,n){var r=new Map;t.forEach(function(t){var i=new p.d({token:new p.b({identifier:t.type}),useClass:t.type});a([i],t.isComponent?y.a.Component:y.a.Directive,!0,e,n,r)});var i=t.filter(function(t){return t.isComponent}).concat(t.filter(function(t){return!t.isComponent}));return i.forEach(function(t){a(o(t.providers,e,n),y.a.PublicService,!1,e,n,r),a(o(t.viewProviders,e,n),y.a.PrivateService,!1,e,n,r)}),r}function a(t,e,r,i,o,s){t.forEach(function(t){var a=s.get(t.token.reference);if(n.i(f.a)(a)&&a.multiProvider!==t.multi&&o.push(new g("Mixing multi and non multi provider is not possible for token "+a.token.name,i)),a)t.multi||(a.providers.length=0),a.providers.push(t);else{var u=t.token.identifier&&t.token.identifier instanceof p.e?t.token.identifier.lifecycleHooks:[];a=new y.b(t.token,t.multi,r||u.length>0,[t],e,u,i),s.set(t.token.reference,a)}})}function u(t){var e=new Map;return n.i(f.a)(t.viewQueries)&&t.viewQueries.forEach(function(t){return l(e,t)}),t.type.diDeps.forEach(function(t){n.i(f.a)(t.viewQuery)&&l(e,t.viewQuery)}),e}function c(t){var e=new Map;return t.forEach(function(t){n.i(f.a)(t.queries)&&t.queries.forEach(function(t){return l(e,t)}),t.type.diDeps.forEach(function(t){n.i(f.a)(t.query)&&l(e,t.query)})}),e}function l(t,e){e.selectors.forEach(function(n){var r=t.get(n.reference);r||(r=[],t.set(n.reference,r)),r.push(e)})}var p=n(24),h=n(36),f=n(4),d=n(15),m=n(37),y=n(49);n.d(e,"a",function(){return b}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return w});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var v=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},g=function(t){function e(e,n){t.call(this,n,e)}return v(e,t),e}(m.a),b=function(){function t(t,e){var r=this;this.component=t,this.sourceSpan=e,this.errors=[],this.viewQueries=u(t),this.viewProviders=new Map,o(t.viewProviders,e,this.errors).forEach(function(t){n.i(f.e)(r.viewProviders.get(t.token.reference))&&r.viewProviders.set(t.token.reference,!0)})}return t}(),_=function(){function t(t,e,r,i,o,a,u){var l=this;this.viewContext=t,this._parent=e,this._isViewRoot=r,this._directiveAsts=i,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._hasViewContainer=!1,this._attrs={},o.forEach(function(t){return l._attrs[t.name]=t.value});var m=i.map(function(t){return t.directive});this._allProviders=s(m,u,t.errors),this._contentQueries=c(m);var y=new Map;h.b.values(this._allProviders).forEach(function(t){l._addQueryReadsTo(t.token,y)}),a.forEach(function(t){l._addQueryReadsTo(new p.b({value:t.name}),y)}),n.i(f.a)(y.get(n.i(d.a)(d.b.ViewContainerRef).reference))&&(this._hasViewContainer=!0),h.b.values(this._allProviders).forEach(function(t){var e=t.eager||n.i(f.a)(y.get(t.token.reference));e&&l._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;h.b.values(this._allProviders).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){return h.b.values(this._transformedProviders)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedHasViewContainer",{get:function(){return this._hasViewContainer},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e){this._getQueriesFor(t).forEach(function(r){var i=r.read||t;n.i(f.e)(e.get(i.reference))&&e.set(i.reference,!0)})},t.prototype._getQueriesFor=function(t){for(var e,r=[],i=this,o=0;null!==i;)e=i._contentQueries.get(t.reference),n.i(f.a)(e)&&r.push.apply(r,e.filter(function(t){return t.descendants||o<=1})),i._directiveAsts.length>0&&o++,i=i._parent;return e=this.viewContext.viewQueries.get(t.reference),n.i(f.a)(e)&&r.push.apply(r,e),r},t.prototype._getOrCreateLocalProvider=function(t,e,o){var s=this,a=this._allProviders.get(e.reference);if(!a||(t===y.a.Directive||t===y.a.PublicService)&&a.providerType===y.a.PrivateService||(t===y.a.PrivateService||t===y.a.PublicService)&&a.providerType===y.a.Builtin)return null;var u=this._transformedProviders.get(e.reference);if(n.i(f.a)(u))return u;if(n.i(f.a)(this._seenProviders.get(e.reference)))return this.viewContext.errors.push(new g("Cannot instantiate cyclic dependency! "+e.name,this._sourceSpan)),null;this._seenProviders.set(e.reference,!0);var c=a.providers.map(function(t){var e,i=t.useValue,u=t.useExisting;if(n.i(f.a)(t.useExisting)){var c=s._getDependency(a.providerType,new p.c({token:t.useExisting}),o);n.i(f.a)(c.token)?u=c.token:(u=null,i=c.value)}else if(n.i(f.a)(t.useFactory)){var l=t.deps||t.useFactory.diDeps;e=l.map(function(t){return s._getDependency(a.providerType,t,o)})}else if(n.i(f.a)(t.useClass)){var l=t.deps||t.useClass.diDeps;e=l.map(function(t){return s._getDependency(a.providerType,t,o)})}return r(t,{useExisting:u,useValue:i,deps:e})});return u=i(a,{eager:o,providers:c}),this._transformedProviders.set(e.reference,u),u},t.prototype._getLocalDependency=function(t,e,r){if(void 0===r&&(r=null),e.isAttribute){var i=this._attrs[e.token.value];return new p.c({isValue:!0,value:null==i?null:i})}if(n.i(f.a)(e.query)||n.i(f.a)(e.viewQuery))return e;if(n.i(f.a)(e.token)){if(t===y.a.Directive||t===y.a.Component){if(e.token.reference===n.i(d.a)(d.b.Renderer).reference||e.token.reference===n.i(d.a)(d.b.ElementRef).reference||e.token.reference===n.i(d.a)(d.b.ChangeDetectorRef).reference||e.token.reference===n.i(d.a)(d.b.TemplateRef).reference)return e;e.token.reference===n.i(d.a)(d.b.ViewContainerRef).reference&&(this._hasViewContainer=!0)}if(e.token.reference===n.i(d.a)(d.b.Injector).reference)return e;if(n.i(f.a)(this._getOrCreateLocalProvider(t,e.token,r)))return e}return null},t.prototype._getDependency=function(t,e,r){void 0===r&&(r=null);var i=this,o=r,s=null;if(e.isSkipSelf||(s=this._getLocalDependency(t,e,r)),e.isSelf)!s&&e.isOptional&&(s=new p.c({isValue:!0,value:null}));else{for(;!s&&n.i(f.a)(i._parent);){var a=i;i=i._parent,a._isViewRoot&&(o=!1),s=i._getLocalDependency(y.a.PublicService,e,o)}s||(s=!e.isHost||this.viewContext.component.type.isHost||this.viewContext.component.type.reference===e.token.reference||n.i(f.a)(this.viewContext.viewProviders.get(e.token.reference))?e:e.isOptional?s=new p.c({isValue:!0,value:null}):null)}return s||this.viewContext.errors.push(new g("No provider for "+e.token.name,this._sourceSpan)),s},t}(),w=function(){function t(t,e,n){var r=this;this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map;var i=t.transitiveModule.modules.map(function(t){return t.type});i.forEach(function(t){var e=new p.d({token:new p.b({identifier:t}),useClass:t});a([e],y.a.PublicService,!0,n,r._errors,r._allProviders)}),a(o(t.transitiveModule.providers.concat(e),n,this._errors),y.a.PublicService,!1,n,this._errors,this._allProviders)}return t.prototype.parse=function(){var t=this;if(h.b.values(this._allProviders).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}return h.b.values(this._transformedProviders)},t.prototype._getOrCreateLocalProvider=function(t,e){var o=this,s=this._allProviders.get(t.reference);if(!s)return null;var a=this._transformedProviders.get(t.reference);if(n.i(f.a)(a))return a;if(n.i(f.a)(this._seenProviders.get(t.reference)))return this._errors.push(new g("Cannot instantiate cyclic dependency! "+t.name,s.sourceSpan)),null;this._seenProviders.set(t.reference,!0);var u=s.providers.map(function(t){var i,a=t.useValue,u=t.useExisting;if(n.i(f.a)(t.useExisting)){var c=o._getDependency(new p.c({token:t.useExisting}),e,s.sourceSpan);n.i(f.a)(c.token)?u=c.token:(u=null,a=c.value)}else if(n.i(f.a)(t.useFactory)){var l=t.deps||t.useFactory.diDeps;i=l.map(function(t){return o._getDependency(t,e,s.sourceSpan)})}else if(n.i(f.a)(t.useClass)){var l=t.deps||t.useClass.diDeps;i=l.map(function(t){return o._getDependency(t,e,s.sourceSpan)})}return r(t,{useExisting:u,useValue:a,deps:i})});return a=i(s,{eager:e,providers:u}),this._transformedProviders.set(t.reference,a),a},t.prototype._getDependency=function(t,e,r){void 0===e&&(e=null);var i=!1;!t.isSkipSelf&&n.i(f.a)(t.token)&&(t.token.reference===n.i(d.a)(d.b.Injector).reference||t.token.reference===n.i(d.a)(d.b.ComponentFactoryResolver).reference?i=!0:n.i(f.a)(this._getOrCreateLocalProvider(t.token,e))&&(i=!0));var o=t;return t.isSelf&&!i&&(t.isOptional?o=new p.c({isValue:!0,value:null}):this._errors.push(new g("No provider for "+t.token.name,r))),o},t}()},function(t,e,n){"use strict";function r(t){if(!t.isComponent)throw new Error("Could not compile '"+t.type.name+"' because it is not a component.")}var i=n(1),o=n(267),s=n(268),a=n(24),u=n(77),c=n(169),l=n(115),p=n(4),h=n(174),f=n(176),d=n(10),m=n(510),y=n(511),v=n(18),g=n(182),b=n(119),_=n(62),w=n(120);n.d(e,"a",function(){return x});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var x=function(){function t(t,e,n,r,i,a,u,c,l){this._injector=t,this._metadataResolver=e,this._templateNormalizer=n,this._templateParser=r,this._styleCompiler=i,this._viewCompiler=a,this._ngModuleCompiler=u,this._directiveWrapperCompiler=c,this._compilerConfig=l,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._animationParser=new s.a,this._animationCompiler=new o.a}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.compileModuleSync=function(t){return this._compileModuleAndComponents(t,!0).syncResult},t.prototype.compileModuleAsync=function(t){return this._compileModuleAndComponents(t,!1).asyncResult},t.prototype.compileModuleAndAllComponentsSync=function(t){return this._compileModuleAndAllComponents(t,!0).syncResult},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._compileModuleAndAllComponents(t,!1).asyncResult},t.prototype._compileModuleAndComponents=function(t,e){var n=this._compileComponents(t,e),r=this._compileModule(t);return new _.e(r,n.then(function(){return r}))},t.prototype._compileModuleAndAllComponents=function(t,e){var n=this,r=this._compileComponents(t,e),o=this._compileModule(t),s=this._metadataResolver.getNgModuleMetadata(t),a=[],u=new Set;s.transitiveModule.modules.forEach(function(t){t.declaredDirectives.forEach(function(e){if(e.isComponent){var r=n._createCompiledHostTemplate(e.type.reference,t);u.add(r),a.push(r.proxyComponentFactory)}})});var c=new i.ModuleWithComponentFactories(o,a),l=function(){return u.forEach(function(t){n._compileTemplate(t)}),c},p=e?Promise.resolve(l()):r.then(l);return new _.e(c,p)},t.prototype._compileModule=function(t){var e=this,r=this._compiledNgModuleCache.get(t);if(!r){var o=this._metadataResolver.getNgModuleMetadata(t),s=[this._metadataResolver.getProviderMetadata(new a.x(i.Compiler,{useFactory:function(){return new S(e,o.type.reference)}}))],u=this._ngModuleCompiler.compile(o,s);u.dependencies.forEach(function(t){t.placeholder.reference=e._assertComponentKnown(t.comp.reference,!0).proxyComponentFactory,t.placeholder.name="compFactory_"+t.comp.name}),r=this._compilerConfig.useJit?n.i(y.a)("/"+o.type.name+"/module.ngfactory.js",u.statements,u.ngModuleFactoryVar):n.i(m.a)(u.statements,u.ngModuleFactoryVar),this._compiledNgModuleCache.set(o.type.reference,r)}return r},t.prototype._compileComponents=function(t,e){var n=this,r=new Set,i=[],o=this._metadataResolver.getNgModuleMetadata(t),s=new Map;o.transitiveModule.modules.forEach(function(t){t.declaredDirectives.forEach(function(e){s.set(e.type.reference,t),n._compileDirectiveWrapper(e,t),e.isComponent&&r.add(n._createCompiledTemplate(e,t))})}),o.transitiveModule.modules.forEach(function(t){t.declaredDirectives.forEach(function(t){t.isComponent&&t.entryComponents.forEach(function(t){var e=s.get(t.reference);r.add(n._createCompiledHostTemplate(t.reference,e))})}),t.entryComponents.forEach(function(t){var e=s.get(t.reference);r.add(n._createCompiledHostTemplate(t.reference,e))})}),r.forEach(function(t){if(t.loading){if(e)throw new v.K(t.compType.reference);i.push(t.loading)}});var a=function(){r.forEach(function(t){n._compileTemplate(t)})};return e?(a(),Promise.resolve(null)):Promise.all(i).then(a)},t.prototype.clearCacheFor=function(t){this._compiledNgModuleCache.delete(t),this._metadataResolver.clearCacheFor(t),this._compiledHostTemplateCache.delete(t);var e=this._compiledTemplateCache.get(t);e&&(this._templateNormalizer.clearCacheFor(e.normalizedCompMeta),this._compiledTemplateCache.delete(t))},t.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._templateNormalizer.clearCache(),this._compiledNgModuleCache.clear()},t.prototype._createCompiledHostTemplate=function(t,e){if(!e)throw new Error("Component "+n.i(p.i)(t)+" is not part of any NgModule or the module has not been imported into your module.");var i=this._compiledHostTemplateCache.get(t);if(!i){var o=this._metadataResolver.getDirectiveMetadata(t);r(o);var s=n.i(a.n)(o);i=new E(!0,o.selector,o.type,e,[o],this._templateNormalizer.normalizeDirective(s)),this._compiledHostTemplateCache.set(t,i)}return i},t.prototype._createCompiledTemplate=function(t,e){var n=this._compiledTemplateCache.get(t.type.reference);return n||(r(t),n=new E(!1,t.selector,t.type,e,e.transitiveModule.directives,this._templateNormalizer.normalizeDirective(t)),this._compiledTemplateCache.set(t.type.reference,n)),n},t.prototype._assertComponentKnown=function(t,e){var r=e?this._compiledHostTemplateCache.get(t):this._compiledTemplateCache.get(t);if(!r)throw new Error("Illegal state: Compiled view for component "+n.i(p.i)(t)+" does not exist!");return r},t.prototype._assertComponentLoaded=function(t,e){var r=this._assertComponentKnown(t,e);if(r.loading)throw new Error("Illegal state: CompiledTemplate for "+n.i(p.i)(t)+" (isHost: "+e+") is still loading!");return r},t.prototype._assertDirectiveWrapper=function(t){var e=this._compiledDirectiveWrapperCache.get(t);if(!e)throw new Error("Illegal state: Directive wrapper for "+n.i(p.i)(t)+" has not been compiled!");return e},t.prototype._compileDirectiveWrapper=function(t,e){var r,i=this._directiveWrapperCompiler.compile(t),o=i.statements;r=this._compilerConfig.useJit?n.i(y.a)("/"+e.type.name+"/"+t.type.name+"/wrapper.ngfactory.js",o,i.dirWrapperClassVar):n.i(m.a)(o,i.dirWrapperClassVar),this._compiledDirectiveWrapperCache.set(t.type.reference,r)},t.prototype._compileTemplate=function(t){var e=this;if(!t.isCompiled){var r=t.normalizedCompMeta,i=new Map,o=this._styleCompiler.compileComponent(r);o.externalStylesheets.forEach(function(t){i.set(t.meta.moduleUrl,t)}),this._resolveStylesCompileResult(o.componentStylesheet,i);var s=t.viewComponentTypes.map(function(t){return e._assertComponentLoaded(t,!1).normalizedCompMeta}),a=this._animationParser.parseComponent(r),u=this._templateParser.parse(r,r.template.template,t.viewDirectives.concat(s),t.viewPipes,t.schemas,r.type.name),c=this._animationCompiler.compile(r.type.name,a),l=this._viewCompiler.compileComponent(r,u,d.a(o.componentStylesheet.stylesVar),t.viewPipes,c);l.dependencies.forEach(function(t){var n;if(t instanceof w.a){var r=t;n=e._assertComponentLoaded(r.comp.reference,!1),r.placeholder.reference=n.proxyViewFactory,r.placeholder.name="viewFactory_"+r.comp.name}else if(t instanceof w.b){var i=t;n=e._assertComponentLoaded(i.comp.reference,!0),i.placeholder.reference=n.proxyComponentFactory,i.placeholder.name="compFactory_"+i.comp.name}else if(t instanceof w.c){var o=t;o.placeholder.reference=e._assertDirectiveWrapper(o.dir.reference)}});var p=o.componentStylesheet.statements.concat(l.statements);c.forEach(function(t){t.statements.forEach(function(t){p.push(t)})});var h;h=this._compilerConfig.useJit?n.i(y.a)("/"+t.ngModule.type.name+"/"+t.compType.name+"/"+(t.isHost?"host":"component")+".ngfactory.js",p,l.viewFactoryVar):n.i(m.a)(p,l.viewFactoryVar),t.compiled(h)}},t.prototype._resolveStylesCompileResult=function(t,e){var n=this;t.dependencies.forEach(function(t,r){var i=e.get(t.moduleUrl),o=n._resolveAndEvalStylesCompileResult(i,e);t.valuePlaceholder.reference=o,t.valuePlaceholder.name="importedStyles"+r})},t.prototype._resolveAndEvalStylesCompileResult=function(t,e){return this._resolveStylesCompileResult(t,e),this._compilerConfig.useJit?n.i(y.a)("/"+t.meta.moduleUrl+".css.js",t.statements,t.stylesVar):n.i(m.a)(t.statements,t.stylesVar)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:i.Injector},{type:h.a},{type:c.a},{type:b.a},{type:g.a},{type:w.d},{type:f.a},{type:l.a},{type:u.a}],t}(),E=function(){function t(t,e,r,o,s,a){var u=this;this.isHost=t,this.compType=r,this.ngModule=o,this._viewFactory=null,this.loading=null,this._normalizedCompMeta=null,this.isCompiled=!1,this.isCompiledWithDeps=!1,this.viewComponentTypes=[],this.viewDirectives=[],this.viewPipes=o.transitiveModule.pipes,this.schemas=o.schemas,s.forEach(function(t){t.isComponent?u.viewComponentTypes.push(t.type.reference):u.viewDirectives.push(t)}),this.proxyViewFactory=function(){for(var t=[],e=0;e0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]=a;break;case"#":n[t.substring(1)]=u;break;case"%":n[t.substring(1)]=l;break;default:n[t]=c}})})}return s(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===r.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if("ng-container"===t||"ng-content"===t)return!1;if(n.some(function(t){return t.name===r.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}var i=this._schema[t.toLowerCase()]||this._schema.unknown;return!!i[e]},e.prototype.hasElement=function(t,e){if(e.some(function(t){return t.name===r.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if("ng-container"===t||"ng-content"===t)return!0;if(e.some(function(t){return t.name===r.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}return!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var o=i.a[t+"|"+e];return o?o:(o=i.a["*|"+e],o?o:r.SecurityContext.NONE)},e.prototype.getMappedPropName=function(t){return h[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){if(t.toLowerCase().startsWith("on")){var e="Binding to event property '"+t+"' is disallowed for security reasons, "+("please use ("+t.slice(2)+")=...")+("\nIf '"+t+"' is a directive input, make sure the directive is imported by the")+" current module.";return{error:!0,msg:e}}return{error:!1}},e.prototype.validateAttribute=function(t){if(t.toLowerCase().startsWith("on")){var e="Binding to event attribute '"+t+"' is disallowed for security reasons, "+("please use ("+t.slice(2)+")=...");return{error:!0,msg:e}}return{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(o.a)},function(t,e,n){"use strict";function r(t){if(n.i(o.e)(t)||0===t.length||"/"==t[0])return!1;var e=t.match(u);return null===e||"package"==e[1]||"asset"==e[1]}function i(t,e,n){var i=[],o=n.replace(a,function(){for(var n=[],o=0;ol.a.MAX_INTERPOLATION_VALUES)throw new Error("Only support at most "+l.a.MAX_INTERPOLATION_VALUES+" interpolation values!");return r}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,r,i,o,s){for(var u=this._parseTemplateBindings(e,r),c=0;c-1){var d=s.substring(0,h),m=s.substring(h+1);s=n.i(u.d)(d,m)}r=f.e.Attribute}else l[0]==g?(s=l[1],r=f.e.Class,a=[o.SecurityContext.NONE]):l[0]==b?(c=l.length>2?l[2]:null,s=l[1],r=f.e.Style,a=[o.SecurityContext.STYLE]):(this._reportError("Invalid property name '"+e.name+"'",e.sourceSpan),r=null,a=[]);return new f.d(s,r,1===a.length?a[0]:null,a.length>1,e.expression,c,e.sourceSpan)},t.prototype.parseEvent=function(t,e,n,i,o){r(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,o)):this._parseEvent(t,e,n,i,o)},t.prototype._parseAnimationEvent=function(t,e,r,i){var o=n.i(h.c)(t,[t,""]),s=o[0],a=o[1].toLowerCase();if(a)switch(a){case"start":case"done":var u=this._parseAction(e,r);i.push(new f.f(s,null,a,u,r));break;default:this._reportError('The provided animation output phase value "'+a+'" for "@'+s+'" is not supported (use start or done)',r)}else this._reportError("The animation trigger output event (@"+s+") is missing its phase value name (start or done are currently supported)",r)},t.prototype._parseEvent=function(t,e,r,i,o){var s=n.i(h.b)(t,[null,t]),a=s[0],u=s[1],c=this._parseAction(e,r);i.push([t,c.source]),o.push(new f.f(u,a,null,c,r))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof s.g?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=c.e.FATAL),this._targetErrors.push(new c.a(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n0&&(_=t.value)}),e=i(e);var w=t.name.toLowerCase(),x=s.OTHER;return n.i(o.e)(w)[1]==u?x=s.NG_CONTENT:w==f?x=s.STYLE:w==d?x=s.SCRIPT:w==c&&g==h&&(x=s.STYLESHEET),new v(x,e,r,b,_)}function i(t){return null===t||0===t.length?"*":t}var o=n(69);e.a=r,n.d(e,"b",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s,a="select",u="ng-content",c="link",l="rel",p="href",h="stylesheet",f="style",d="script",m="ngNonBindable",y="ngProjectAs";!function(t){t[t.NG_CONTENT=0]="NG_CONTENT",t[t.STYLE=1]="STYLE",t[t.STYLESHEET=2]="STYLESHEET",t[t.SCRIPT=3]="SCRIPT",t[t.OTHER=4]="OTHER"}(s||(s={}));var v=function(){function t(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}return t}()},function(t,e,n){"use strict";function r(t,e,r,i){var o;return o=e>0?p.c(t).lowerEquals(y.a.requestNodeIndex).and(y.a.requestNodeIndex.lowerEquals(p.c(t+e))):p.c(t).identical(y.a.requestNodeIndex),new p.g(y.a.token.identical(n.i(s.c)(r.token)).and(o),[new p.i(i)])}function i(t,e,n,r,i,o){var s,a,u=o.view;if(r?(s=p.e(n),a=new p.w(p.l)):(s=n[0],a=n[0].type),a||(a=p.l),i)u.fields.push(new p.n(t,a)),u.createMethod.addStmt(p.o.prop(t).set(s).toStmt());else{var c="_"+t;u.fields.push(new p.n(c,a));var l=new d.a(u);l.resetDebugInfo(o.nodeIndex,o.sourceAst),l.addStmt(new p.g(p.o.prop(c).isBlank(),[p.o.prop(c).set(s).toStmt()])),l.addStmt(new p.i(p.o.prop(c))),u.getters.push(new p.J(t,l.finish(),a))}return p.o.prop(t)}var o=n(24),s=n(48),a=n(115),u=n(36),c=n(4),l=n(15),p=n(10),h=n(284),f=n(49),d=n(183),m=n(292),y=n(92),v=n(184),g=n(93);n.d(e,"b",function(){return _}),n.d(e,"a",function(){return w});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var b=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(){function t(t,e,n,r,i){this.parent=t,this.view=e,this.nodeIndex=n,this.renderNode=r,this.sourceAst=i}return t.prototype.isNull=function(){return!this.renderNode},t.prototype.isRootElement=function(){return this.view!=this.parent.view},t}(),w=function(t){function e(e,r,i,o,s,a,u,h,f,d,m,y){var v=this;t.call(this,e,r,i,o,s),this.component=a,this._directives=u,this._resolvedProvidersArray=h,this.hasViewContainer=f,this.hasEmbeddedView=d,this._targetDependencies=y,this._compViewExpr=null,this.instances=new Map,this.directiveWrapperInstance=new Map,this._queryCount=0,this._queries=new Map,this._componentConstructorViewQueryLists=[],this.contentNodesByNgContentIndex=null,this.referenceTokens={},m.forEach(function(t){return v.referenceTokens[t.name]=t.value}),this.elementRef=p.d(n.i(l.d)(l.b.ElementRef)).instantiate([this.renderNode]),this.instances.set(n.i(l.a)(l.b.ElementRef).reference,this.elementRef),this.injector=p.o.callMethod("injector",[p.c(this.nodeIndex)]),this.instances.set(n.i(l.a)(l.b.Injector).reference,this.injector),this.instances.set(n.i(l.a)(l.b.Renderer).reference,p.o.prop("renderer")),(this.hasViewContainer||this.hasEmbeddedView||n.i(c.a)(this.component))&&this._createAppElement(),this.component&&this._createComponentFactoryResolver()}return b(e,t),e.createNull=function(){return new e(null,null,null,null,null,null,[],[],!1,!1,[],[])},e.prototype._createAppElement=function(){var t="_appEl_"+this.nodeIndex,e=this.isRootElement()?null:this.parent.nodeIndex;this.view.fields.push(new p.n(t,p.k(n.i(l.d)(l.b.AppElement)),[p.p.Private]));var r=p.o.prop(t).set(p.d(n.i(l.d)(l.b.AppElement)).instantiate([p.c(this.nodeIndex),p.c(e),p.o,this.renderNode])).toStmt();this.view.createMethod.addStmt(r),this.appElement=p.o.prop(t),this.instances.set(n.i(l.a)(l.b.AppElement).reference,this.appElement)},e.prototype._createComponentFactoryResolver=function(){var t=this,e=this.component.entryComponents.map(function(e){var n=new o.a({name:e.name});return t._targetDependencies.push(new v.a(e,n)),n});if(e&&0!==e.length){var r=p.d(n.i(l.d)(l.b.CodegenComponentFactoryResolver)).instantiate([p.e(e.map(function(t){return p.d(t)})),n.i(g.b)(n.i(l.a)(l.b.ComponentFactoryResolver),!1)]),i=new o.d({token:n.i(l.a)(l.b.ComponentFactoryResolver),useValue:r});this._resolvedProvidersArray.unshift(new f.b(i.token,!1,!0,[i],f.a.PrivateService,[],this.sourceAst.sourceSpan))}},e.prototype.setComponentView=function(t){this._compViewExpr=t,this.contentNodesByNgContentIndex=new Array(this.component.template.ngContentSelectors.length);for(var e=0;e0&&o++,i=i.parent;return e=this.view.componentView.viewQueries.get(t.reference),n.i(c.a)(e)&&r.push.apply(r,e),r},e.prototype._addQuery=function(t,e){var r="_query_"+t.selectors[0].name+"_"+this.nodeIndex+"_"+this._queryCount++,i=n.i(m.a)(t,e,r,this.view),o=new m.b(t,i,e,this.view);return n.i(m.c)(this._queries,o),o},e.prototype._getLocalDependency=function(t,e){var r=null;if(!r&&n.i(c.a)(e.query)&&(r=this._addQuery(e.query,null).queryList),!r&&n.i(c.a)(e.viewQuery)&&(r=n.i(m.a)(e.viewQuery,null,"_viewQuery_"+e.viewQuery.selectors[0].name+"_"+this.nodeIndex+"_"+this._componentConstructorViewQueryLists.length,this.view),this._componentConstructorViewQueryLists.push(r)),n.i(c.a)(e.token)){if(!r&&e.token.reference===n.i(l.a)(l.b.ChangeDetectorRef).reference)return t===f.a.Component?this._compViewExpr.prop("ref"):n.i(g.a)(p.o.prop("ref"),this.view,this.view.componentView);if(!r){var i=this._resolvedProviders.get(e.token.reference);if(i&&(t===f.a.Directive||t===f.a.PublicService)&&i.providerType===f.a.PrivateService)return null;r=this.instances.get(e.token.reference)}}return r},e.prototype._getDependency=function(t,e){var r=this,i=null;for(e.isValue&&(i=p.c(e.value)),i||e.isSkipSelf||(i=this._getLocalDependency(t,e));!i&&!r.parent.isNull();)r=r.parent,i=r._getLocalDependency(f.a.PublicService,new o.c({token:e.token}));return i||(i=n.i(g.b)(e.token,e.isOptional)),i||(i=p.f),n.i(g.a)(i,this.view,r.view)},e}(_),x=function(){function t(t,e){this.query=t,this.read=t.meta.read||e}return t}()},function(t,e,n){"use strict";function r(t){return a.a.flatten(t.values.map(function(t){return t instanceof h?i(t.view.declarationElement.appElement,t.view,r(t)):t}))}function i(t,e,n){var r=n.map(function(t){return l.I(l.o.name,l.a("nestedView"),t)});return t.callMethod("mapNestedViews",[l.a(e.className),l.h([new l.j("nestedView",e.classType)],[new l.i(l.e(r))],l.l)])}function o(t,e,r,i){i.fields.push(new l.n(r,l.k(n.i(c.d)(c.b.QueryList),[l.l])));var o=l.o.prop(r);return i.createMethod.addStmt(l.o.prop(r).set(l.d(n.i(c.d)(c.b.QueryList),[l.l]).instantiate([])).toStmt()),o}function s(t,e){e.meta.selectors.forEach(function(n){var r=t.get(n.reference);r||(r=[],t.set(n.reference,r)),r.push(e)})}var a=n(36),u=n(4),c=n(15),l=n(10),p=n(93);n.d(e,"b",function(){return f}),e.a=o,e.c=s;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var h=function(){function t(t,e){this.view=t,this.values=e}return t}(),f=function(){function t(t,e,n,r){this.meta=t,this.queryList=e,this.ownerDirectiveExpression=n,this.view=r,this._values=new h(r,[])}return t.prototype.addValue=function(t,e){for(var r=e,i=[];n.i(u.a)(r)&&r!==this.view;){var o=r.declarationElement;i.unshift(o),r=o.view}var s=n.i(p.a)(this.queryList,e,this.view),a=this._values;i.forEach(function(t){var e=a.values.length>0?a.values[a.values.length-1]:null;if(e instanceof h&&e.view===t.embeddedView)a=e;else{var n=new h(t.embeddedView,[]);a.values.push(n),a=n}}),a.values.push(t),i.length>0&&e.dirtyParentQueriesMethod.addStmt(s.callMethod("setDirty",[]).toStmt())},t.prototype._isStatic=function(){return!this._values.values.some(function(t){return t instanceof h})},t.prototype.afterChildren=function(t,e){var i=r(this._values),o=[this.queryList.callMethod("reset",[l.e(i)]).toStmt()];if(n.i(u.a)(this.ownerDirectiveExpression)){var s=this.meta.first?this.queryList.prop("first"):this.queryList;o.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(s).toStmt())}this.meta.first||o.push(this.queryList.callMethod("notifyOnChanges",[]).toStmt()),this.meta.first&&this._isStatic()?t.addStmts(o):e.addStmt(new l.g(this.queryList.prop("dirty"),o))},t}()},function(t,e,n){"use strict";function r(t,e){return e>0?c.j.EMBEDDED:t.type.isHost?c.j.HOST:c.j.COMPONENT}var i=n(24),o=n(89),s=n(36),a=n(4),u=n(10),c=n(18),l=n(183),p=n(515),h=n(292),f=n(93);n.d(e,"a",function(){return d});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var d=function(){function t(t,e,o,s,p,d,m,y){var v=this;this.component=t,this.genConfig=e,this.pipeMetas=o,this.styles=s,this.animations=p,this.viewIndex=d,this.declarationElement=m,this.templateVariableBindings=y,this.nodes=[],this.rootNodesOrAppElements=[],this.methods=[],this.ctorStmts=[],this.fields=[],this.getters=[],this.disposables=[],this.subscriptions=[],this.purePipes=new Map,this.pipes=[],this.locals=new Map,this.literalArrayCount=0,this.literalMapCount=0,this.pipeCount=0,this.createMethod=new l.a(this),this.animationBindingsMethod=new l.a(this),this.injectorGetMethod=new l.a(this),this.updateContentQueriesMethod=new l.a(this),this.dirtyParentQueriesMethod=new l.a(this),this.updateViewQueriesMethod=new l.a(this),this.detectChangesInInputsMethod=new l.a(this),this.detectChangesRenderPropertiesMethod=new l.a(this),this.afterContentLifecycleCallbacksMethod=new l.a(this),this.afterViewLifecycleCallbacksMethod=new l.a(this),this.destroyMethod=new l.a(this),this.detachMethod=new l.a(this),this.viewType=r(t,d),this.className="_View_"+t.type.name+d,this.classType=u.k(new i.a({name:this.className})),this.viewFactory=u.a(n.i(f.c)(t,d)),this.viewType===c.j.COMPONENT||this.viewType===c.j.HOST?this.componentView=this:this.componentView=this.declarationElement.view.componentView,this.componentContext=n.i(f.a)(u.o.prop("context"),this,this.componentView);var g=new Map;if(this.viewType===c.j.COMPONENT){var b=u.o.prop("context");this.component.viewQueries.forEach(function(t,e){var r="_viewQuery_"+t.selectors[0].name+"_"+e,i=n.i(h.a)(t,b,r,v),o=new h.b(t,i,b,v);n.i(h.c)(g,o)});var _=0;this.component.type.diDeps.forEach(function(t){if(n.i(a.a)(t.viewQuery)){var e=u.o.prop("declarationAppElement").prop("componentConstructorViewQueries").key(u.c(_++)),r=new h.b(t.viewQuery,e,null,v);n.i(h.c)(g,r)}})}this.viewQueries=g,y.forEach(function(t){v.locals.set(t[1],u.o.prop("context").prop(t[0]))}),this.declarationElement.isNull()||this.declarationElement.setEmbeddedView(this)}return t.prototype.callPipe=function(t,e,n){return p.a.call(this,t,[e].concat(n))},t.prototype.getLocal=function(t){if(t==o.b.event.name)return o.b.event;for(var e=this,r=e.locals.get(t);!r&&n.i(a.a)(e.declarationElement.view);)e=e.declarationElement.view,r=e.locals.get(t);return n.i(a.a)(r)?n.i(f.a)(r,this,e):null},t.prototype.afterNodes=function(){var t=this;s.b.values(this.viewQueries).forEach(function(e){return e.forEach(function(e){return e.afterChildren(t.createMethod,t.updateViewQueriesMethod)})})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"d",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r="true",i="*",o="*",s="void"},function(t,e,n){"use strict";var r=n(7);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(t){var e=this;this._players=t,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this.parentPlayer=null;var i=0,o=this._players.length;0==o?n.i(r.l)(function(){return e._onFinish()}):this._players.forEach(function(t){t.parentPlayer=e,t.onDone(function(){++i>=o&&e._onFinish()})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(r.d)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){n.i(r.d)(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},t.prototype.setPosition=function(t){this._players.forEach(function(e){e.setPosition(t)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t}()},function(t,e,n){"use strict";function r(t){o.push(t)}function i(){for(var t=0;t"+n.i(r.b)(this.currentValue)+"]"},t}()},function(t,e,n){"use strict";var r=n(38),i=n(7);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(t){this.factories=t}return t.create=function(e,r){if(n.i(i.d)(r)){var o=r.factories.slice();return e=e.concat(o),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new r.e,new r.d]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(n.i(i.d)(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+n.i(i.j)(t)+"'")},t}()},function(t,e,n){"use strict";var r=n(38),i=n(7);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(t){this.factories=t}return t.create=function(e,r){if(n.i(i.d)(r)){var o=r.factories.slice();return e=e.concat(o),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new r.e,new r.d]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(n.i(i.d)(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}()},function(t,e,n){"use strict";function r(t){return t.map(function(t){return t.nativeElement})}function i(t,e,n){t.childNodes.forEach(function(t){t instanceof f&&(e(t)&&n.push(t),i(t,e,n))})}function o(t,e,n){t instanceof f&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof f&&o(t,e,n)})}function s(t){return d.get(t)}function a(t){d.set(t.nativeNode,t)}function u(t){d.delete(t.nativeNode)}var c=(n(50),n(7));n.d(e,"f",function(){return p}),n.d(e,"d",function(){return h}),n.d(e,"a",function(){return f}),e.g=r,e.c=s,e.b=a,e.e=u;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=function(){function t(t,e){this.name=t,this.callback=e}return t}(),h=function(){function t(t,e,r){this._debugInfo=r,this.nativeNode=t,n.i(c.d)(e)&&e instanceof f?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return n.i(c.d)(this._debugInfo)?this._debugInfo.source:null},enumerable:!0,configurable:!0}),t}(),f=function(t){function e(e,n,r){t.call(this,e,n,r),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}return l(e,t),e.prototype.addChild=function(t){n.i(c.d)(t)&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);e!==-1&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var r=this.childNodes.indexOf(t);if(r!==-1){var i=this.childNodes.slice(0,r+1),o=this.childNodes.slice(r+1);this.childNodes=i.concat(e,o);for(var s=0;s0?e[0]:null},e.prototype.queryAll=function(t){var e=[];return i(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return o(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){var t=[];return this.childNodes.forEach(function(n){n instanceof e&&t.push(n)}),t},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(h),d=new Map},function(t,e,n){"use strict";function r(t){for(var e=[],n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function i(t){if(t.length>1){var e=r(t.slice().reverse()),i=e.map(function(t){return n.i(s.b)(t.token)});return" ("+i.join(" -> ")+")"}return""}var o=n(32),s=n(7);n.d(e,"f",function(){return u}),n.d(e,"h",function(){return c}),n.d(e,"e",function(){return l}),n.d(e,"g",function(){return p}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"a",function(){return m});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e,n,r){t.call(this,"DI Error"),this.keys=[n],this.injectors=[e],this.constructResolvingMessage=r,this.message=this.constructResolvingMessage(this.keys)}return a(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)},e}(o.b),c=function(t){function e(e,r){t.call(this,e,r,function(t){var e=n.i(s.b)(t[0].token);return"No provider for "+e+"!"+i(t)})}return a(e,t),e}(u),l=function(t){function e(e,n){t.call(this,e,n,function(t){return"Cannot instantiate cyclic dependency!"+i(t)})}return a(e,t),e}(u),p=function(t){function e(e,n,r,i){t.call(this,"DI Error",n),this.keys=[i],this.injectors=[e]}return a(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e)},Object.defineProperty(e.prototype,"message",{get:function(){var t=n.i(s.b)(this.keys[0].token);return this.originalError.message+": Error during instantiation of "+t+"!"+i(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),e}(o.c),h=function(t){function e(e){t.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+e)}return a(e,t),e}(o.b),f=function(t){function e(n,r){t.call(this,e._genMessage(n,r))}return a(e,t),e._genMessage=function(t,e){for(var r=[],i=0,o=e.length;i=0;t--)this.remove(t)},t}()},function(t,e,n){"use strict";var r=n(296),i=n(124),o=n(32);n.d(e,"c",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(){function t(){}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return n.i(o.a)()},enumerable:!0,configurable:!0}),t}(),u=function(t){function e(){t.apply(this,arguments)}return s(e,t),Object.defineProperty(e.prototype,"context",{get:function(){return n.i(o.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootNodes",{get:function(){return n.i(o.a)()},enumerable:!0,configurable:!0}),e}(a),c=function(){function t(t){this._view=t,this._view=t,this._originalMode=this._view.cdMode}return Object.defineProperty(t.prototype,"internalView",{get:function(){return this._view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootNodes",{get:function(){return this._view.flatRootNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._view.destroyed},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){this._view.markPathToRootAsCheckOnce()},t.prototype.detach=function(){this._view.cdMode=i.b.Detached},t.prototype.detectChanges=function(){this._view.detectChanges(!1),n.i(r.a)()},t.prototype.checkNoChanges=function(){this._view.detectChanges(!0)},t.prototype.reattach=function(){this._view.cdMode=this._originalMode,this.markForCheck()},t.prototype.onDestroy=function(t){this._view.disposables.push(t)},t.prototype.destroy=function(){this._view.destroy()},t}()},function(t,e,n){"use strict";var r=n(540),i=n(541),o=n(316),s=n(542),a=n(317);n.d(e,"l",function(){return r.c}),n.d(e,"q",function(){return r.f}),n.d(e,"p",function(){return r.e}),n.d(e,"h",function(){return r.b}),n.d(e,"o",function(){return r.d}),n.d(e,"r",function(){return r.g}),n.d(e,"c",function(){return r.a}),n.d(e,"i",function(){return i.e}),n.d(e,"j",function(){return i.f}),n.d(e,"f",function(){return i.c}),n.d(e,"g",function(){return i.d}),n.d(e,"d",function(){return i.a}),n.d(e,"e",function(){return i.b}),n.d(e,"k",function(){return i.g}),n.d(e,"s",function(){return o.c}),n.d(e,"t",function(){return o.d}),n.d(e,"u",function(){return o.e}),n.d(e,"v",function(){return o.f}),n.d(e,"w",function(){return o.g}),n.d(e,"x",function(){return o.h}),n.d(e,"y",function(){return o.i}),n.d(e,"z",function(){return o.j}),n.d(e,"n",function(){return s.c}),n.d(e,"m",function(){return s.b}),n.d(e,"a",function(){return s.a}),n.d(e,"b",function(){return a.b})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"h",function(){return o}),n.d(e,"j",function(){return s}),n.d(e,"g",function(){return a}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c}),n.d(e,"i",function(){return l}),n.d(e,"f",function(){return p}),n.d(e,"e",function(){return h});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r;!function(t){t[t.OnInit=0]="OnInit",t[t.OnDestroy=1]="OnDestroy",t[t.DoCheck=2]="DoCheck",t[t.OnChanges=3]="OnChanges",t[t.AfterContentInit=4]="AfterContentInit",t[t.AfterContentChecked=5]="AfterContentChecked",t[t.AfterViewInit=6]="AfterViewInit",t[t.AfterViewChecked=7]="AfterViewChecked"}(r||(r={}));var i=[r.OnInit,r.OnDestroy,r.DoCheck,r.OnChanges,r.AfterContentInit,r.AfterContentChecked,r.AfterViewInit,r.AfterViewChecked],o=function(){function t(){}return t}(),s=function(){function t(){}return t}(),a=function(){function t(){}return t}(),u=function(){function t(){}return t}(),c=function(){function t(){}return t}(),l=function(){function t(){}return t}(),p=function(){function t(){}return t}(),h=function(){function t(){}return t}()},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r;!function(t){t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None"}(r||(r={}));var i=function(){function t(t){var e=void 0===t?{}:t,n=e.templateUrl,r=e.template,i=e.encapsulation,o=e.styles,s=e.styleUrls,a=e.animations,u=e.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=s,this.styles=o,this.encapsulation=i,this.animations=a,this.interpolation=u}return t}()},function(t,e,n){"use strict";function r(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}var i=n(7),o=n(200);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(t){this._reflect=t||i.a.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n\n \n \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\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 });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '}},function(t,e,n){"use strict";var r=n(321);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return t.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.a.formControlName+"\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 "+r.a.ngModelWithFormGroup)},t.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 "+r.a.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+r.a.ngModelGroup)},t.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: ')},t.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 "+r.a.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+r.a.ngModelGroup)},t}()},function(t,e,n){"use strict";var r=n(1),i=n(33),o=n(138);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var r=this._reduceControls(t),s=n.i(i.a)(e)?e.validator:null,a=n.i(i.a)(e)?e.asyncValidator:null;return new o.a(r,s,a)},t.prototype.control=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),new o.b(t,e,n)},t.prototype.array=function(t,e,n){var r=this;void 0===e&&(e=null),void 0===n&&(n=null);var i=t.map(function(t){return r._createControl(t)});return new o.c(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof o.b||t instanceof o.a||t instanceof o.c)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=r.__core_private__.isPromise},function(t,e,n){"use strict";function r(){return null===u&&(u=o.d[a]={}),u}var i=n(1),o=n(52);n.d(e,"a",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=0,a="__ng_jsonp__",u=null,c=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+s++},t.prototype.requestCallback=function(t){return a+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){var n=r();n[t]=e},t.prototype.removeConnection=function(t){var e=r();e[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1),i=n(0),o=(n.n(i),n(140)),s=n(64),a=n(52),u=n(101),c=n(212),l=n(325);n.d(e,"a",function(){return y}),n.d(e,"b",function(){return v});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h="JSONP injected script did not invoke callback.",f="JSONP requests must use GET request method.",d=function(){function t(){}return t}(),m=function(t){function e(e,r,u){var l=this;if(t.call(this),this._dom=r,this.baseResponseOptions=u,this._finished=!1,e.method!==s.b.Get)throw new TypeError(f);this.request=e,this.response=new i.Observable(function(t){l.readyState=s.c.Loading;var i=l._id=r.nextRequestID();r.exposeConnection(i,l);var p=r.requestCallback(l._id),f=e.url;f.indexOf("=JSONP_CALLBACK&")>-1?f=f.replace("=JSONP_CALLBACK&","="+p+"&"):f.lastIndexOf("=JSONP_CALLBACK")===f.length-"=JSONP_CALLBACK".length&&(f=f.substring(0,f.length-"=JSONP_CALLBACK".length)+("="+p));var d=l._script=r.build(f),m=function(e){if(l.readyState!==s.c.Cancelled){if(l.readyState=s.c.Done,r.cleanup(d),!l._finished){var i=new o.a({body:h,type:s.a.Error,url:f});return n.i(a.a)(u)&&(i=u.merge(i)),void t.error(new c.a(i))}var p=new o.a({body:l._responseData,url:f});n.i(a.a)(l.baseResponseOptions)&&(p=l.baseResponseOptions.merge(p)),t.next(new c.a(p)),t.complete()}},y=function(e){if(l.readyState!==s.c.Cancelled){l.readyState=s.c.Done,r.cleanup(d);var i=new o.a({body:e.message,type:s.a.Error});n.i(a.a)(u)&&(i=u.merge(i)),t.error(new c.a(i))}};return d.addEventListener("load",m),d.addEventListener("error",y),r.send(d),function(){l.readyState=s.c.Cancelled,d.removeEventListener("load",m),d.removeEventListener("error",y),n.i(a.a)(d)&&l._dom.cleanup(d)}})}return p(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==s.c.Cancelled&&(this._responseData=t)},e}(d),y=function(t){function e(){t.apply(this,arguments)}return p(e,t),e}(u.a),v=function(t){function e(e,n){t.call(this),this._browserJSONP=e,this._baseResponseOptions=n}return p(e,t),e.prototype.createConnection=function(t){return new m(t,this._browserJSONP,this._baseResponseOptions)},e.decorators=[{type:r.Injectable}],e.ctorParameters=[{type:l.a},{type:o.a}],e}(y)},function(t,e,n){"use strict";var r=n(1),i=n(81),o=n(0),s=(n.n(o),n(140)),a=n(64),u=n(52),c=n(100),l=n(141),p=n(101),h=n(212),f=n(210);n.d(e,"a",function(){return y}),n.d(e,"b",function(){return v});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var d=/^\)\]\}',?\n/,m=function(){function t(t,e,r){var i=this;this.request=t,this.response=new o.Observable(function(o){var p=e.build();p.open(a.b[t.method].toUpperCase(),t.url),n.i(u.a)(t.withCredentials)&&(p.withCredentials=t.withCredentials);var f=function(){var t=void 0===p.response?p.responseText:p.response;"string"==typeof t&&(t=t.replace(d,""));var e=c.a.fromResponseHeaderString(p.getAllResponseHeaders()),i=n.i(l.c)(p),a=1223===p.status?204:p.status;0===a&&(a=t?200:0);var f=p.statusText||"OK",m=new s.a({body:t,status:a,headers:e,statusText:f,url:i});n.i(u.a)(r)&&(m=r.merge(m));var y=new h.a(m);return y.ok=n.i(l.d)(a),y.ok?(o.next(y),void o.complete()):void o.error(y)},m=function(t){var e=new s.a({body:t,type:a.a.Error,status:p.status,statusText:p.statusText});n.i(u.a)(r)&&(e=r.merge(e)),o.error(new h.a(e))};if(i.setDetectedContentType(t,p),n.i(u.a)(t.headers)&&t.headers.forEach(function(t,e){return p.setRequestHeader(e,t.join(","))}),n.i(u.a)(t.responseType)&&n.i(u.a)(p.responseType))switch(t.responseType){case a.d.ArrayBuffer:p.responseType="arraybuffer";break;case a.d.Json:p.responseType="json";break;case a.d.Text:p.responseType="text";break;case a.d.Blob:p.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return p.addEventListener("load",f),p.addEventListener("error",m),p.send(i.request.getBody()),function(){p.removeEventListener("load",f),p.removeEventListener("error",m),p.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(!n.i(u.a)(t.headers)||!n.i(u.a)(t.headers.get("Content-Type")))switch(t.contentType){case a.e.NONE:break;case a.e.JSON:e.setRequestHeader("content-type","application/json");break;case a.e.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case a.e.TEXT:e.setRequestHeader("content-type","text/plain");break;case a.e.BLOB:var r=t.blob();r.type&&e.setRequestHeader("content-type",r.type)}},t}(),y=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=i.a.getDOM().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),v=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new m(t,this._browserXHR,this._baseResponseOptions)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[{type:f.a},{type:s.a},{type:p.b}],t}()},function(t,e,n){"use strict";var r=n(141),i=n(142);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(){}return t.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},t.prototype.text=function(){return this._body instanceof i.a?this._body.toString():this._body instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(this._body)):null===this._body?"":n.i(r.a)(this._body)?JSON.stringify(this._body,null,2):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:n.i(r.b)(this.text())},t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}()},function(t,e,n){"use strict";function r(t,e){return t.createConnection(e).response}function i(t,e,r,i){var o=t;return n.i(s.a)(e)?o.merge(new a.a({method:e.method||r,url:e.url||i,search:e.search,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):n.i(s.a)(r)?o.merge(new a.a({method:r,url:i})):o.merge(new a.a({url:i}))}var o=n(1),s=n(52),a=n(211),u=n(64),c=n(101),l=n(330);n.d(e,"a",function(){return h}),n.d(e,"b",function(){return f});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=r(this._backend,new l.a(i(this._defaultOptions,e,u.b.Get,t)));else{if(!(t instanceof l.a))throw new Error("First argument must be a url string or Request instance.");n=r(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new l.a(i(this._defaultOptions,e,u.b.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new l.a(i(this._defaultOptions.merge(new a.a({body:e})),n,u.b.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new l.a(i(this._defaultOptions.merge(new a.a({body:e})),n,u.b.Put,t)))},t.prototype.delete=function(t,e){return this.request(new l.a(i(this._defaultOptions,e,u.b.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new l.a(i(this._defaultOptions.merge(new a.a({body:e})),n,u.b.Patch,t)))},t.prototype.head=function(t,e){return this.request(new l.a(i(this._defaultOptions,e,u.b.Head,t)))},t.prototype.options=function(t,e){return this.request(new l.a(i(this._defaultOptions,e,u.b.Options,t)))},t.decorators=[{type:o.Injectable}],t.ctorParameters=[{type:c.a},{type:a.a}],t}(),f=function(t){function e(e,n){t.call(this,e,n)}return p(e,t),e.prototype.request=function(t,e){var n;if("string"==typeof t&&(t=new l.a(i(this._defaultOptions,e,u.b.Get,t))),!(t instanceof l.a))throw new Error("First argument must be a url string or Request instance.");if(t.method!==u.b.Get)throw new Error("JSONP requests must use GET request method.");return n=r(this._backend,t)},e.decorators=[{type:o.Injectable}],e.ctorParameters=[{type:c.a},{type:a.a}],e}(h)},function(t,e,n){"use strict";var r=n(52),i=n(328),o=n(64),s=n(100),a=n(141),u=n(142);n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e){t.call(this);var i=e.url;if(this.url=e.url,n.i(r.a)(e.search)){var o=e.search.toString();if(o.length>0){var u="?";this.url.indexOf("?")!=-1&&(u="&"==this.url[this.url.length-1]?"":"&"),this.url=i+u+o}}this._body=e.body,this.method=n.i(a.e)(e.method),this.headers=new s.a(e.headers),this.contentType=this.detectContentType(),this.withCredentials=e.withCredentials,this.responseType=e.responseType}return c(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return o.e.JSON;case"application/x-www-form-urlencoded":return o.e.FORM;case"multipart/form-data":return o.e.FORM_DATA;case"text/plain":case"text/html":return o.e.TEXT;case"application/octet-stream":return o.e.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?o.e.NONE:this._body instanceof u.a?o.e.FORM:this._body instanceof f?o.e.FORM_DATA:this._body instanceof d?o.e.BLOB:this._body instanceof m?o.e.ARRAY_BUFFER:this._body&&"object"==typeof this._body?o.e.JSON:o.e.TEXT},e.prototype.getBody=function(){switch(this.contentType){case o.e.JSON:return this.text();case o.e.FORM:return this.text();case o.e.FORM_DATA:return this._body;case o.e.TEXT:return this.text();case o.e.BLOB:return this.blob();case o.e.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(i.a),p=function(){},h="object"==typeof window?window:p,f=h.FormData||p,d=h.Blob||p,m=h.ArrayBuffer||p},function(t,e,n){"use strict";var r=n(555);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(556);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(557);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(558);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(1),i=n(143),o=n(213),s=n(144);n.d(e,"a",function(){return c}),n.d(e,"b",function(){return l});var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=[o.a,s.a],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:c}},t=a([n.i(r.NgModule)({declarations:[i.a],exports:[i.a]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(e){t.call(this),this.message=e}return r(e,t),e}(Error)},function(t,e,n){"use strict";var r=n(561);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D})},function(t,e,n){"use strict";var r=n(1);n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return u});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t=i([n.i(r.Directive)({selector:"[md-line]"}),o("design:paramtypes",[])],t)}(),a=function(){function t(t,e,n){var r=this;this._lines=t,this._renderer=e,this._element=n,this._setLineClass(this._lines.length),this._lines.changes.subscribe(function(){r._setLineClass(r._lines.length)})}return t.prototype._setLineClass=function(t){this._resetClasses(),2!==t&&3!==t||this._setClass("md-"+t+"-line",!0)},t.prototype._resetClasses=function(){this._setClass("md-2-line",!1),this._setClass("md-3-line",!1)},t.prototype._setClass=function(t,e){this._renderer.setElementClass(this._element.nativeElement,t,e)},t}(),u=function(){function t(){}return t=i([n.i(r.NgModule)({exports:[s],declarations:[s]}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=document.createElement("div");t.classList.add("md-overlay-container"),document.body.appendChild(t),this._containerElement=t},t}()},function(t,e,n){"use strict";var r=n(1),i=n(215),o=n(145),s=n(214),a=n(216),u=n(217);n.d(e,"a",function(){return d});var c=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=[new a.a({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new a.a({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})],h=function(){function t(t){this._elementRef=t}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return this._elementRef},enumerable:!0,configurable:!0}),t=c([n.i(r.Directive)({selector:"[overlay-origin]",exportAs:"overlayOrigin"}),l("design:paramtypes",[r.ElementRef])],t)}(),f=function(){function t(t,e,n){this._overlay=t,this._templatePortal=new o.a(e,n)}return Object.defineProperty(t.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._createOverlay()},t.prototype.ngOnDestroy=function(){this._destroyOverlay()},t.prototype._createOverlay=function(){this.positions&&this.positions.length||(this.positions=p);var t=new s.a;t.positionStrategy=this._overlay.position().connectedTo(this.origin.elementRef,{originX:this.positions[0].overlayX,originY:this.positions[0].originY},{overlayX:this.positions[0].overlayX,overlayY:this.positions[0].overlayY}),this._overlayRef=this._overlay.create(t),this._overlayRef.attach(this._templatePortal)},t.prototype._destroyOverlay=function(){this._overlayRef.dispose()},c([n.i(r.Input)(),l("design:type",h)],t.prototype,"origin",void 0),c([n.i(r.Input)(),l("design:type",Array)],t.prototype,"positions",void 0),t=c([n.i(r.Directive)({selector:"[connected-overlay]"}),l("design:paramtypes",[i.a,r.TemplateRef,r.ViewContainerRef])],t)}(),d=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:i.b}},t=c([n.i(r.NgModule)({imports:[u.a],exports:[f,h],declarations:[f,h]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(12);n.n(r);n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this._portalHost=t,this._pane=e,this._state=n,this._backdropElement=null,this._backdropClick=new r.Subject}return t.prototype.attach=function(t){this._state.hasBackdrop&&this._attachBackdrop();var e=this._portalHost.attach(t);return this.updatePosition(),e},t.prototype.detach=function(){return this._detatchBackdrop(),this._portalHost.detach()},t.prototype.dispose=function(){this._detatchBackdrop(),this._portalHost.dispose()},t.prototype.hasAttached=function(){return this._portalHost.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.getState=function(){return this._state},t.prototype.updatePosition=function(){this._state.positionStrategy&&this._state.positionStrategy.apply(this._pane)},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=document.createElement("div"),this._backdropElement.classList.add("md-overlay-backdrop"),this._pane.parentElement.appendChild(this._backdropElement),this._backdropElement.addEventListener("click",function(){t._backdropClick.next(null)}),requestAnimationFrame(function(){t._backdropElement.classList.add("md-overlay-backdrop-showing")})},t.prototype._detatchBackdrop=function(){var t=this,e=this._backdropElement;e&&(e.classList.remove("md-overlay-backdrop-showing"),e.addEventListener("transitionend",function(){e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)}))},t}()},function(t,e,n){"use strict";var r=n(218),i=n(216);n.d(e,"a",function(){return o});var o=function(){function t(t,e,n,r){this._connectedTo=t,this._originPos=e,this._overlayPos=n,this._viewportRuler=r,this._isRtl=!1,this._preferredPositions=[],this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(e,n)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.apply=function(t){for(var e=this._origin.getBoundingClientRect(),n=t.getBoundingClientRect(),r=this._viewportRuler.getViewportRect(),i=null,o=0,s=this._preferredPositions;o=n.left&&t.x+e.width<=n.right&&t.y>=n.top&&t.y+e.height<=n.bottom},t.prototype._setElementPosition=function(t,e){var i=this._viewportRuler.getViewportScrollPosition(),o=e.x+i.left,s=e.y+i.top;n.i(r.a)(t,"translateX("+o+"px) translateY("+s+"px)")},t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t.prototype.getViewportRect=function(){var t=document.documentElement.getBoundingClientRect(),e=this.getViewportScrollPosition(t),n=window.innerHeight,r=window.innerWidth;return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+r,height:n,width:r}},t.prototype.getViewportScrollPosition=function(t){void 0===t&&(t=document.documentElement.getBoundingClientRect());var e=t.top<0&&0==document.body.scrollTop?-t.top:document.body.scrollTop,n=t.left<0&&0==document.body.scrollLeft?-t.left:document.body.scrollLeft;return{top:e,left:n}},t=i([n.i(r.Injectable)(),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(145),i=n(345);n.d(e,"a",function(){return s});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(e,n){t.call(this),this._hostDomElement=e,this._componentFactoryResolver=n}return o(e,t),e.prototype.attachComponentPortal=function(t){if(null==t.viewContainerRef)throw new i.g;var e=this._componentFactoryResolver.resolveComponentFactory(t.component),n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),r=n.hostView;return this._hostDomElement.appendChild(r.rootNodes[0]),this.setDisposeFn(function(){return n.destroy()}),n},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef);return r.rootNodes.forEach(function(t){return e._hostDomElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);t!=-1&&n.remove(t)}),new Map},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this._hostDomElement.parentNode&&this._hostDomElement.parentNode.removeChild(this._hostDomElement)},e}(r.b)},function(t,e,n){"use strict";var r=n(336);n.d(e,"g",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return c}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return p});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this,"A ComponentPortal must have an origin set when attached to a DomPortalHost because the DOM element is not part of the Angular application context.")}return i(e,t),e}(r.a),s=function(t){function e(){t.call(this,"Must provide a portal to attach")}return i(e,t),e}(r.a),a=function(t){function e(){t.call(this,"Host already has a portal attached")}return i(e,t),e}(r.a),u=function(t){function e(){t.call(this,"This PortalHost has already been disposed")}return i(e,t),e}(r.a),c=function(t){function e(){t.call(this,"Attempting to attach an unknown Portal type. BasePortalHost accepts either a ComponentPortal or a TemplatePortal.")}return i(e,t),e}(r.a),l=function(t){function e(){t.call(this,"Attempting to attach a portal to a null PortalHost")}return i(e,t),e}(r.a),p=function(t){function e(){t.call(this,"Attempting to detach a portal that is not attached to a host")}return i(e,t),e}(r.a)},function(t,e,n){"use strict";var r=n(1),i=n(566);n.d(e,"a",function(){return u});var o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){var e=this;this.maxRadius=0,this.speedFactor=1;var n=new Map;n.set("mousedown",function(t){return e._mouseDown(t)}),n.set("click",function(t){return e._click(t)}),n.set("mouseleave",function(t){return e._mouseLeave(t)}),this._rippleRenderer=new i.a(t,n)}return t.prototype.ngOnInit=function(){this.trigger||this._rippleRenderer.setTriggerElementToHost()},t.prototype.ngOnDestroy=function(){this._rippleRenderer.clearTriggerElement()},t.prototype.ngOnChanges=function(t){var e=Object.keys(t);e.indexOf("trigger")!==-1&&this._rippleRenderer.setTriggerElement(this.trigger)},t.prototype.start=function(){this._rippleRenderer.fadeInRippleBackground(this.backgroundColor)},t.prototype.end=function(t,e,n){var r=this;void 0===n&&(n=!0),this._rippleRenderer.createForegroundRipple(t,e,this.color,this.centered||n,this.maxRadius,this.speedFactor,function(t,e){return r._rippleTransitionEnded(t,e)}),this._rippleRenderer.fadeOutRippleBackground()},t.prototype._rippleTransitionEnded=function(t,e){if("opacity"===e.propertyName)switch(t.state){case i.b.EXPANDING:this._rippleRenderer.fadeOutForegroundRipple(t.rippleElement),t.state=i.b.FADING_OUT;break;case i.b.FADING_OUT:this._rippleRenderer.removeRippleFromDom(t.rippleElement)}},t.prototype._mouseDown=function(t){this.disabled||0!==t.button||this.start()},t.prototype._click=function(t){if(!this.disabled&&0===t.button){var e=0===t.screenX&&0===t.screenY&&0===t.pageX&&0===t.pageY;this.end(t.pageX,t.pageY,e)}},t.prototype._mouseLeave=function(t){this._rippleRenderer.fadeOutRippleBackground()},o([n.i(r.Input)("md-ripple-trigger"),s("design:type",Object)],t.prototype,"trigger",void 0),o([n.i(r.Input)("md-ripple-centered"),s("design:type",Boolean)],t.prototype,"centered",void 0),o([n.i(r.Input)("md-ripple-disabled"),s("design:type",Boolean)],t.prototype,"disabled",void 0),o([n.i(r.Input)("md-ripple-max-radius"),s("design:type",Number)],t.prototype,"maxRadius",void 0),o([n.i(r.Input)("md-ripple-speed-factor"),s("design:type",Number)],t.prototype,"speedFactor",void 0),o([n.i(r.Input)("md-ripple-color"),s("design:type",String)],t.prototype,"color",void 0),o([n.i(r.Input)("md-ripple-background-color"),s("design:type",String)],t.prototype,"backgroundColor",void 0),o([n.i(r.HostBinding)("class.md-ripple-focused"),n.i(r.Input)("md-ripple-focused"),s("design:type",Boolean)],t.prototype,"focused",void 0),o([n.i(r.HostBinding)("class.md-ripple-unbounded"),n.i(r.Input)("md-ripple-unbounded"),s("design:type",Boolean)],t.prototype,"unbounded",void 0),t=o([n.i(r.Directive)({selector:"[md-ripple]"}),s("design:paramtypes",[r.ElementRef])],t)}(),u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=o([n.i(r.NgModule)({exports:[a],declarations:[a]}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"b",function(){return s}),n.d(e,"a",function(){return a});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){this._dir="ltr",this.dirChange=new r.EventEmitter}return Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir},set:function(t){var e=this._dir;this._dir=t,e!=this._dir&&this.dirChange.emit(null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.dir},set:function(t){this.dir=t},enumerable:!0,configurable:!0}),i([n.i(r.Input)("dir"),o("design:type",String)],t.prototype,"_dir",void 0),i([n.i(r.Output)(),o("design:type",Object)],t.prototype,"dirChange",void 0),i([n.i(r.HostBinding)("attr.dir"),o("design:type",String)],t.prototype,"dir",null),t=i([n.i(r.Directive)({selector:"[dir]",exportAs:"$implicit"}),o("design:paramtypes",[])],t)}(),a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=i([n.i(r.NgModule)({exports:[s],declarations:[s]}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";(function(){function t(){this.role="dialog"}return t})()},function(t,e,n){"use strict";var r=n(1),i=n(8),o=n(567),s=n(143),a=n(447);n.n(a);n.d(e,"a",function(){return p});var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(t){function e(e){t.call(this),this._ngZone=e,this._elementFocusedBeforeDialogWasOpened=null}return u(e,t),e.prototype.attachComponentPortal=function(t){var e=this;if(this._portalHost.hasAttached())throw new o.a;var n=this._portalHost.attachComponentPortal(t);return this._ngZone.onMicrotaskEmpty.first().subscribe(function(){e._elementFocusedBeforeDialogWasOpened=document.activeElement,e._focusTrap.focusFirstTabbableElement()}),n},e.prototype.attachTemplatePortal=function(t){throw Error("Not yet implemented")},e.prototype.handleEscapeKey=function(){this.dialogRef.close()},e.prototype.ngOnDestroy=function(){var t=this;this._ngZone.onMicrotaskEmpty.first().subscribe(function(){t._elementFocusedBeforeDialogWasOpened.focus()})},c([n.i(r.ViewChild)(i.k),l("design:type",i.k)],e.prototype,"_portalHost",void 0),c([n.i(r.ViewChild)(s.a),l("design:type",s.a)],e.prototype,"_focusTrap",void 0),e=c([n.i(r.Component)({selector:"md-dialog-container",template:" ",styles:["md-dialog-container { box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12); display: block; overflow: hidden; padding: 24px; } /*# sourceMappingURL=dialog-container.css.map */ "],host:{class:"md-dialog-container","[attr.role]":"dialogConfig?.role","(keydown.escape)":"handleEscapeKey()"},encapsulation:r.ViewEncapsulation.None}),l("design:paramtypes",[r.NgZone])],e)}(i.l)},function(t,e,n){"use strict";var r=n(569);n(349),n(348),n(146);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return""+(t||"")}function i(t){return"string"==typeof t?parseInt(t,10):t}e.b=r,e.a=i},function(t,e,n){"use strict";var r=n(570);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return t.cloneNode(!0)}var i=n(1),o=n(139),s=n(8),a=n(0),u=(n.n(a),n(441)),c=(n.n(u),n(442)),l=(n.n(c),n(249)),p=(n.n(l),n(445)),h=(n.n(p),n(444)),f=(n.n(h),n(448)),d=(n.n(f),n(446)),m=(n.n(d),n(443));n.n(m);n.d(e,"a",function(){return E});var y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},v=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},g=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},b=function(t){function e(e){t.call(this,'Unable to find icon with the name "'+e+'"')}return y(e,t),e}(s.f),_=function(t){function e(){t.call(this," tag not found")}return y(e,t),e}(s.f),w=function(){function t(t){this.url=t,this.svgElement=null}return t}(),x=function(t,e){return t+":"+e},E=function(){function t(t){this._http=t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons"}return t.prototype.addSvgIcon=function(t,e){return this.addSvgIconInNamespace("",t,e)},t.prototype.addSvgIconInNamespace=function(t,e,n){var r=x(t,e);return this._svgIconConfigs.set(r,new w(n)),this},t.prototype.addSvgIconSet=function(t){return this.addSvgIconSetInNamespace("",t)},t.prototype.addSvgIconSetInNamespace=function(t,e){var n=new w(e);return this._iconSetConfigs.has(t)?this._iconSetConfigs.get(t).push(n):this._iconSetConfigs.set(t,[n]),this},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this;return this._cachedIconsByUrl.has(t)?a.Observable.of(r(this._cachedIconsByUrl.get(t))):this._loadSvgIconFromConfig(new w(t)).do(function(n){return e._cachedIconsByUrl.set(t,n)}).map(function(t){return r(t)})},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=x(e,t);if(this._svgIconConfigs.has(n))return this._getSvgFromConfig(this._svgIconConfigs.get(n));var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):a.Observable.throw(new b(n))},t.prototype._getSvgFromConfig=function(t){return t.svgElement?a.Observable.of(r(t.svgElement)):this._loadSvgIconFromConfig(t).do(function(e){return t.svgElement=e}).map(function(t){return r(t)})},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return a.Observable.of(r);var i=e.filter(function(t){return!t.svgElement}).map(function(t){return n._loadSvgIconSetFromConfig(t).catch(function(e,n){return console.log("Loading icon set URL: "+t.url+" failed: "+e),a.Observable.of(null)}).do(function(e){e&&(t.svgElement=e)})});return a.Observable.forkJoin(i).map(function(r){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw new b(t);return i})},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t,r);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).map(function(n){return e._createSvgElementForSingleIcon(n,t)})},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return this._fetchUrl(t.url).map(function(t){return e._svgElementFromString(t)})},t.prototype._createSvgElementForSingleIcon=function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n},t.prototype._extractSvgIconFromSet=function(t,e,n){var r=t.querySelector("#"+e);if(!r)return null;if("svg"==r.tagName.toLowerCase())return this._setSvgAttributes(r.cloneNode(!0),n);var i=this._svgElementFromString("");return i.appendChild(r.cloneNode(!0)),this._setSvgAttributes(i,n)},t.prototype._svgElementFromString=function(t){var e=document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw new _;return n},t.prototype._setSvgAttributes=function(t,e){return t.getAttribute("xmlns")||t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),t},t.prototype._fetchUrl=function(t){var e=this;if(this._inProgressUrlFetches.has(t))return this._inProgressUrlFetches.get(t);var n=this._http.get(t).map(function(t){return t.text()}).finally(function(){e._inProgressUrlFetches.delete(t)}).share();return this._inProgressUrlFetches.set(t,n),n},t=v([n.i(i.Injectable)(),g("design:paramtypes",[o.c])],t)}()},function(t,e,n){"use strict";var r=n(574);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(576);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(577);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(578);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(8);n.d(e,"c",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this,'md-menu-trigger: must pass in an md-menu instance.\n\n Example:\n \n \n ')}return i(e,t),e}(r.f),s=function(t){function e(){t.call(this,'x-position value must be either \'before\' or after\'.\n Example: \n ')}return i(e,t),e}(r.f),a=function(t){function e(){t.call(this,'y-position value must be either \'above\' or below\'.\n Example: \n ')}return i(e,t),e}(r.f)},function(t,e,n){"use strict";var r=n(1),i=n(220),o=n(358),s=n(8);n.d(e,"a",function(){return c});var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e,n,i){this._overlay=t,this._element=e,this._viewContainerRef=n,this._renderer=i,this._menuOpen=!1,this._openedFromKeyboard=!1,this.onMenuOpen=new r.EventEmitter,this.onMenuClose=new r.EventEmitter}return t.prototype.ngAfterViewInit=function(){var t=this;this._checkMenu(),this.menu.close.subscribe(function(){return t.closeMenu()})},t.prototype.ngOnDestroy=function(){this.destroyMenu()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){this._createOverlay(),this._overlayRef.attach(this._portal),this._initMenu()},t.prototype.closeMenu=function(){this._overlayRef&&(this._overlayRef.detach(),this._resetMenu())},t.prototype.destroyMenu=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)},t.prototype.focus=function(){this._renderer.invokeElementMethod(this._element.nativeElement,"focus")},t.prototype._initMenu=function(){this._setIsMenuOpen(!0),this._openedFromKeyboard&&this.menu._focusFirstItem()},t.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this._openedFromKeyboard&&(this.focus(),this._openedFromKeyboard=!1)},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this.menu._setClickCatcher(t),this._menuOpen?this.onMenuOpen.emit(null):this.onMenuClose.emit(null)},t.prototype._checkMenu=function(){if(!(this.menu&&this.menu instanceof i.a))throw new o.c},t.prototype._createOverlay=function(){this._overlayRef||(this._portal=new s.A(this.menu.templateRef,this._viewContainerRef),this._overlayRef=this._overlay.create(this._getOverlayConfig()))},t.prototype._getOverlayConfig=function(){ -var t=new s.n;return t.positionStrategy=this._getPosition(),t},t.prototype._getPosition=function(){var t="before"===this.menu.positionX?"end":"start",e="above"===this.menu.positionY?"bottom":"top";return this._overlay.position().connectedTo(this._element,{originX:t,originY:e},{overlayX:t,overlayY:e})},t.prototype._handleKeydown=function(t){t.keyCode===s.w&&(this._openedFromKeyboard=!0)},a([n.i(r.Input)("md-menu-trigger-for"),u("design:type",i.a)],t.prototype,"menu",void 0),a([n.i(r.Output)(),u("design:type",Object)],t.prototype,"onMenuOpen",void 0),a([n.i(r.Output)(),u("design:type",Object)],t.prototype,"onMenuClose",void 0),a([n.i(r.HostListener)("click"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],t.prototype,"toggleMenu",null),t=a([n.i(r.Directive)({selector:"[md-menu-trigger-for]",host:{"aria-haspopup":"true","(keydown)":"_handleKeydown($event)"},exportAs:"mdMenuTrigger"}),u("design:paramtypes",[s.o,r.ElementRef,r.ViewContainerRef,r.Renderer])],t)}()},function(t,e,n){"use strict";var r=n(580);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(581);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(582);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(1),i=n(364);n.d(e,"a",function(){return a});var o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=o([n.i(r.NgModule)({imports:[],exports:[i.a],declarations:[i.a]}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t=i([n.i(r.Component)({selector:"md-select",template:"I'm a select!",styles:[" /*# sourceMappingURL=select.css.map */ "],encapsulation:r.ViewEncapsulation.None}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(583);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(584);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(585);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";(function(){function t(t){this.politeness="assertive",this.viewContainerRef=t}return t})()},function(t,e,n){"use strict";var r=n(1),i=n(8),o=n(588);n.d(e,"a",function(){return c});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.attachComponentPortal=function(t){if(this._portalHost.hasAttached())throw new o.a;return this._portalHost.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){throw Error("Not yet implemented")},a([n.i(r.ViewChild)(i.k),u("design:type",i.k)],e.prototype,"_portalHost",void 0),e=a([n.i(r.Component)({selector:"snack-bar-container",template:"",styles:[":host { box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12); background: #323232; border-radius: 2px; display: block; height: 20px; max-width: 568px; min-width: 288px; overflow: hidden; padding: 14px 24px; } /*# sourceMappingURL=snack-bar-container.css.map */ "],host:{role:"alert"}}),u("design:paramtypes",[])],e)}(i.l)},function(t,e,n){"use strict";var r=n(1),i=n(8),o=n(47),s=n(222),a=n(369),u=n(587);n(368);n.d(e,"a",function(){return h});var c=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(t,e){this._overlay=t,this._live=e}return t.prototype.openFromComponent=function(t,e){this._snackBarRef&&this._snackBarRef.dismiss();var n=this._createOverlay(),r=this._attachSnackBarContainer(n,e),i=this._attachSnackbarContent(t,r,n);return this._live.announce(e.announcementMessage,e.politeness),i},t.prototype.open=function(t,e,n){n.announcementMessage=t;var r=this.openFromComponent(u.a,n);return r.instance.snackBarRef=r,r.instance.message=t,r.instance.action=e,r},t.prototype._attachSnackBarContainer=function(t,e){var n=new i.m(a.a,e.viewContainerRef),r=t.attach(n);return r.instance.snackBarConfig=e,r.instance},t.prototype._attachSnackbarContent=function(t,e,n){var r=new i.m(t),o=e.attachComponentPortal(r),a=new s.a(o.instance,n);return this._snackBarRef=a,a},t.prototype._createOverlay=function(){var t=new i.n;return t.positionStrategy=this._overlay.position().global().fixed().centerHorizontally().bottom("0"),this._overlay.create(t)},t=c([n.i(r.Injectable)(),l("design:paramtypes",[i.o,i.p])],t)}(),h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[p,i.q,i.p]}},t=c([n.i(r.NgModule)({imports:[i.r,i.s,o.b],exports:[a.a],declarations:[a.a,u.a],entryComponents:[a.a,u.a]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(593);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(594);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(595);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(114),i=n(1),o=n(600),s=n(375);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=[o.a,{provide:i.COMPILER_OPTIONS,useValue:{providers:[{provide:r.a,useClass:s.a}]},multi:!0}]},function(t,e,n){"use strict";var r=n(114),i=n(1);n.d(e,"a",function(){return s});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.get=function(t){var e,n,r=new Promise(function(t,r){e=t,n=r}),i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="text",i.onload=function(){var r=i.response||i.responseText,o=1223===i.status?204:i.status;0===o&&(o=r?200:0),200<=o&&o<=300?e(r):n("Failed to load "+t)},i.onerror=function(){n("Failed to load "+t)},i.send(),r},e.decorators=[{type:i.Injectable}],e.ctorParameters=[],e}(r.a)},function(t,e,n){"use strict";function r(){p.a.makeCurrent(),f.a.init()}function i(){return new u.ErrorHandler}function o(){return n.i(y.a)().defaultDoc()}function s(){return n.i(y.a)().supportsWebAnimation()?new l.a:c.a.NOOP}var a=n(47),u=n(1),c=n(223),l=n(608),p=n(377),h=n(378),f=n(379),d=n(380),m=n(224),y=n(19),v=n(225),g=n(147),b=n(381),_=n(82),w=n(226),x=n(382),E=n(227),S=n(386);n.d(e,"b",function(){return C}),n.d(e,"c",function(){return O}),e.a=r,n.d(e,"d",function(){return k});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var C=[{provide:u.PLATFORM_INITIALIZER,useValue:r,multi:!0},{provide:a.a,useClass:h.a}],O=[{provide:u.Sanitizer,useExisting:S.a},{provide:S.a,useClass:S.b}],k=(n.i(u.createPlatformFactory)(u.platformCore,"browser",C),function(){function t(t){if(t)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.")}return t.decorators=[{type:u.NgModule,args:[{providers:[O,{provide:u.ErrorHandler,useFactory:i,deps:[]},{provide:g.a,useFactory:o,deps:[]},{provide:_.c,useClass:b.a,multi:!0},{provide:_.c,useClass:x.a,multi:!0},{provide:_.c,useClass:w.a,multi:!0},{provide:w.b,useClass:w.c},{provide:v.a,useClass:v.b},{provide:u.RootRenderer,useExisting:v.a},{provide:E.b,useExisting:E.a},{provide:c.a,useFactory:s},E.a,u.Testability,_.a,m.a,d.a],exports:[a.b,u.ApplicationModule]}]}],t.ctorParameters=[{type:t,decorators:[{type:u.Optional},{type:u.SkipSelf}]}],t}())},function(t,e,n){"use strict";function r(){return y||(y=document.querySelector("base"))?y.getAttribute("href"):null}function i(t){return c||(c=document.createElement("a")),c.setAttribute("href",t),"/"===c.pathname.charAt(0)?c.pathname:"/"+c.pathname}function o(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r-1&&(i.b.remove(n,t),s+=t+".")}),s+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=s,a},e.getEventFullKey=function(t){var e="",r=n.i(s.a)().getEventKey(t);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),c.forEach(function(n){if(n!=r){var i=l[n];i(t)&&(e+=n+".")}}),e+=r},e.eventCallback=function(t,n,r,i){return function(t){e.getEventFullKey(t)===n&&i.runGuarded(function(){return r(t)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(a.b)},function(t,e,n){"use strict";function r(t){return t.replace(o,function(){for(var t=[],e=0;e-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=(r.__core_private__.RenderDebugInfo,r.__core_private__.ReflectionCapabilities,r.__core_private__.DebugDomRootRenderer),o=(r.__core_private__.reflector,r.__core_private__.NoOpAnimationPlayer);r.__core_private__.AnimationPlayer,r.__core_private__.AnimationSequencePlayer,r.__core_private__.AnimationGroupPlayer,r.__core_private__.AnimationKeyframe,r.__core_private__.AnimationStyles,r.__core_private__.prepareFinalAnimationStyles,r.__core_private__.balanceAnimationKeyframes,r.__core_private__.clearStyles,r.__core_private__.collectAndResolveStyles},function(t,e,n){"use strict";var r=n(1),i=n(613),o=n(614),s=n(228);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}(),c=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return e instanceof p?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.i(i.a)(String(e)));case r.SecurityContext.STYLE:return e instanceof h?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.i(o.a)(e));case r.SecurityContext.SCRIPT:if(e instanceof f)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case r.SecurityContext.URL:return e instanceof m||e instanceof d?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),n.i(s.a)(String(e)));case r.SecurityContext.RESOURCE_URL:if(e instanceof m)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof l)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new p(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new h(t)},e.prototype.bypassSecurityTrustScript=function(t){return new f(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new d(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new m(t)},e.decorators=[{type:r.Injectable}],e.ctorParameters=[],e}(u),l=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),p=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(l),h=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(l),f=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(l),d=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(l),m=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(l)},function(t,e,n){"use strict";var r=n(230);n.d(e,"a",function(){return o});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e,n){void 0===n&&(n=500),t.call(this,document.documentElement,e,n)}return i(e,t),e.prototype.filterEvent=function(t){return!("mousemove"!==t.type||!(t.originalEvent&&0===t.originalEvent.movementX&&0===t.originalEvent.movementY||void 0!==t.movementX&&!t.movementX)&&t.movementY)},e}(r.a)},function(t,e,n){"use strict";var r=n(1),i=n(148),o=n(615),s=n(391);n.d(e,"a",function(){return p});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var a,u=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}};!function(t){t[t.disabled=0]="disabled",t[t.idle=1]="idle",t[t.notIdle=2]="notIdle"}(a||(a={}));var p=function(){function t(t,e){this.expiry=t,this.idle=1200,this.timeoutVal=30,this.autoResume=a.idle,this.interrupts=new Array,this.running=!1,this.idling=!1,this.keepaliveEnabled=!1,this.onIdleStart=new r.EventEmitter,this.onIdleEnd=new r.EventEmitter,this.onTimeoutWarning=new r.EventEmitter,this.onTimeout=new r.EventEmitter,this.onInterrupt=new r.EventEmitter,e&&(this.keepaliveSvc=e,this.keepaliveEnabled=!0)}return t.prototype.getKeepaliveEnabled=function(){return this.keepaliveEnabled},t.prototype.setKeepaliveEnabled=function(t){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=t},t.prototype.getTimeout=function(){return this.timeoutVal},t.prototype.setTimeout=function(t){if(t===!1)this.timeoutVal=0;else{if(!("number"==typeof t&&t>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=t}return this.timeoutVal},t.prototype.getIdle=function(){return this.idle},t.prototype.setIdle=function(t){if(t<=0)throw new Error("'seconds' must be greater zero");return this.idle=t},t.prototype.getAutoResume=function(){return this.autoResume},t.prototype.setAutoResume=function(t){return this.autoResume=t},t.prototype.setInterrupts=function(t){this.clearInterrupts();for(var e=this,n=0,r=t;n0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.timeoutHandle=setInterval(function(){t.doCountdown()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")},t.prototype.toggleInterrupts=function(t){for(var e=0,n=this.interrupts;e (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var r=function(){function t(t,e,n){void 0===n&&(n=!1),this.source=t,this.innerArgs=e,this.force=n}return t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var i=function(){function t(t,e){this.attachFn=t,this.detachFn=e,this.isAttached=!1,this.onInterrupt=new r.EventEmitter}return t.prototype.attach=function(){!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0},t.prototype.detach=function(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var r=function(){function t(){}return t}()},function(t,e,n){"use strict";var r=n(148);n.d(e,"a",function(){return o});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this),this.lastValue=null}return i(e,t),e.prototype.last=function(t){return void 0!==t&&(this.lastValue=t),this.lastValue},e}(r.a)},function(t,e,n){"use strict";var r=n(394),i=n(618);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return i.a})},function(t,e,n){"use strict";var r=n(1),i=n(139),o=n(229);n.d(e,"a",function(){return c});/** - * @ng-idle/keepalive - ng-idle for Angular 2 keepalive module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(t){function e(e){t.call(this),this.http=e,this.pingInterval=600,this.onPing=new r.EventEmitter,this.onPingResponse=new r.EventEmitter}return s(e,t),e.prototype.request=function(t){return"string"==typeof t?this.pingRequest=new i.a({method:i.b.Get,url:t}):t instanceof i.a?this.pingRequest=t:null===t&&(this.pingRequest=null),this.pingRequest},e.prototype.interval=function(t){if(!isNaN(t)&&t>0)this.pingInterval=t;else if(!isNaN(t)&&t<=0)throw new Error("Interval value must be greater than zero.");return this.pingInterval},e.prototype.ping=function(){var t=this;this.onPing.emit(null),this.pingRequest&&this.http.request(this.pingRequest).subscribe(function(e){t.onPingResponse.emit(e)})},e.prototype.start=function(){var t=this;this.stop(),this.pingHandle=setInterval(function(){t.ping()},1e3*this.pingInterval)},e.prototype.stop=function(){this.pingHandle&&(clearInterval(this.pingHandle),this.pingHandle=null)},e.prototype.ngOnDestroy=function(){this.stop()},e.prototype.isRunning=function(){return!!this.pingHandle},e=a([n.i(r.Injectable)(),u("design:paramtypes",[i.c])],e)}(o.a)},function(t,e,n){"use strict";var r=n(1),i=n(87),o=i.default||i,s=function(){function t(e,n){var r=this;this.cdRef=e,this.ngZone=n,t.initTimer(),t.refs++,this.ngZone.runOutsideAngular(function(){return r.midnightSub=t.midnight.subscribe(function(){r.ngZone.run(function(){return r.cdRef.markForCheck()})})})}return t.prototype.transform=function(t){for(var e=[],n=1;n0&&t.refs--,0===t.refs&&t.removeTimer(),this.midnightSub.unsubscribe()},t.initTimer=function(){if(!t.midnight&&(t.midnight=new r.EventEmitter,"undefined"!=typeof window)){var e=t._getMillisecondsUntilUpdate();t.timer=window.setTimeout(function(){t.midnight.emit(new Date),t.removeTimer(),t.initTimer()},e)}},t.removeTimer=function(){t.timer&&(window.clearTimeout(t.timer),t.timer=null,t.midnight=null)},t._getMillisecondsUntilUpdate=function(){var t=o(),e=o().startOf("day").add(1,"days"),n=e.valueOf()-t.valueOf();return n+1e3},t.refs=0,t.decorators=[{type:r.Pipe,args:[{name:"amCalendar",pure:!1}]}],t.ctorParameters=[{type:r.ChangeDetectorRef},{type:r.NgZone}],t}();e.CalendarPipe=s},function(t,e,n){"use strict";var r=n(1),i=n(87),o=i.default||i,s=function(){function t(){}return t.prototype.transform=function(t){for(var e=[],n=1;n=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e){var n=this;this.idle=t,this.keepalive=e,this.idleState="Not started.",this.timedOut=!1,this.lastPing=null,t.setIdle(5),t.setTimeout(5),t.setInterrupts(i.c),t.onIdleEnd.subscribe(function(){return n.idleState="No longer idle."}),t.onTimeout.subscribe(function(){n.idleState="Timed out!",n.timedOut=!0}),t.onIdleStart.subscribe(function(){return n.idleState="You've gone idle!"}),t.onTimeoutWarning.subscribe(function(t){return n.idleState="You will time out in "+t+" seconds!"}),e.interval(15),e.onPing.subscribe(function(){return n.lastPing=new Date}),this.reset()}return t.prototype.reset=function(){this.idle.watch(),this.idleState="Started.",this.timedOut=!1},t=s([n.i(r.Component)({selector:"app-root",template:n(779),styles:[n(778)]}),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof i.d&&i.d)&&e||Object,"function"==typeof(u="undefined"!=typeof o.a&&o.a)&&u||Object])],t);var e,u}()},function(t,e,n){var r=n(74);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(40),i=n(35),o=n(106);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),l=o(s,c);if(t&&n!=n){for(;c>l;)if(a=u[l++],a!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(73),i=n(41),o=n(103),s=n(35);t.exports=function(t,e,n,a,u){r(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},function(t,e,n){"use strict";var r=n(73),i=n(13),o=n(648),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(this,t)}}),f&&r(p.prototype,"size",{get:function(){return u(this[m])}}),p},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[m]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){l(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?p(0,n.k):"values"==e?p(0,n.v):p(0,[n.k,n.v]):(t._t=void 0,p(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e,n){"use strict";var r=n(20),i=n(75);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(13),i=n(17).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=n(17).document&&document.documentElement},function(t,e,n){t.exports=!n(25)&&!n(11)(function(){return 7!=Object.defineProperty(n(409)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(104),i=n(14)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(13),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){"use strict";var r=n(84),i=n(75),o=n(153),s={};n(55)(s,n(14)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(14)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(85),i=n(151),o=n(152),s=n(41),a=n(103),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,l=i.f,p=o.f;u>c;)for(var h,f=a(arguments[c++]),d=l?r(f).concat(l(f)):r(f),m=d.length,y=0;m>y;)p.call(f,h=d[y++])&&(n[h]=f[h]);return n}:u},function(t,e,n){var r=n(20),i=n(9),o=n(85);t.exports=n(25)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(40),i=n(105).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){var r=n(29),i=n(40),o=n(403)(!1),s=n(246)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(17).parseFloat,i=n(155).trim;t.exports=1/r(n(248)+"-0")!==-(1/0)?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(17).parseInt,i=n(155).trim,o=n(248),s=/^[\-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},function(t,e,n){var r=n(86),i=n(54);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){"use strict";var r=n(86),i=n(54);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){e.f=n(14)},function(t,e,n){var r=n(406),i=n(14)("iterator"),o=n(104);t.exports=n(16).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(102),i=n(417),o=n(104),s=n(40);t.exports=n(239)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(407);t.exports=n(232)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},function(t,e,n){n(25)&&"g"!=/./g.flags&&n(20).f(RegExp.prototype,"flags",{configurable:!0,get:n(235)})},function(t,e,n){n(149)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(149)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(149)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(149)("split",2,function(t,e,r){"use strict";var i=n(238),o=r,s=[].push,a="split",u="length",c="lastIndex";if("c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[u]||2!="ab"[a](/(?:ab)*/)[u]||4!="."[a](/(.?)(.?)/)[u]||"."[a](/()()/)[u]>1||""[a](/.?/)[u]){var l=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,a,p,h,f,d=[],m=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,v=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,m+"g");for(l||(r=new RegExp("^"+g.source+"$(?!\\s)",m));(a=g.exec(n))&&(p=a.index+a[0][u],!(p>y&&(d.push(n.slice(y,a.index)),!l&&a[u]>1&&a[0].replace(r,function(){for(f=1;f1&&a.index=v)));)g[c]===a.index&&g[c]++;return y===n[u]?!h&&g.test("")||d.push(""):d.push(n.slice(y)),d[u]>v?d.slice(0,v):d}}else"0"[a](void 0,0)[u]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";var r=n(407);t.exports=n(232)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r=n(17),i=n(29),o=n(25),s=n(2),a=n(30),u=n(65).KEY,c=n(11),l=n(154),p=n(153),h=n(107),f=n(14),d=n(427),m=n(652),y=n(649),v=n(647),g=n(237),b=n(9),_=n(40),w=n(76),x=n(75),E=n(84),S=n(421),C=n(66),O=n(20),k=n(85),P=C.f,T=O.f,A=S.f,I=r.Symbol,M=r.JSON,R=M&&M.stringify,j="prototype",N=f("_hidden"),D=f("toPrimitive"),F={}.propertyIsEnumerable,V=l("symbol-registry"),L=l("symbols"),H=l("op-symbols"),U=Object[j],B="function"==typeof I,z=r.QObject,q=!z||!z[j]||!z[j].findChild,W=o&&c(function(){return 7!=E(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(U,e);r&&delete U[e],T(t,e,n),r&&t!==U&&T(U,e,r)}:T,G=function(t){var e=L[t]=E(I[j]);return e._k=t,e},Y=B&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},X=function(t,e,n){return t===U&&X(H,e,n),b(t),e=w(e,!0),b(n),i(L,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=E(n,{enumerable:x(0,!1)})):(i(t,N)||T(t,N,x(1,{})),t[N][e]=!0),W(t,e,n)):T(t,e,n)},K=function(t,e){b(t);for(var n,r=v(e=_(e)),i=0,o=r.length;o>i;)X(t,n=r[i++],e[n]);return t},Z=function(t,e){return void 0===e?E(t):K(E(t),e)},$=function(t){var e=F.call(this,t=w(t,!0));return!(this===U&&i(L,t)&&!i(H,t))&&(!(e||!i(this,t)||!i(L,t)||i(this,N)&&this[N][t])||e)},Q=function(t,e){if(t=_(t),e=w(e,!0),t!==U||!i(L,e)||i(H,e)){var n=P(t,e);return!n||!i(L,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=A(_(t)),r=[],o=0;n.length>o;)i(L,e=n[o++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===U,r=A(n?H:_(t)),o=[],s=0;r.length>s;)!i(L,e=r[s++])||n&&!i(U,e)||o.push(L[e]);return o};B||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(H,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),W(this,t,x(1,n))};return o&&q&&W(U,t,{configurable:!0,set:e}),G(t)},a(I[j],"toString",function(){return this._k}),C.f=Q,O.f=X,n(105).f=S.f=J,n(152).f=$,n(151).f=tt,o&&!n(240)&&a(U,"propertyIsEnumerable",$,!0),d.f=function(t){return G(f(t))}),s(s.G+s.W+s.F*!B,{Symbol:I});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)f(et[nt++]);for(var et=k(f.store),nt=0;et.length>nt;)m(et[nt++]);s(s.S+s.F*!B,"Symbol",{for:function(t){return i(V,t+="")?V[t]:V[t]=I(t)},keyFor:function(t){if(Y(t))return y(V,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!B,"Object",{create:Z,defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:tt}),M&&s(s.S+s.F*(!B||c(function(){var t=I();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,R.apply(M,r)}}}),I[j][D]||n(55)(I[j],D,I[j].valueOf),p(I,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,e,n){for(var r=n(429),i=n(30),o=n(17),s=n(55),a=n(104),u=n(14),c=u("iterator"),l=u("toStringTag"),p=a.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],f=0;f<5;f++){var d,m=h[f],y=o[m],v=y&&y.prototype;if(v){v[c]||s(v,c,p),v[l]||s(v,l,m),a[m]=p;for(d in r)v[d]||i(v,d,r[d],!0)}}},,function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(258),s=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.Subject);e.BehaviorSubject=s},function(t,e,n){"use strict";var r=n(0),i=n(932);r.Observable.forkJoin=i.forkJoin},function(t,e,n){"use strict";var r=n(0),i=n(940);r.Observable.of=i.of},function(t,e,n){"use strict";var r=n(0),i=n(955);r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},function(t,e,n){"use strict";var r=n(0),i=n(969);r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},function(t,e,n){"use strict";var r=n(0),i=n(456);r.Observable.prototype.filter=i.filter},function(t,e,n){"use strict";var r=n(0),i=n(975);r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},function(t,e,n){"use strict";var r=n(0),i=n(977);r.Observable.prototype.first=i.first},function(t,e,n){"use strict";var r=n(0),i=n(1003);r.Observable.prototype.share=i.share},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(46),o=n(473),s=n(451),a=n(916),u=n(58),c=n(905),l=n(111),p=n(0),h=n(255),f=n(161),d=function(t){return t&&"number"==typeof t.length},m=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[f.$$observable])return t instanceof p.Observable&&!n?t:new e(t,n);if(i.isArray(t))return new u.ArrayObservable(t,n);if(o.isPromise(t))return new s.PromiseObservable(t,n);if("function"==typeof t[l.$$iterator]||"string"==typeof t)return new a.IteratorObservable(t,n);if(d(t))return new c.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[f.$$observable]().subscribe(t):e[f.$$observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(p.Observable);e.FromObservable=m},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(250),s=function(t){function e(e,n,r){t.call(this),this.source=e,this.subjectFactory=n,this.selector=r}return r(e,t),e.prototype._subscribe=function(t){var e=this,n=e.selector,r=e.source,i=new o.ConnectableObservable(r,this.subjectFactory),s=n(i).subscribe(t);return s.add(i.connect()),s},e}(i.Observable);e.MulticastObservable=s},function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function i(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(26),a=n(0),u=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return o(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return o.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(a.Observable);e.PromiseObservable=u},function(t,e,n){"use strict";function r(){if(p.root.XMLHttpRequest){var t=new p.root.XMLHttpRequest;return"withCredentials"in t&&(t.withCredentials=!!this.withCredentials),t}if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new v({method:"GET",url:t,headers:e})}function s(t,e,n){return new v({method:"POST",url:t,body:e,headers:n})}function a(t,e){return new v({method:"DELETE",url:t,headers:e})}function u(t,e,n){return new v({method:"PUT",url:t,body:e,headers:n})}function c(t,e){return new v({method:"GET",url:t,responseType:"json",headers:e}).lift(new y.MapOperator(function(t,e){return t.response},null))}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=n(26),h=n(23),f=n(22),d=n(0),m=n(3),y=n(254);e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=a,e.ajaxPut=u,e.ajaxGetJSON=c;var v=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?r.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return l(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=u,t.getJSON=c,t}(),e}(d.Observable);e.AjaxObservable=v;var g=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var r=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||p.root.FormData&&n.body instanceof p.root.FormData||"undefined"==typeof n.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return l(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,r=e.request,i=e.destination,o=new b(t,n,r);i.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,r=n.user,i=n.method,o=n.url,s=n.async,a=n.password,u=n.headers,c=n.body,l=e.createXHR,p=h.tryCatch(l).call(e);if(p===f.errorObject)this.error(f.errorObject.e);else{this.xhr=p;var d=void 0;if(d=r?h.tryCatch(p.open).call(p,i,o,s,r,a):h.tryCatch(p.open).call(p,i,o,s),d===f.errorObject)return this.error(f.errorObject.e),null;p.timeout=e.timeout,p.responseType=e.responseType,this.setHeaders(p,u),this.setupEvents(p,e),c?p.send(c):p.send()}return p},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var n=e.indexOf(";");n!==-1&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){var n=e.progressSubscriber;t.ontimeout=function t(e){var n=t,r=n.subscriber,i=n.progressSubscriber,o=n.request;i&&i.error(e),r.error(new w(this,o))},t.ontimeout.request=e,t.ontimeout.subscriber=this,t.ontimeout.progressSubscriber=n,t.upload&&"withCredentials"in t&&p.root.XDomainRequest&&(n&&(t.onprogress=function t(e){var n=t.progressSubscriber;n.next(e)},t.onprogress.progressSubscriber=n),t.onerror=function t(e){var n=t,r=n.progressSubscriber,i=n.subscriber,o=n.request;r&&r.error(e),i.error(new _("ajax error",this,o))},t.onerror.request=e,t.onerror.subscriber=this,t.onerror.progressSubscriber=n),t.onreadystatechange=function t(e){var n=t,r=n.subscriber,i=n.progressSubscriber,o=n.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(i&&i.complete(),r.next(e),r.complete()):(i&&i.error(e),r.error(new _("ajax error "+s,this,o)))}},t.onreadystatechange.subscriber=this,t.onreadystatechange.progressSubscriber=n,t.onreadystatechange.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,r=e.xhr;!n&&r&&4!==r.readyState&&r.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);e.AjaxSubscriber=g;var b=function(){function t(t,e,n){switch(this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.responseType){case"json":"response"in e?this.response=e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):this.response=JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();e.AjaxResponse=b;var _=function(t){function e(e,n,r){t.call(this,e),this.message=e,this.xhr=n,this.request=r,this.status=n.status}return l(e,t),e}(Error);e.AjaxError=_;var w=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return l(e,t),e}(_);e.AjaxTimeoutError=w},function(t,e,n){"use strict";var r=n(451);e.fromPromise=r.PromiseObservable.create},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.distinct=r;var a=function(){function t(t,e){this.compare=t,this.flushes=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.compare,this.flushes))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.values=[],"function"==typeof n&&(this.compare=n),r&&this.add(s.subscribeToResult(this,r))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.length=0},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){var e=!1,n=this.values,r=n.length;try{for(var i=0;i1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),1===t.length?t[0]:new o.ArrayObservable(t,r).lift(new s.MergeAllOperator(n))}var o=n(58),s=n(160),a=n(68);e.merge=r,e.mergeStatic=i},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(6),s=n(5);e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var u=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.mergeMapTo=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var u=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=u},function(t,e,n){"use strict";function r(){for(var t=[],e=0;ee.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=a},function(t,e,n){"use strict";var r=n(1032),i=n(1033);e.asap=new i.AsapScheduler(r.AsapAction)},function(t,e,n){"use strict";var r=n(1034),i=n(1035);e.queue=new i.QueueScheduler(r.QueueAction)},function(t,e){"use strict";var n=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=n},function(t,e,n){"use strict";var r=n(469),i=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=i},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return n(e,t),e}(Error);e.UnsubscriptionError=r},function(t,e){"use strict";function n(t,e){for(var n=0,r=e.length;n0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=o.a.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+o.a.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+o.a.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:r.Injectable}],e.ctorParameters=[{type:a.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[s.b]}]}],e})(s.a)},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(166),s=n(113),a=n(167),u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)};(function(t){function e(e,r){if(t.call(this),this._platformLocation=e,n.i(i.b)(r)&&(r=this._platformLocation.getBaseHrefFromDOM()),n.i(i.b)(r))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=r}return u(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return o.a.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+o.a.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+o.a.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+o.a.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:r.Injectable}],e.ctorParameters=[{type:a.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[s.b]}]}],e})(s.a)},function(t,e,n){"use strict";var r=n(1),i=n(498),o=n(60);n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),a=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),u=new a,c=new s,l=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(n.i(i.a)(e))return u;if(e.subscribe)return c;throw new o.a(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t.decorators=[{type:r.Pipe,args:[{name:"async",pure:!1}]}],t.ctorParameters=[{type:r.ChangeDetectorRef}],t}()},function(t,e,n){"use strict";var r=n(1),i=n(264),o=n(28),s=n(60);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,r){if(void 0===r&&(r="mediumDate"),n.i(o.b)(e))return null;if(!this.supports(e))throw new s.a(t,e);return o.g.isNumeric(e)&&(e=parseFloat(e)),i.a.format(new Date(e),this._locale,t._ALIASES[r]||r)},t.prototype.supports=function(t){return n.i(o.h)(t)||o.g.isNumeric(t)||"string"==typeof t&&n.i(o.h)(new Date(t))},t._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],t.ctorParameters=[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],t}()},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(112),s=n(60);n.d(e,"a",function(){return u});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=/#/g,u=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,r){if(n.i(i.b)(e))return"";if("object"!=typeof r||null===r)throw new s.a(t,r);var u=n.i(o.a)(e,Object.keys(r),this._localization);return r[u].replace(a,e.toString())},t.decorators=[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],t.ctorParameters=[{type:o.b}],t}()},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(60);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.transform=function(e,r){if(n.i(i.b)(e))return"";if("object"!=typeof r||null===r)throw new o.a(t,r);return r[e]||""},t.decorators=[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t.decorators=[{type:r.Pipe,args:[{name:"json",pure:!1}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(60);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.transform=function(e){if(n.i(i.b)(e))return e;if("string"!=typeof e)throw new o.a(t,e);return e.toLowerCase()},t.decorators=[{type:r.Pipe,args:[{name:"lowercase"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function r(t,e,r,i,c,l,p){if(void 0===l&&(l=null),void 0===p&&(p=!1),n.i(s.b)(r))return null;if(r="string"==typeof r&&s.g.isNumeric(r)?+r:r,"number"!=typeof r)throw new a.a(t,r);var h,f,d;if(i!==o.b.Currency&&(h=1,f=0,d=3),c){var m=c.match(u);if(null===m)throw new Error(c+" is not a valid digit info for number pipes");n.i(s.a)(m[1])&&(h=s.g.parseIntAutoRadix(m[1])),n.i(s.a)(m[3])&&(f=s.g.parseIntAutoRadix(m[3])),n.i(s.a)(m[5])&&(d=s.g.parseIntAutoRadix(m[5]))}return o.c.format(r,e,i,{minimumIntegerDigits:h,minimumFractionDigits:f,maximumFractionDigits:d,currency:l,currencyAsSymbol:p})}var i=n(1),o=n(264),s=n(28),a=n(60);n.d(e,"a",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return p});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var u=/^(\d+)?\.((\d+)(-(\d+))?)?$/,c=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),r(t,this._locale,e,o.b.Decimal,n)},t.decorators=[{type:i.Pipe,args:[{name:"number"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:i.Inject,args:[i.LOCALE_ID]}]}],t}(),l=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),r(t,this._locale,e,o.b.Percent,n)},t.decorators=[{type:i.Pipe,args:[{name:"percent"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:i.Inject,args:[i.LOCALE_ID]}]}],t}(),p=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,i,s){return void 0===n&&(n="USD"),void 0===i&&(i=!1),void 0===s&&(s=null),r(t,this._locale,e,o.b.Currency,s,n,i)},t.decorators=[{type:i.Pipe,args:[{name:"currency"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:i.Inject,args:[i.LOCALE_ID]}]}],t}()},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(60);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.transform=function(e,r,s){if(n.i(i.b)(e))return e;if(!this.supports(e))throw new o.a(t,e);return e.slice(r,s)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t.decorators=[{type:r.Pipe,args:[{name:"slice",pure:!1}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1),i=n(28),o=n(60);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){}return t.prototype.transform=function(e){if(n.i(i.b)(e))return e;if("string"!=typeof e)throw new o.a(t,e);return e.toUpperCase()},t.decorators=[{type:r.Pipe,args:[{name:"uppercase"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=r.__core_private__.isPromise},function(t,e,n){"use strict";var r=n(4);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(t,e){this.time=t,this.value=e}return t.prototype.matches=function(t,e){return t==this.time&&e==this.value},t}(),o=function(){function t(){this.styles={}}return t.prototype.insertAtTime=function(t,e,o){var s=new i(e,o),a=this.styles[t];n.i(r.a)(a)||(a=this.styles[t]=[]);for(var u=0,c=a.length-1;c>=0;c--)if(a[c].time<=e){u=c+1;break}a.splice(u,0,s)},t.prototype.getByIndex=function(t,e){var i=this.styles[t];return n.i(r.a)(i)?e>=i.length?null:i[e]:null},t.prototype.indexOfAtOrBeforeTime=function(t,e){var i=this.styles[t];if(n.i(r.a)(i))for(var o=i.length-1;o>=0;o--)if(i[o].time<=e)return o;return null},t}()},function(t,e,n){"use strict";function r(){_.A.reflectionCapabilities=new _.M}function i(t){return{useDebug:o(t.map(function(t){return t.useDebug})),useJit:o(t.map(function(t){return t.useJit})),defaultEncapsulation:o(t.map(function(t){return t.defaultEncapsulation})),providers:s(t.map(function(t){return t.providers}))}}function o(t){for(var e=t.length-1;e>=0;e--)if(void 0!==t[e])return t[e]}function s(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}var a=n(1),u=n(77),c=n(169),l=n(170),p=n(115),h=n(116),f=n(90),d=n(275),m=n(174),y=n(117),v=n(176),g=n(177),b=n(180),_=n(18),w=n(181),x=n(286),E=n(287),S=n(70),C=n(182),O=n(119),k=n(91),P=n(120);n.d(e,"a",function(){return M});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var T={get:function(t){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+t+'"')}},A=[{provide:_.L,useValue:_.A},{provide:_.I,useExisting:_.L},{provide:w.a,useValue:T},_.B,h.c,f.a,y.b,{provide:d.a,useFactory:function(t,e,n){return new d.a(t,e,n)},deps:[y.b,[new a.Optional,new a.Inject(a.TRANSLATIONS)],[new a.Optional,new a.Inject(a.TRANSLATIONS_FORMAT)]]},O.a,c.a,m.a,k.c,C.a,P.d,v.a,p.a,{provide:u.a,useValue:new u.a},x.a,{provide:a.Compiler,useExisting:x.a},E.a,{provide:S.a,useExisting:E.a},k.a,l.a,b.a,g.a],I=function(){function t(t){this._defaultOptions=[{useDebug:n.i(a.isDevMode)(),useJit:!0,defaultEncapsulation:a.ViewEncapsulation.Emulated}].concat(t)}return t.prototype.createCompiler=function(t){void 0===t&&(t=[]);var e=i(this._defaultOptions.concat(t)),n=a.ReflectiveInjector.resolveAndCreate([A,{provide:u.a,useFactory:function(){return new u.a({genDebugInfo:e.useDebug,useJit:e.useJit,defaultEncapsulation:e.defaultEncapsulation,logBindingUpdate:e.useDebug})},deps:[]},e.providers]);return n.get(a.Compiler)},t.decorators=[{type:a.Injectable}],t.ctorParameters=[{type:Array,decorators:[{type:a.Inject,args:[a.COMPILER_OPTIONS]}]}],t}(),M=n.i(a.createPlatformFactory)(a.platformCore,"coreDynamic",[{provide:a.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:a.CompilerFactory,useClass:I},{provide:a.PLATFORM_INITIALIZER,useValue:r,multi:!0}])},function(t,e,n){"use strict";function r(t){var e=new f(h,t);return function(t,n,r){return e.toI18nMessage(t,n,r)}}function i(t){return t.split(d)[1]}var o=n(116),s=n(90),a=n(61),u=n(175),c=n(172),l=n(273),p=n(502);e.a=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var h=new s.a(new o.c),f=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n){this._isIcu=1==t.length&&t[0]instanceof a.b,this._icuDepth=0,this._placeholderRegistry=new p.a,this._placeholderToContent={},this._placeholderToIds={};var r=a.g(this,t,{});return new l.a(r,this._placeholderToContent,this._placeholderToIds,e,n)},t.prototype.visitElement=function(t,e){var r=a.g(this,t.children),i={};t.attrs.forEach(function(t){i[t.name]=t.value});var o=n.i(u.a)(t.name).isVoid,s=this._placeholderRegistry.getStartTagPlaceholderName(t.name,i,o);this._placeholderToContent[s]=t.sourceSpan.toString();var c="";return o||(c=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[c]=""),new l.b(t.name,i,s,c,r,o,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(e,r){var i=this;this._icuDepth++;var o={},s=new l.c(e.switchValue,e.type,o,e.sourceSpan);if(e.cases.forEach(function(t){o[t.value]=new l.d(t.expression.map(function(t){return t.visit(i,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0)return s;var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),u=new t(this._expressionParser,this._interpolationConfig);return this._placeholderToIds[a]=n.i(c.a)(u.toI18nMessage([e],"","")),new l.e(s,a,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new l.f(t,e);for(var r=[],o=new l.d(r,e),s=this._interpolationConfig,a=s.start,u=s.end,c=0;c":">";return r+i+o},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){var e=t,n=this._placeHolderNameCounts[e];return n?(e+="_"+n,n++):n=1,this._placeHolderNameCounts[t]=n,e},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(t){void 0===t&&(t={}),this._messageMap=t}return t.load=function(e,n,r,i){return new t(i.load(e,n,r))},t.prototype.get=function(t){return this._messageMap[t]},t.prototype.has=function(t){return t in this._messageMap},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e){return o.A.hasLifecycleHook(e,i(t))}function i(t){switch(t){case o.G.OnInit:return"ngOnInit";case o.G.OnDestroy:return"ngOnDestroy";case o.G.DoCheck:return"ngDoCheck";case o.G.OnChanges:return"ngOnChanges";case o.G.AfterContentInit:return"ngAfterContentInit";case o.G.AfterContentChecked:return"ngAfterContentChecked";case o.G.AfterViewInit:return"ngAfterViewInit";case o.G.AfterViewChecked:return"ngAfterViewChecked"}}var o=n(18);e.a=r},function(t,e,n){"use strict";function r(t){var e=new h;return new l(a.g(e,t),e.isExpanded,e.errors)}function i(t,e){var n=t.cases.map(function(t){c.indexOf(t.value)!=-1||t.value.match(/^=\d+$/)||e.push(new p(t.valueSourceSpan,'Plural cases should be "=" or one of '+c.join(", ")));var n=r(t.expression);return e.push.apply(e,n.errors),new a.e("template",[new a.f("ngPluralCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),i=new a.f("[ngPlural]",t.switchValue,t.switchValueSourceSpan);return new a.e("ng-container",[i],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function o(t,e){var n=t.cases.map(function(t){var n=r(t.expression);return e.push.apply(e,n.errors),new a.e("template",[new a.f("ngSwitchCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),i=new a.f("[ngSwitch]",t.switchValue,t.switchValueSourceSpan);return new a.e("ng-container",[i],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}var s=n(37),a=n(61);e.a=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=["zero","one","two","few","many","other"],l=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),p=function(t){function e(e,n){t.call(this,e,n)}return u(e,t),e}(s.a),h=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new a.e(t.name,t.attrs,a.g(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?i(t,this.errors):o(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}()},function(t,e,n){"use strict";function r(t,e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=g.a),new k(new v.b(t,e),n,r,i).tokenize()}function i(t){var e=t===y.a?"EOF":String.fromCharCode(t);return'Unexpected character "'+e+'"'}function o(t){return'Unknown entity "'+t+'" - use the "&#;" or "&#x;" syntax'}function s(t){return!y.E(t)||t===y.a}function a(t){return y.E(t)||t===y.y||t===y.t||t===y.n||t===y.o||t===y.z}function u(t){return(ty._4)}function c(t){return t==y.m||t==y.a||!y._5(t)}function l(t){return t==y.m||t==y.a||!y.N(t)}function p(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==y.g&&!r}function h(t){return t===y.z||y.N(t)}function f(t,e){return d(t)==d(e)}function d(t){return t>=y.H&&t<=y.I?t-y.H+y.J:t}function m(t){for(var e,n=[],r=0;r=this._length)throw this._createError(i(y.a),this._getSpan());this._peek===y.S?(this._line++,this._column=0):this._peek!==y.S&&this._peek!==y.W&&this._column++,this._index++,this._peek=this._index>=this._length?y.a:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?y.a:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t&&(this._advance(),!0)},t.prototype._attemptCharCodeCaseInsensitive=function(t){return!!f(this._peek,t)&&(this._advance(),!0)},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(i(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;rr.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(_.COMMENT_START,t),this._requireCharCode(y.r),this._endToken([]);var n=this._consumeRawText(!1,y.r,function(){return e._attemptStr("->")});this._beginToken(_.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(_.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,y.j,function(){return e._attemptStr("]>")});this._beginToken(_.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(_.DOC_TYPE,t),this._attemptUntilChar(y.y),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t=this._index,e=null;this._peek!==y.l&&!u(this._peek);)this._advance();var n;this._peek===y.l?(this._advance(),e=this._input.substring(t,this._index-1),n=this._index):n=t,this._requireCharCodeUntilFn(a,this._index===n?1:0);var r=this._input.substring(n,this._index);return[e,r]},t.prototype._consumeTagOpen=function(t){var e,n,r=this._savePosition();try{if(!y.N(this._peek))throw this._createError(i(this._peek),this._getSpan());var o=this._index;for(this._consumeTagOpenStart(t),e=this._input.substring(o,this._index),n=e.toLowerCase(),this._attemptCharCodeUntilFn(s);this._peek!==y.t&&this._peek!==y.y;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(s),this._attemptCharCode(y.z)&&(this._attemptCharCodeUntilFn(s),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(s);this._consumeTagOpenEnd()}catch(e){if(e instanceof O)return this._restorePosition(r),this._beginToken(_.TEXT,t),void this._endToken(["<"]);throw e}var a=this._getTagDefinition(e).contentType;a===b.a.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):a===b.a.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,y.x,function(){return!!n._attemptCharCode(y.t)&&(n._attemptCharCodeUntilFn(s),!!n._attemptStrCaseInsensitive(t)&&(n._attemptCharCodeUntilFn(s),n._attemptCharCode(y.y)))});this._beginToken(_.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(_.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(_.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){this._beginToken(_.ATTR_VALUE);var t;if(this._peek===y.n||this._peek===y.o){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(a,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(y.t)?_.TAG_OPEN_END_VOID:_.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(y.y),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(_.TAG_CLOSE,t),this._attemptCharCodeUntilFn(s);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(s),this._requireCharCode(y.y),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(_.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(y.g),this._endToken([]),this._expansionCaseStack.push(_.EXPANSION_FORM_START),this._beginToken(_.RAW_TEXT,this._getLocation());var t=this._readUntil(y.k);this._endToken([t],this._getLocation()),this._requireCharCode(y.k),this._attemptCharCodeUntilFn(s),this._beginToken(_.RAW_TEXT,this._getLocation());var e=this._readUntil(y.k);this._endToken([e],this._getLocation()),this._requireCharCode(y.k),this._attemptCharCodeUntilFn(s)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(_.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(y.g).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(s),this._beginToken(_.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(y.g),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(s),this._expansionCaseStack.push(_.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(_.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(y.h),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(s),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(_.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(y.h),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(_.TEXT,t);var e=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._attemptStr(this._interpolationConfig.end)&&this._inInterpolation?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(this._peek===y.x||this._peek===y.a)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(p(this._input,this._index,this._interpolationConfig))return!0;if(this._peek===y.h&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===_.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===_.EXPANSION_FORM_START},t}()},function(t,e,n){"use strict";function r(t){return s}var i=n(69);e.a=r;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(){this.closedByParent=!1,this.contentType=i.a.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}(),s=new o},function(t,e,n){"use strict";function r(t,e,n){var r=p(t,n),i=r.ngModules,o=r.pipesAndDirectives,s=new Map;i.forEach(function(t){e.transitiveModules?t.transitiveModule.modules.forEach(function(t){s.set(t.type.reference,t)}):s.set(t.type.reference,t)});var a=m.b.values(s),u=new Map,c=new Map,l=new Map,h=new Set;a.forEach(function(t){var e=t.type.reference.filePath;h.add(e),c.set(e,(c.get(e)||[]).concat(t.type.reference)),t.declaredDirectives.forEach(function(e){var n=e.type.reference.filePath;h.add(n),l.set(n,(l.get(n)||[]).concat(e.type.reference)),u.set(e.type.reference,t)}),t.declaredPipes.forEach(function(e){var n=e.type.reference.filePath;h.add(n),u.set(e.type.reference,t)})});var f=o.filter(function(t){return!u.has(t)});if(f.length){var d=f.map(function(t){return"Cannot determine the module for class "+t.name+" in "+t.filePath+"!"});throw new Error(d.join("\n"))}var y=[];return h.forEach(function(t){var e=l.get(t)||[],n=c.get(t)||[];y.push({srcUrl:t,directives:e,ngModules:n})}),{ngModuleByPipeOrDirective:u,files:y}}function i(t){return t.dependencies.forEach(function(t){if(t instanceof g.a){var e=t;e.placeholder.moduleUrl=s(e.comp.moduleUrl)}else if(t instanceof g.b){var n=t;n.placeholder.name=a(n.comp),n.placeholder.moduleUrl=s(n.comp.moduleUrl)}else if(t instanceof g.c){var r=t;r.placeholder.moduleUrl=s(r.dir.moduleUrl)}}),t.statements}function o(t,e){return t.dependencies.forEach(function(t){t.valuePlaceholder.moduleUrl=u(t.moduleUrl,t.isShimmed,e)}),t.statements}function s(t){var e=l(t);return e[0]+".ngfactory"+e[1]}function a(t){return t.name+"NgFactory"}function u(t,e,n){return e?t+".shim"+n:""+t+n}function c(t){if(!t.isComponent)throw new Error("Could not compile '"+t.type.name+"' because it is not a component.")}function l(t){if(t.endsWith(".d.ts"))return[t.slice(0,-5),".ts"];var e=t.lastIndexOf(".");return e!==-1?[t.substring(0,e),t.substring(e)]:[t,""]}function p(t,e){var n=[],r=[];return t.forEach(function(t){var i=e.getNgModuleMetadata(t,!1),o=e.getDirectiveMetadata(t,!1),s=e.getPipeMetadata(t,!1);i?n.push(i):o?r.push(t):s&&r.push(t)}),{ngModules:n,pipesAndDirectives:r}}var h=n(267),f=n(268),d=n(24),m=n(36),y=n(15),v=n(10),g=n(120),b=function(){function t(t,e,n){this.fileUrl=t,this.moduleUrl=e,this.source=n}return t}();(function(){function t(t,e,n,r,i,o,s,a,u,c){this._metadataResolver=t,this._directiveNormalizer=e,this._templateParser=n,this._styleCompiler=r,this._viewCompiler=i,this._dirWrapperCompiler=o,this._ngModuleCompiler=s,this._outputEmitter=a,this._localeId=u,this._translationFormat=c,this._animationParser=new f.a,this._animationCompiler=new h.a}return t.prototype.clearCache=function(){this._directiveNormalizer.clearCache(),this._metadataResolver.clearCache()},t.prototype.compileModules=function(t,e){var n=this,i=r(t,e,this._metadataResolver),o=i.ngModuleByPipeOrDirective,s=i.files,a=s.map(function(t){return n._compileSrcFile(t.srcUrl,o,t.directives,t.ngModules)});return Promise.all(a).then(function(t){return m.a.flatten(t)})},t.prototype._compileSrcFile=function(t,e,n,r){var i=this,o=l(t)[1],a=[],u=[],p=[];return u.push.apply(u,r.map(function(t){return i._compileModule(t,a)})),u.push.apply(u,n.map(function(t){return i._compileDirectiveWrapper(t,a)})),Promise.all(n.map(function(n){var r=i._metadataResolver.getDirectiveMetadata(n);if(!r.isComponent)return Promise.resolve(null);var s=e.get(n);if(!s)throw new Error("Internal Error: cannot determine the module for component "+r.type.name+"!");return Promise.all([r].concat(s.transitiveModule.directives).map(function(t){return i._directiveNormalizer.normalizeDirective(t).asyncResult})).then(function(e){var n=e[0],r=e.slice(1);c(n);var l=i._styleCompiler.compileComponent(n);l.externalStylesheets.forEach(function(e){p.push(i._codgenStyles(t,e,o))}),u.push(i._compileComponentFactory(n,o,a),i._compileComponent(n,r,s.transitiveModule.pipes,s.schemas,l.componentStylesheet,o,a))})})).then(function(){if(a.length>0){var e=i._codegenSourceModule(t,s(t),a,u);p.unshift(e)}return p})},t.prototype._compileModule=function(t,e){var r=this._metadataResolver.getNgModuleMetadata(t),i=[];this._localeId&&i.push(new d.d({token:n.i(y.a)(y.b.LOCALE_ID),useValue:this._localeId})),this._translationFormat&&i.push(new d.d({token:n.i(y.a)(y.b.TRANSLATIONS_FORMAT),useValue:this._translationFormat}));var o=this._ngModuleCompiler.compile(r,i);return o.dependencies.forEach(function(t){t.placeholder.name=a(t.comp),t.placeholder.moduleUrl=s(t.comp.moduleUrl)}),e.push.apply(e,o.statements),o.ngModuleFactoryVar},t.prototype._compileDirectiveWrapper=function(t,e){var n=this._metadataResolver.getDirectiveMetadata(t),r=this._dirWrapperCompiler.compile(n);return e.push.apply(e,r.statements),r.dirWrapperClassVar},t.prototype._compileComponentFactory=function(t,e,r){var i=n.i(d.n)(t),o=this._compileComponent(i,[t],[],[],null,e,r),s=a(t.type);return r.push(v.a(s).set(v.d(n.i(y.d)(y.b.ComponentFactory),[v.k(t.type)]).instantiate([v.c(t.selector),v.a(o),v.d(t.type)],v.k(n.i(y.d)(y.b.ComponentFactory),[v.k(t.type)],[v.m.Const]))).toDeclStmt(null,[v.p.Final])),s},t.prototype._compileComponent=function(t,e,n,r,s,a,u){var c=this._animationParser.parseComponent(t),l=this._templateParser.parse(t,t.template.template,e,n,r,t.type.name),p=s?v.a(s.stylesVar):v.e([]),h=this._animationCompiler.compile(t.type.name,c),f=this._viewCompiler.compileComponent(t,l,p,n,h);return s&&u.push.apply(u,o(s,a)),h.forEach(function(t){t.statements.forEach(function(t){u.push(t)})}),u.push.apply(u,i(f)),f.viewFactoryVar},t.prototype._codgenStyles=function(t,e,n){return o(e,n),this._codegenSourceModule(t,u(e.meta.moduleUrl,e.isShimmed,n),e.statements,[e.stylesVar])},t.prototype._codegenSourceModule=function(t,e,n,r){return new b(t,e,this._outputEmitter.emitStatements(e,n,r))},t})()},function(t,e,n){"use strict";var r=n(4),i=n(178),o=n(10);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){t.call(this,!1)}return s(e,t),e.prototype.visitDeclareClassStmt=function(t,e){var i=this;return e.pushClass(t),this._visitClassConstructor(t,e),n.i(r.a)(t.parent)&&(e.print(t.name+".prototype = Object.create("),t.parent.visitExpression(this,e),e.println(".prototype);")),t.getters.forEach(function(n){return i._visitClassGetter(t,n,e)}),t.methods.forEach(function(n){return i._visitClassMethod(t,n,e)}),e.popClass(),null},e.prototype._visitClassConstructor=function(t,e){e.print("function "+t.name+"("),n.i(r.a)(t.constructorMethod)&&this._visitParams(t.constructorMethod.params,e),e.println(") {"),e.incIndent(),n.i(r.a)(t.constructorMethod)&&t.constructorMethod.body.length>0&&(e.println("var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println("}")},e.prototype._visitClassGetter=function(t,e,n){n.println("Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println("var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println("}});")},e.prototype._visitClassMethod=function(t,e,n){n.print(t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(") {"),n.incIndent(),e.body.length>0&&(n.println("var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println("};")},e.prototype.visitReadVarExpr=function(e,n){if(e.builtin===o.F.This)n.print("self");else{if(e.builtin===o.F.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");t.prototype.visitReadVarExpr.call(this,e,n)}return null},e.prototype.visitDeclareVarStmt=function(t,e){return e.print("var "+t.name+" = "),t.value.visitExpression(this,e),e.println(";"),null},e.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitInvokeFunctionExpr=function(e,n){var r=e.fn;return r instanceof o.v&&r.builtin===o.F.Super?(n.currentClass.parent.visitExpression(this,n),n.print(".call(this"),e.args.length>0&&(n.print(", "),this.visitAllExpressions(e.args,n,",")),n.print(")")):t.prototype.visitInvokeFunctionExpr.call(this,e,n),null},e.prototype.visitFunctionExpr=function(t,e){return e.print("function("),this._visitParams(t.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print("}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.print("function "+t.name+"("),this._visitParams(t.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println("}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println("try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println("} catch ("+i.b.name+") {"),e.incIndent();var n=[i.c.set(i.b.prop("stack")).toDeclStmt(null,[o.p.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println("}"),null},e.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(t.name)},t,e,",")},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case o.H.ConcatArray:e="concat";break;case o.H.SubscribeObservable:e="subscribe";break;case o.H.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e}(i.d)},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e){var r=t.concat([new u.i(u.a(e))]),i=new l(null,null,null,new Map),o=new h,s=o.visitAllStatements(r,i);return n.i(a.a)(s)?s.value:null}function i(t,e,r,i,o){for(var s=i.createChildWihtLocalVars(),u=0;ui();case u.s.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e);return n=r[t.name]},t.prototype.visitReadKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e);return n[r]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t[0]]=t[1].visitExpression(n,e)}),r},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n0?o.push(a):(o.length>0&&(r.push(o.join("")),n.push(A),o=[]),n.push(a)),a==P&&i++}return o.length>0&&(r.push(o.join("")),n.push(A)),new M(n.join(""),r)}n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var o=i(t);return t=r(t),t=this._insertDirectives(t),this._scopeCssText(t,e,n)+o},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(u,function(){for(var t=[],e=0;e-1?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(p,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return g.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,e,n){var r=this;return o(t,function(t){var i=t.selector,o=t.content;return"@"!=t.selector[0]?i=r._scopeSelector(t.selector,e,n,r.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(o=r._scopeSelectors(t.content,e,n)),new I(i,o)})},t.prototype._scopeSelector=function(t,e,n,r){var i=this;return t.split(",").map(function(t){return t.trim().split(b)}).map(function(t){var o=t[0],s=t.slice(1),a=function(t){return i._selectorNeedsScoping(t,e)?r?i._applyStrictSelectorScope(t,e,n):i._applySelectorScope(t,e,n):t};return[a(o)].concat(s).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){var n=this._makeScopeMatcher(e);return!n.test(t)},t.prototype._makeScopeMatcher=function(t){var e=/\[/g,n=/\]/g;return t=t.replace(e,"\\[").replace(n,"\\]"),new RegExp("^("+t+")"+_,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(w.lastIndex=0,w.test(t)){var r=this.strictStyling?"["+n+"]":e;return t.replace(v,function(t,e){return":"===e[0]?r+e:e+r}).replace(w,r+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,e,n){var r=this,i=/\[is=([^\]]*)\]/g;e=e.replace(i,function(t){for(var e=[],n=1;n-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(w,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);null!==a&&(i=a[1]+o+a[2]+a[3])}}return i},a=0,u=[];t=t.replace(/\[[^\]]*\]/g,function(t){var e="__attr_sel_"+a+"__";return u.push(t),a++,e});for(var c,l="",p=0,h=/( |>|\+|~(?!=))\s*/g,f=t.indexOf(y);null!==(c=h.exec(t));){var d=c[1],m=t.slice(p,c.index).trim(),v=p>=f?s(m):m;l+=v+" "+d+" ",p=h.lastIndex}return l+=s(t.substring(p)),l.replace(/__attr_sel_(\d+)__/g,function(t,e){return u[+e]})},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(E,h).replace(x,p)},t}(),u=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,c=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,l=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,p="-shadowcsshost",h="-shadowcsscontext",f=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",d=new RegExp("("+p+f,"gim"),m=new RegExp("("+h+f,"gim"),y=p+"-no-combinator",v=/-shadowcsshost-no-combinator([^\s]*)/,g=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],b=/(?:>>>)|(?:\/deep\/)/g,_="([>\\s~+[.,{:][\\s\\S]*)?$",w=/-shadowcsshost/gim,x=/:host/gim,E=/:host-context/gim,S=/\/\*\s*[\s\S]*?\*\//g,C=/\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//,O=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,k=/([{}])/g,P="{",T="}",A="%BLOCK%",I=function(){function t(t,e){this.selector=t,this.content=e}return t}(),M=function(){function t(t,e){this.escapedString=t,this.blocks=e}return t}()},function(t,e,n){"use strict";function r(t,e){for(var n=null,r=t.pipeMetas.length-1;r>=0;r--){var i=t.pipeMetas[r];if(i.name==e){n=i;break}}if(!n)throw new Error("Illegal state: Could not find pipe "+e+" although the parser should have detected this error!");return n}var i=n(48),o=n(15),s=n(10),a=n(93);n.d(e,"a",function(){return u});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var u=function(){function t(t,e){var r=this;this.view=t,this.meta=e,this._purePipeProxyCount=0,this.instance=s.o.prop("_pipe_"+e.name+"_"+t.pipeCount++);var i=this.meta.type.diDeps.map(function(t){return t.token.reference===n.i(o.a)(o.b.ChangeDetectorRef).reference?n.i(a.a)(s.o.prop("ref"),r.view,r.view.componentView):n.i(a.b)(t.token,!1)});this.view.fields.push(new s.n(this.instance.name,s.k(this.meta.type))),this.view.createMethod.resetDebugInfo(null,null),this.view.createMethod.addStmt(s.o.prop(this.instance.name).set(s.d(this.meta.type).instantiate(i)).toStmt())}return t.call=function(e,n,i){var o,s=e.componentView,a=r(s,n);return a.pure?(o=s.purePipes.get(n),o||(o=new t(s,a),s.purePipes.set(n,o),s.pipes.push(o))):(o=new t(e,a),e.pipes.push(o)),o._call(e,i)},Object.defineProperty(t.prototype,"pure",{get:function(){return this.meta.pure},enumerable:!0,configurable:!0}),t.prototype._call=function(t,e){if(this.meta.pure){var r=s.o.prop(this.instance.name+"_"+this._purePipeProxyCount++),u=n.i(a.a)(this.instance,t,this.view);return n.i(i.a)(u.prop("transform").callMethod(s.H.Bind,[u]),e.length,r,{fields:t.fields,ctorStmts:t.createMethod}),s.d(n.i(o.d)(o.b.castByValue)).callFn([r,u.prop("transform")]).callFn(e)}return n.i(a.a)(this.instance,t,this.view).callMethod("transform",e)},t}()},function(t,e,n){"use strict";function r(t,e,r){var i=[];return t.forEach(function(t){var e=f.getOrCreate(r,t.target,t.name,t.phase,i);e.addAction(t,null,null)}),e.forEach(function(t){var e=r.instances.get(n.i(c.c)(t.directive.type).reference);t.hostEvents.forEach(function(n){var o=f.getOrCreate(r,n.target,n.name,n.phase,i);o.addAction(n,t.directive,e)})}),i.forEach(function(t){return t.finishMethod()}),i}function i(t,e,n){Object.keys(t.directive.outputs).forEach(function(r){var i=t.directive.outputs[r];n.filter(function(t){return t.eventName==i}).forEach(function(t){t.listenToDirective(e,r)})})}function o(t){t.forEach(function(t){t.isAnimation||t.listenToRenderer()})}function s(t){return t.replace(/[^a-zA-Z_]/g,"_")}var a=n(89),u=n(4),c=n(15),l=n(10),p=n(183),h=n(92);e.a=r,e.c=i,e.b=o;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var f=function(){function t(t,e,n,r,i){this.compileElement=t,this.eventTarget=e,this.eventName=n,this.eventPhase=r,this._hasComponentHostListener=!1,this._actionResultExprs=[],this._method=new p.a(t.view),this._methodName="_handle_"+s(n)+"_"+t.nodeIndex+"_"+i,this._eventParam=new l.j(a.b.event.name,l.k(this.compileElement.view.genConfig.renderTypes.renderEvent))}return t.getOrCreate=function(e,n,r,i,o){var s=o.find(function(t){return t.eventTarget==n&&t.eventName==r&&t.eventPhase==i});return s||(s=new t(e,n,r,i,o.length),o.push(s)),s},Object.defineProperty(t.prototype,"methodName",{get:function(){return this._methodName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return!!this.eventPhase},enumerable:!0,configurable:!0}),t.prototype.addAction=function(t,e,r){n.i(u.a)(e)&&e.isComponent&&(this._hasComponentHostListener=!0),this._method.resetDebugInfo(this.compileElement.nodeIndex,t);var i=r||this.compileElement.view.componentContext,o=this.compileElement.view,s=n.i(a.c)(o,e?null:o,i,t.handler,this.compileElement.nodeIndex+"_"+this._actionResultExprs.length);s.preventDefault&&this._actionResultExprs.push(s.preventDefault),this._method.addStmts(s.stmts)},t.prototype.finishMethod=function(){var t=this._hasComponentHostListener?this.compileElement.appElement.prop("componentView"):l.o,e=l.c(!0);this._actionResultExprs.forEach(function(t){e=e.and(t)});var n=[t.callMethod("markPathToRootAsCheckOnce",[]).toStmt()].concat(this._method.finish()).concat([new l.i(e)]);this.compileElement.view.methods.push(new l.A(this._methodName,[this._eventParam],n,l.C,[l.p.Private]))},t.prototype.listenToRenderer=function(){var t,e=l.o.callMethod("eventHandler",[l.o.prop(this._methodName).callMethod(l.H.Bind,[l.o])]);t=n.i(u.a)(this.eventTarget)?h.b.renderer.callMethod("listenGlobal",[l.c(this.eventTarget),l.c(this.eventName),e]):h.b.renderer.callMethod("listen",[this.compileElement.renderNode,l.c(this.eventName),e]);var r=l.a("disposable_"+this.compileElement.view.disposables.length);this.compileElement.view.disposables.push(r),this.compileElement.view.createMethod.addStmt(r.set(t).toDeclStmt(l.K,[l.p.Private]))},t.prototype.listenToAnimation=function(t){var e="start"==this.eventPhase?"onStart":"onDone";return t.callMethod(e,[l.o.prop(this.methodName).callMethod(l.H.Bind,[l.o])]).toStmt()},t.prototype.listenToDirective=function(t,e){var n=l.a("subscription_"+this.compileElement.view.subscriptions.length);this.compileElement.view.subscriptions.push(n);var r=l.o.callMethod("eventHandler",[l.o.prop(this._methodName).callMethod(l.H.Bind,[l.o])]);this.compileElement.view.createMethod.addStmt(n.set(t.prop(e).callMethod(l.H.SubscribeObservable,[r])).toDeclStmt(null,[l.p.Final]))},t}()},function(t,e,n){"use strict";function r(t,e,n){var r=n.view,i=t.type.lifecycleHooks,o=r.afterContentLifecycleCallbacksMethod;o.resetDebugInfo(n.nodeIndex,n.sourceAst),i.indexOf(u.G.AfterContentInit)!==-1&&o.addStmt(new a.g(l,[e.callMethod("ngAfterContentInit",[]).toStmt()])),i.indexOf(u.G.AfterContentChecked)!==-1&&o.addStmt(e.callMethod("ngAfterContentChecked",[]).toStmt())}function i(t,e,n){var r=n.view,i=t.type.lifecycleHooks,o=r.afterViewLifecycleCallbacksMethod;o.resetDebugInfo(n.nodeIndex,n.sourceAst),i.indexOf(u.G.AfterViewInit)!==-1&&o.addStmt(new a.g(l,[e.callMethod("ngAfterViewInit",[]).toStmt()])),i.indexOf(u.G.AfterViewChecked)!==-1&&o.addStmt(e.callMethod("ngAfterViewChecked",[]).toStmt())}function o(t,e,n){var r=n.view.destroyMethod;r.resetDebugInfo(n.nodeIndex,n.sourceAst),t.lifecycleHooks.indexOf(u.G.OnDestroy)!==-1&&r.addStmt(e.callMethod("ngOnDestroy",[]).toStmt())}function s(t,e,n){var r=n.destroyMethod;t.type.lifecycleHooks.indexOf(u.G.OnDestroy)!==-1&&r.addStmt(e.callMethod("ngOnDestroy",[]).toStmt())}var a=n(10),u=n(18),c=n(92);e.b=r,e.c=i,e.d=o,e.a=s;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var l=a.o.prop("numberOfChecks").identical(new a.D(0));a.u(c.c.throwOnChange)},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e,r){var i=n.i(u.a)(r),o=n.i(c.a)(r,r,r.componentContext,t.value,i.bindingId);return o?(r.detectChangesRenderPropertiesMethod.resetDebugInfo(e.nodeIndex,t),void r.detectChangesRenderPropertiesMethod.addStmts(n.i(u.b)(o,i.expression,y.c.throwOnChange,[f.o.prop("renderer").callMethod("setText",[e.renderNode,o.currValExpr]).toStmt()]))):null}function i(t,e,r,i,o){var s=r.view,a=r.renderNode;t.forEach(function(t){var l=n.i(u.a)(s);s.detectChangesRenderPropertiesMethod.resetDebugInfo(r.nodeIndex,t);var v=n.i(c.a)(s,i?null:s,e,t.value,l.bindingId),g=[],b=s.detectChangesRenderPropertiesMethod;switch(t.type){case m.e.Property:case m.e.Attribute:case m.e.Class:case m.e.Style:g.push.apply(g,n.i(p.a)(f.o,t,a,v.currValExpr,s.genConfig.logBindingUpdate));break;case m.e.Animation:b=s.animationBindingsMethod;var _=[],w=t.name,x=i?r.appElement.prop("componentView"):f.o,E=x.prop("componentType").prop("animations").key(f.c(w)),S=f.c(d.E),C=f.d(n.i(h.d)(h.b.UNINITIALIZED)),O=f.a("animationTransition_"+w);g.push(O.set(E.callFn([f.o,a,l.expression.equals(C).conditional(S,l.expression),v.currValExpr.equals(C).conditional(S,v.currValExpr)])).toDeclStmt()),_.push(O.set(E.callFn([f.o,a,l.expression,S])).toDeclStmt()),o.forEach(function(t){if(t.isAnimation&&t.eventName===w){var e=t.listenToAnimation(O);g.push(e),_.push(e)}}),s.detachMethod.addStmts(_)}b.addStmts(n.i(u.b)(v,l.expression,y.c.throwOnChange,g))})}function o(t,e,n){i(t,e.view.componentContext,e,!1,n)}function s(t,e,r,o,s,a){i(t.hostProperties.filter(function(t){return t.isAnimation}),e.prop("context"),r,!0,o);var u=[f.o,r.renderNode,y.c.throwOnChange];t.hostProperties.filter(function(t){return t.needsRuntimeSecurityContext}).forEach(function(t){var e;switch(t.type){case m.e.Property:e=a.securityContext(s,t.name,!1);break;case m.e.Attribute:e=a.securityContext(s,t.name,!0);break;default:throw new Error("Illegal state: Only property / attribute bindings can have an unknown security context! Binding "+t.name)}u.push(n.i(l.b)(h.b.SecurityContext,e))}),r.view.detectChangesRenderPropertiesMethod.addStmt(e.callMethod("detectChangesInHostProps",u).toStmt())}function a(t,e,r,i){var o=i.view,s=o.detectChangesInInputsMethod;s.resetDebugInfo(i.nodeIndex,i.sourceAst),t.inputs.forEach(function(t,a){var u=i.nodeIndex+"_"+r+"_"+a;s.resetDebugInfo(i.nodeIndex,t);var l=n.i(c.a)(o,o,o.componentContext,t.value,u);l&&(s.addStmts(l.stmts),s.addStmt(e.callMethod("check_"+t.directiveName,[l.currValExpr,y.c.throwOnChange,l.forceUpdate||f.c(!1)]).toStmt()))});var a=t.directive.isComponent&&!n.i(d.H)(t.directive.changeDetection),u=e.callMethod("detectChangesInInputProps",[f.o,i.renderNode,y.c.throwOnChange]),l=a?new f.g(u,[i.appElement.prop("componentView").callMethod("markAsCheckOnce",[]).toStmt()]):u.toStmt();s.addStmt(l)}var u=n(270),c=n(89),l=n(48),p=n(271),h=n(15),f=n(10),d=n(18),m=n(49),y=n(92);e.a=r,e.b=o,e.d=s,e.c=a},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e,r){var o=new u(t,r);n.i(i.g)(o,e),t.pipes.forEach(function(t){n.i(s.a)(t.meta,t.instance,t.view)})}var i=n(49),o=n(516),s=n(517),a=n(518);e.a=r;var u=function(){function t(t,e){this.view=t,this._schemaRegistry=e,this._nodeIndex=0}return t.prototype.visitBoundText=function(t,e){var r=this.view.nodes[this._nodeIndex++];return n.i(a.a)(t,r,this.view),null},t.prototype.visitText=function(t,e){return this._nodeIndex++,null},t.prototype.visitNgContent=function(t,e){return null},t.prototype.visitElement=function(t,e){var r=this,u=this.view.nodes[this._nodeIndex++],c=[];return n.i(o.a)(t.outputs,t.directives,u).forEach(function(t){c.push(t)}),n.i(a.b)(t.inputs,u,c),n.i(o.b)(c),t.directives.forEach(function(e,i){var s=u.instances.get(e.directive.type.reference),l=u.directiveWrapperInstance.get(e.directive.type.reference);n.i(a.c)(e,l,i,u),n.i(a.d)(e,l,u,c,t.name,r._schemaRegistry),n.i(o.c)(e,s,c)}),n.i(i.g)(this,t.children,u),t.directives.forEach(function(t){var e=u.instances.get(t.directive.type.reference);n.i(s.b)(t.directive,e,u),n.i(s.c)(t.directive,e,u)}),t.providers.forEach(function(t){var e=u.instances.get(t.token.reference);n.i(s.d)(t,e,u)}),null},t.prototype.visitEmbeddedTemplate=function(t,e){var i=this.view.nodes[this._nodeIndex++],u=n.i(o.a)(t.outputs,t.directives,i);return t.directives.forEach(function(t,e){var r=i.instances.get(t.directive.type.reference),c=i.directiveWrapperInstance.get(t.directive.type.reference);n.i(a.c)(t,c,e,i),n.i(o.c)(t,r,u),n.i(s.b)(t.directive,r,i),n.i(s.c)(t.directive,r,i)}),t.providers.forEach(function(t){var e=i.instances.get(t.token.reference);n.i(s.d)(t,e,i)}),r(i.embeddedView,t.children,this._schemaRegistry),null},t.prototype.visitAttr=function(t,e){return null},t.prototype.visitDirective=function(t,e){return null},t.prototype.visitEvent=function(t,e){return null},t.prototype.visitReference=function(t,e){return null},t.prototype.visitVariable=function(t,e){return null},t.prototype.visitDirectiveProperty=function(t,e){return null},t.prototype.visitElementProperty=function(t,e){return null},t}()},function(t,e,n){"use strict";function r(t,e,r){var i=new U(t,r);return n.i(T.g)(i,e,t.declarationElement.isNull()?t.declarationElement:t.declarationElement.parent),i.nestedViewCount}function i(t,e){t.afterNodes(),p(t,e),t.nodes.forEach(function(t){t instanceof A.a&&t.hasEmbeddedView&&i(t.embeddedView,e)})}function o(t){for(var e=t.view;a(t.parent,e);)t=t.parent;return t}function s(t){for(var e=t.view;a(t,e);)t=t.parent;return t}function a(t,e){return!t.isNull()&&t.sourceAst.name===V&&t.view===e}function u(t,e){var r={};Object.keys(t).forEach(function(e){r[e]=t[e]}),e.forEach(function(t){Object.keys(t.hostAttributes).forEach(function(e){var i=t.hostAttributes[e],o=r[e];r[e]=n.i(S.a)(o)?l(e,o,i):i})});var i=[];return Object.keys(r).sort().forEach(function(t){i.push(t,r[t])}),i}function c(t){var e={};return t.forEach(function(t){e[t.name]=t.value}),e}function l(t,e,n){return t==D||t==F?e+" "+n:n}function p(t,e){var r=k.f;t.genConfig.genDebugInfo&&(r=k.a("nodeDebugInfos_"+t.component.type.name+t.viewIndex),e.push(r.set(k.e(t.nodes.map(h),new k.w(new k.L(n.i(C.d)(C.b.StaticNodeDebugInfo)),[k.m.Const]))).toDeclStmt(null,[k.p.Final])));var i=k.a("renderType_"+t.component.type.name);0===t.viewIndex&&e.push(i.set(k.f).toDeclStmt(k.k(n.i(C.d)(C.b.RenderComponentType))));var o=f(t,i,r);e.push(o),e.push(d(t,o,i))}function h(t){var e=t instanceof A.a?t:null,r=[],i=k.f,o=[];return n.i(S.a)(e)&&(r=e.getProviderTokens(),n.i(S.a)(e.component)&&(i=n.i(E.c)(n.i(C.c)(e.component.type))),Object.keys(e.referenceTokens).forEach(function(t){var r=e.referenceTokens[t];o.push([t,n.i(S.a)(r)?n.i(E.c)(r):k.f])})),k.d(n.i(C.d)(C.b.StaticNodeDebugInfo)).instantiate([k.e(r,new k.w(k.l,[k.m.Const])),i,k.b(o,new k.x(k.l,[k.m.Const]))],k.k(n.i(C.d)(C.b.StaticNodeDebugInfo),null,[k.m.Const]))}function f(t,e,r){var i=[new k.j(M.d.viewUtils.name,k.k(n.i(C.d)(C.b.ViewUtils))),new k.j(M.d.parentInjector.name,k.k(n.i(C.d)(C.b.Injector))),new k.j(M.d.declarationEl.name,k.k(n.i(C.d)(C.b.AppElement)))],o=[k.a(t.className),e,M.e.fromValue(t.viewType),M.d.viewUtils,M.d.parentInjector,M.d.declarationEl,M.f.fromValue(b(t))];t.genConfig.genDebugInfo&&o.push(r);var s=[new k.A("createInternal",[new k.j(H.name,k.M)],m(t),k.k(n.i(C.d)(C.b.AppElement))),new k.A("injectorGetInternal",[new k.j(M.a.token.name,k.l),new k.j(M.a.requestNodeIndex.name,k.N),new k.j(M.a.notFoundResult.name,k.l)],v(t.injectorGetMethod.finish(),M.a.notFoundResult),k.l),new k.A("detectChangesInternal",[new k.j(M.c.throwOnChange.name,k.C)],y(t)),new k.A("dirtyParentQueriesInternal",[],t.dirtyParentQueriesMethod.finish()),new k.A("destroyInternal",[],t.destroyMethod.finish()),new k.A("detachInternal",[],t.detachMethod.finish())].filter(function(t){return t.body.length>0}),a=t.genConfig.genDebugInfo?C.b.DebugAppView:C.b.AppView,u=n.i(O.a)({name:t.className,parent:k.d(n.i(C.d)(a),[g(t)]),parentArgs:o,ctorParams:i,builders:[{methods:s},t]});return u}function d(t,e,r){var i,o=[new k.j(M.d.viewUtils.name,k.k(n.i(C.d)(C.b.ViewUtils))),new k.j(M.d.parentInjector.name,k.k(n.i(C.d)(C.b.Injector))),new k.j(M.d.declarationEl.name,k.k(n.i(C.d)(C.b.AppElement)))],s=[];if(i=t.component.template.templateUrl==t.component.type.moduleUrl?t.component.type.moduleUrl+" class "+t.component.type.name+" - inline template":t.component.template.templateUrl,0===t.viewIndex){var a=k.b(t.animations.map(function(t){return[t.name,t.fnExp]}));s=[new k.g(r.identical(k.f),[r.set(M.d.viewUtils.callMethod("createRenderComponentType",[t.genConfig.genDebugInfo?k.c(i):k.c(""),k.c(t.component.template.ngContentSelectors.length),M.g.fromValue(t.component.template.encapsulation),t.styles,a])).toStmt()])]}return k.h(o,s.concat([new k.i(k.a(e.name).instantiate(e.constructorMethod.params.map(function(t){return k.a(t.name)})))]),k.k(n.i(C.d)(C.b.AppView),[g(t)])).toDeclStmt(t.viewFactory.name,[k.p.Final])}function m(t){var e=k.f,r=[];t.viewType===P.j.COMPONENT&&(e=M.b.renderer.callMethod("createViewRoot",[k.o.prop("declarationAppElement").prop("nativeElement")]),r=[L.set(e).toDeclStmt(k.k(t.genConfig.renderTypes.renderNode),[k.p.Final])]);var i;return i=t.viewType===P.j.HOST?t.nodes[0].appElement:k.f,r.concat(t.createMethod.finish(),[k.o.callMethod("init",[n.i(j.d)(t.rootNodesOrAppElements),k.e(t.nodes.map(function(t){return t.renderNode})),k.e(t.disposables),k.e(t.subscriptions)]).toStmt(),new k.i(i)])}function y(t){var e=[];if(t.animationBindingsMethod.isEmpty()&&t.detectChangesInInputsMethod.isEmpty()&&t.updateContentQueriesMethod.isEmpty()&&t.afterContentLifecycleCallbacksMethod.isEmpty()&&t.detectChangesRenderPropertiesMethod.isEmpty()&&t.updateViewQueriesMethod.isEmpty()&&t.afterViewLifecycleCallbacksMethod.isEmpty())return e;e.push.apply(e,t.animationBindingsMethod.finish()),e.push.apply(e,t.detectChangesInInputsMethod.finish()),e.push(k.o.callMethod("detectContentChildrenChanges",[M.c.throwOnChange]).toStmt());var r=t.updateContentQueriesMethod.finish().concat(t.afterContentLifecycleCallbacksMethod.finish());r.length>0&&e.push(new k.g(k.u(M.c.throwOnChange),r)),e.push.apply(e,t.detectChangesRenderPropertiesMethod.finish()),e.push(k.o.callMethod("detectViewChildrenChanges",[M.c.throwOnChange]).toStmt());var i=t.updateViewQueriesMethod.finish().concat(t.afterViewLifecycleCallbacksMethod.finish());i.length>0&&e.push(new k.g(k.u(M.c.throwOnChange),i));var o=[],s=k.q(e);return s.has(M.c.changed.name)&&o.push(M.c.changed.set(k.c(!0)).toDeclStmt(k.C)),s.has(M.c.changes.name)&&o.push(M.c.changes.set(k.f).toDeclStmt(new k.x(k.k(n.i(C.d)(C.b.SimpleChange))))),o.push.apply(o,n.i(x.d)(e)),o.concat(e)}function v(t,e){return t.length>0?t.concat([new k.i(e)]):t}function g(t){return t.viewType===P.j.COMPONENT?k.k(t.component.type):k.l}function b(t){var e;return e=t.viewType===P.j.COMPONENT?n.i(P.H)(t.component.changeDetection)?P.n.CheckAlways:P.n.CheckOnce:P.n.CheckAlways}var _=n(1),w=n(24),x=n(89),E=n(48),S=n(4),C=n(15),O=n(179),k=n(10),P=n(18),T=n(49),A=n(291),I=n(293),M=n(92),R=n(184),j=n(93);e.a=r,e.b=i;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var N="$implicit",D="class",F="style",V="ng-container",L=k.a("parentRenderNode"),H=k.a("rootSelector"),U=function(){function t(t,e){this.view=t,this.targetDependencies=e,this.nestedViewCount=0}return t.prototype._isRootNode=function(t){return t.view!==this.view},t.prototype._addRootNodeAndProject=function(t){var e=o(t),r=e.parent,i=e.sourceAst.ngContentIndex,s=t instanceof A.a&&t.hasViewContainer?t.appElement:null;this._isRootNode(r)?this.view.viewType!==P.j.COMPONENT&&this.view.rootNodesOrAppElements.push(s||t.renderNode):n.i(S.a)(r.component)&&n.i(S.a)(i)&&r.addContentNode(i,s||t.renderNode)},t.prototype._getParentRenderNode=function(t){return t=s(t),this._isRootNode(t)?this.view.viewType===P.j.COMPONENT?L:k.f:n.i(S.a)(t.component)&&t.component.template.encapsulation!==_.ViewEncapsulation.Native?k.f:t.renderNode},t.prototype.visitBoundText=function(t,e){return this._visitText(t,"",e)},t.prototype.visitText=function(t,e){return this._visitText(t,t.value,e)},t.prototype._visitText=function(t,e,n){var r="_text_"+this.view.nodes.length;this.view.fields.push(new k.n(r,k.k(this.view.genConfig.renderTypes.renderText)));var i=k.o.prop(r),o=new A.b(n,this.view,this.view.nodes.length,i,t),s=k.o.prop(r).set(M.b.renderer.callMethod("createText",[this._getParentRenderNode(n),k.c(e),this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length,t)])).toStmt();return this.view.nodes.push(o),this.view.createMethod.addStmt(s),this._addRootNodeAndProject(o),i},t.prototype.visitNgContent=function(t,e){this.view.createMethod.resetDebugInfo(null,t);var r=this._getParentRenderNode(e),i=M.b.projectableNodes.key(k.c(t.index),new k.w(k.k(this.view.genConfig.renderTypes.renderNode)));return r!==k.f?this.view.createMethod.addStmt(M.b.renderer.callMethod("projectNodes",[r,k.d(n.i(C.d)(C.b.flattenNestedViewRenderNodes)).callFn([i])]).toStmt()):this._isRootNode(e)?this.view.viewType!==P.j.COMPONENT&&this.view.rootNodesOrAppElements.push(i):n.i(S.a)(e.component)&&n.i(S.a)(t.ngContentIndex)&&e.addContentNode(t.ngContentIndex,i),null},t.prototype.visitElement=function(t,e){var r,i=this.view.nodes.length,o=this.view.createMethod.resetDebugInfoExpr(i,t),s=t.directives.map(function(t){return t.directive}),a=s.find(function(t){return t.isComponent});if(t.name===V)r=M.b.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(e),o]);else{var l=c(t.attrs),p=n.i(E.d)(u(l,s).map(function(t){return k.c(t)}));r=0===i&&this.view.viewType===P.j.HOST?k.d(n.i(C.d)(C.b.selectOrCreateRenderHostElement)).callFn([M.b.renderer,k.c(t.name),p,H,o]):k.d(n.i(C.d)(C.b.createRenderElement)).callFn([M.b.renderer,this._getParentRenderNode(e),k.c(t.name),p,o])}var h="_el_"+i;this.view.fields.push(new k.n(h,k.k(this.view.genConfig.renderTypes.renderElement))),this.view.createMethod.addStmt(k.o.prop(h).set(r).toStmt());var f=k.o.prop(h),d=new A.a(e,this.view,i,f,t,a,s,t.providers,t.hasViewContainer,!1,t.references,this.targetDependencies);this.view.nodes.push(d);var m=null;if(n.i(S.a)(a)){var y=new w.a({name:n.i(j.c)(a,0)});this.targetDependencies.push(new R.c(a.type,y)),m=k.a("compView_"+i),d.setComponentView(m),this.view.createMethod.addStmt(m.set(k.d(y).callFn([M.b.viewUtils,d.injector,d.appElement])).toDeclStmt())}if(d.beforeChildren(),this._addRootNodeAndProject(d),n.i(T.g)(this,t.children,d),d.afterChildren(this.view.nodes.length-i-1),n.i(S.a)(m)){var v;v=this.view.component.type.isHost?M.b.projectableNodes:k.e(d.contentNodesByNgContentIndex.map(function(t){return n.i(j.d)(t)})),this.view.createMethod.addStmt(m.callMethod("create",[d.getComponent(),v,k.f]).toStmt())}return null},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this.view.nodes.length,i="_anchor_"+n;this.view.fields.push(new k.n(i,k.k(this.view.genConfig.renderTypes.renderComment))),this.view.createMethod.addStmt(k.o.prop(i).set(M.b.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(e),this.view.createMethod.resetDebugInfoExpr(n,t)])).toStmt());var o=k.o.prop(i),s=t.variables.map(function(t){return[t.value.length>0?t.value:N,t.name]}),a=t.directives.map(function(t){return t.directive}),u=new A.a(e,this.view,n,o,t,null,a,t.providers,t.hasViewContainer,!0,t.references,this.targetDependencies);this.view.nodes.push(u),this.nestedViewCount++;var c=new I.a(this.view.component,this.view.genConfig,this.view.pipeMetas,k.f,this.view.animations,this.view.viewIndex+this.nestedViewCount,u,s);return this.nestedViewCount+=r(c,t.children,this.targetDependencies),u.beforeChildren(),this._addRootNodeAndProject(u),u.afterChildren(0),null},t.prototype.visitAttr=function(t,e){return null},t.prototype.visitDirective=function(t,e){return null},t.prototype.visitEvent=function(t,e){return null},t.prototype.visitReference=function(t,e){return null},t.prototype.visitVariable=function(t,e){return null},t.prototype.visitDirectiveProperty=function(t,e){return null},t.prototype.visitElementProperty=function(t,e){return null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(t,e){this.offset=t,this.styles=e}return t}()},function(t,e,n){"use strict";var r=n(7),i=n(185);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(t){var e=this;this._players=t,this._currentIndex=0,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this.parentPlayer=null,this._players.forEach(function(t){t.parentPlayer=e}),this._onNext(!1)}return t.prototype._onNext=function(t){var e=this;if(!this._finished)if(0==this._players.length)this._activePlayer=new i.a,n.i(r.l)(function(){return e._onFinish()});else if(this._currentIndex>=this._players.length)this._activePlayer=new i.a,this._onFinish();else{var o=this._players[this._currentIndex++];o.onDone(function(){return e._onNext(!0)}),this._activePlayer=o,t&&o.play()}},t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(r.d)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){n.i(r.d)(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._activePlayer.play()},t.prototype.pause=function(){this._activePlayer.pause()},t.prototype.restart=function(){this._players.length>0&&(this.reset(),this._players[0].restart())},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},t.prototype.setPosition=function(t){this._players[0].setPosition(t)},t.prototype.getPosition=function(){return this._players[0].getPosition()},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t,e,r){void 0===r&&(r=null);var i={};return Object.keys(e).forEach(function(t){var n=e[t];i[t]=n==h.a?r:n.toString()}),Object.keys(t).forEach(function(t){n.i(l.d)(i[t])||(i[t]=r)}),i}function i(t,e,r){var i=r.length-1,o=r[0],s=u(o.styles.styles),a={},p=!1;Object.keys(t).forEach(function(e){var n=t[e];s[e]||(s[e]=n,a[e]=n,p=!0)});var f=c.f.merge({},s),d=r[i];d.styles.styles.unshift(e);var m=u(d.styles.styles),y={},v=!1;return Object.keys(f).forEach(function(t){n.i(l.d)(m[t])||(y[t]=h.a,v=!0)}),v&&d.styles.styles.push(y),Object.keys(m).forEach(function(t){n.i(l.d)(s[t])||(a[t]=h.a,p=!0)}),p&&o.styles.styles.push(a),r}function o(t){var e={};return Object.keys(t).forEach(function(t){e[t]=null}),e}function s(t,e){return e.map(function(e){var r={};return Object.keys(e).forEach(function(i){var o=e[i];o==p.a&&(o=t[i],n.i(l.d)(o)||(o=h.a)),t[i]=o,r[i]=o}),r})}function a(t,e,n){Object.keys(n).forEach(function(r){e.setElementStyle(t,r,n[r])})}function u(t){var e={};return t.forEach(function(t){Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}var c=n(50),l=n(7),p=n(294),h=n(298);e.a=r,e.b=i,e.d=o,e.f=s,e.e=a,e.c=u},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(t){this.styles=t}return t}()},function(t,e,n){"use strict";var r=n(297);n.d(e,"a",function(){return i});var i=function(){function t(t,e,n,r){this._player=t,this._fromState=e,this._toState=n,this._totalTime=r}return t.prototype._createEvent=function(t){return new r.a({fromState:this._fromState,toState:this._toState,totalTime:this._totalTime,phaseName:t})},t.prototype.onStart=function(t){var e=this._createEvent("start");this._player.onStart(function(){return t(e)})},t.prototype.onDone=function(t){var e=this._createEvent("done");this._player.onDone(function(){return t(e)})},t}()},function(t,e,n){"use strict";var r=n(7);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=function(){function t(){this._map=new Map,this._allPlayers=[]}return t.prototype.find=function(t,e){var i=this._map.get(t);if(n.i(r.d)(i))return i[e]},t.prototype.findAllPlayersByElement=function(t){var e=this._map.get(t);return e?Object.keys(e).map(function(t){return e[t]}):[]},t.prototype.set=function(t,e,i){var o=this._map.get(t);n.i(r.d)(o)||(o={});var s=o[e];n.i(r.d)(s)&&this.remove(t,e),o[e]=i,this._allPlayers.push(i),this._map.set(t,o)},t.prototype.getAllPlayers=function(){return this._allPlayers},t.prototype.remove=function(t,e){var n=this._map.get(t);if(n){var r=n[e];delete n[e];var i=this._allPlayers.indexOf(r);this._allPlayers.splice(i,1),0===Object.keys(n).length&&this._map.delete(t)}},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(){return u.b}function i(){return u.c}var o=n(186),s=n(187),a=n(121),u=n(122),c=n(305),l=n(94),p=n(129),h=n(315);n.d(e,"a",function(){return f});var f=function(){function t(){}return t.decorators=[{type:h.a,args:[{providers:[s.d,{provide:s.e,useExisting:s.d},o.a,l.b,a.d,p.ViewUtils,{provide:u.d,useFactory:r},{provide:u.e,useFactory:i},{provide:c.a,useValue:"en-US"}]}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var r=n(122);n.d(e,"a",function(){return r.g}),n.d(e,"b",function(){return r.h}),n.d(e,"g",function(){return r.k}),n.d(e,"h",function(){return r.l}),n.d(e,"d",function(){return r.d}),n.d(e,"i",function(){return r.m}),n.d(e,"e",function(){return r.e}),n.d(e,"c",function(){return r.i}),n.d(e,"f",function(){return r.j})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r=function(){function t(){}return t}()},function(t,e,n){"use strict";var r=n(315),i=n(546),o=n(38),s=n(187),a=n(121),u=n(186),c=n(547),l=n(545),p=n(534),h=n(302),f=n(199),d=n(528),m=n(543),y=n(305),v=n(527),g=n(130),b=n(200),_=n(194),w=n(304),x=n(531),E=n(298),S=n(297),C=n(185),O=n(320);n.d(e,"a",function(){return r.b}),n.d(e,"f",function(){return r.c}),n.d(e,"A",function(){return r.d}),n.d(e,"B",function(){return r.e}),n.d(e,"C",function(){return r.f}),n.d(e,"D",function(){return r.g}),n.d(e,"E",function(){return r.h}),n.d(e,"F",function(){return r.i}),n.d(e,"G",function(){return r.j}),n.d(e,"H",function(){return r.a}),n.d(e,"I",function(){return r.k}),n.d(e,"T",function(){return r.l}),n.d(e,"X",function(){return r.m}),n.d(e,"Y",function(){return r.n}),n.d(e,"_21",function(){return r.o}),n.d(e,"_22",function(){return r.p}),n.d(e,"_23",function(){return r.q}),n.d(e,"_24",function(){return r.r}),n.d(e,"_45",function(){return r.s}),n.d(e,"_46",function(){return r.t}),n.d(e,"_47",function(){return r.u}),n.d(e,"_48",function(){return r.v}),n.d(e,"_49",function(){return r.w}),n.d(e,"_50",function(){return r.x}),n.d(e,"_51",function(){return r.y}),n.d(e,"_52",function(){return r.z}),n.d(e,"_53",function(){return i.a}),n.d(e,"d",function(){return o.b}),n.d(e,"p",function(){return o.g}),n.d(e,"v",function(){return o.a}),n.d(e,"w",function(){return o.d}),n.d(e,"x",function(){return o.c}),n.d(e,"z",function(){return o.h}),n.d(e,"Q",function(){return o.i}),n.d(e,"R",function(){return o.j}),n.d(e,"S",function(){return o.e}),n.d(e,"_0",function(){return o.f}),n.d(e,"_20",function(){return o.k}),n.d(e,"_54",function(){return o.l}),n.d(e,"_55",function(){return o.m}),n.d(e,"_25",function(){return s.g}),n.d(e,"_26",function(){return s.h}),n.d(e,"_27",function(){return s.i}),n.d(e,"_28",function(){return s.j}),n.d(e,"_13",function(){return s.e}),n.d(e,"_29",function(){return s.k}),n.d(e,"c",function(){return s.f}),n.d(e,"_2",function(){return s.c}),n.d(e,"_30",function(){return s.b}),n.d(e,"_31",function(){return a.a}),n.d(e,"y",function(){return a.e}),n.d(e,"_32",function(){return a.c}),n.d(e,"_5",function(){return a.b}),n.d(e,"_33",function(){return u.a}),n.d(e,"_34",function(){return u.b}),n.d(e,"_12",function(){return c.a}),n.d(e,"j",function(){return l.a}),n.d(e,"q",function(){return l.b}),n.d(e,"_15",function(){return l.c}),n.d(e,"g",function(){return p.a}),n.d(e,"h",function(){return p.b}),n.d(e,"k",function(){return p.c}),n.d(e,"l",function(){return p.d}),n.d(e,"m",function(){return p.e}),n.d(e,"n",function(){return p.f}),n.d(e,"o",function(){return p.g}),n.d(e,"V",function(){return p.h}),n.d(e,"W",function(){return p.i}),n.d(e,"_1",function(){return p.j}),n.d(e,"_4",function(){return p.k}),n.d(e,"_56",function(){return p.l}),n.d(e,"_57",function(){return p.m}),n.d(e,"_58",function(){return p.n}),n.d(e,"_59",function(){return p.o}),n.d(e,"_60",function(){return p.p}),n.d(e,"_61",function(){return p.q}),n.d(e,"_62",function(){return p.r}),n.d(e,"_63",function(){return p.s}),n.d(e,"_35",function(){return h.a}),n.d(e,"_36",function(){return h.d}),n.d(e,"_37",function(){return h.g}),n.d(e,"_14",function(){return h.c}),n.d(e,"_18",function(){return f.a}),n.d(e,"_38",function(){return f.b}),n.d(e,"_11",function(){return f.c}),n.d(e,"b",function(){return d.a}),n.d(e,"i",function(){return d.b}),n.d(e,"r",function(){return d.c}),n.d(e,"_7",function(){return d.d}),n.d(e,"_8",function(){return d.e}),n.d(e,"_9",function(){return d.f}),n.d(e,"_64",function(){return d.g}),n.d(e,"_65",function(){return d.h}),n.d(e,"_66",function(){return d.i}),n.d(e,"_3",function(){return m.a}),n.d(e,"Z",function(){return y.c}),n.d(e,"u",function(){return y.b}),n.d(e,"t",function(){return y.a}),n.d(e,"_19",function(){return v.a}),n.d(e,"_39",function(){return g.a}),n.d(e,"_40",function(){return g.b}),n.d(e,"_41",function(){return g.c}),n.d(e,"_42",function(){return g.d}),n.d(e,"U",function(){return b.a}),n.d(e,"_6",function(){return _.a}),n.d(e,"_17",function(){return w.a}),n.d(e,"e",function(){return x.a}),n.d(e,"J",function(){return E.b}),n.d(e,"K",function(){return E.c}),n.d(e,"L",function(){return E.d}),n.d(e,"M",function(){return E.e}),n.d(e,"N",function(){return E.f}),n.d(e,"O",function(){return E.g}),n.d(e,"P",function(){return E.h}),n.d(e,"_10",function(){return E.a}),n.d(e,"_67",function(){return E.i}),n.d(e,"_68",function(){return E.j}),n.d(e,"_69",function(){return E.k}),n.d(e,"_70",function(){return E.l}),n.d(e,"_71",function(){return E.m}),n.d(e,"_72",function(){return E.n}),n.d(e,"_73",function(){return E.o}),n.d(e,"_74",function(){return E.p}),n.d(e,"_75",function(){return E.q}),n.d(e,"_76",function(){return E.r}),n.d(e,"_77",function(){return E.s}),n.d(e,"_78",function(){return E.t}),n.d(e,"_43",function(){return S.a}),n.d(e,"_44",function(){return C.b}),n.d(e,"_16",function(){return O.a}),n.d(e,"s",function(){return O.b})},function(t,e,n){"use strict";var r=n(294),i=n(295),o=n(521),s=n(185),a=n(522),u=n(523),c=n(524),l=n(525),p=n(123),h=n(124),f=n(189),d=n(532),m=n(193),y=n(94),v=n(127),g=n(307),b=n(195),_=n(310),w=n(311),x=n(312),E=n(539),S=n(128),C=n(129),O=n(316),k=n(317),P=n(196),T=n(318),A=n(197),I=n(198),M=n(79),R=n(201);n.d(e,"a",function(){return j});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var j={isDefaultChangeDetectionStrategy:h.c,ChangeDetectorStatus:h.b,constructDependencies:m.b,LifecycleHooks:O.a,LIFECYCLE_HOOKS_VALUES:O.b,ReflectorReader:A.a,CodegenComponentFactoryResolver:v.b,AppElement:b.a,AppView:E.a,DebugAppView:E.b,NgModuleInjector:_.a,registerModuleFactory:w.a,ViewType:S.a,view_utils:C,ViewMetadata:k.a,DebugContext:g.a,StaticNodeDebugInfo:g.b,devModeEqual:p.b,UNINITIALIZED:p.a,ValueUnwrapper:p.c,RenderDebugInfo:I.c,TemplateRef_:x.a,ReflectionCapabilities:T.a,makeDecorator:M.c,DebugDomRootRenderer:d.a,Console:f.a,reflector:P.a,Reflector:P.b,NoOpAnimationPlayer:s.a,AnimationPlayer:s.b,AnimationSequencePlayer:a.a,AnimationGroupPlayer:i.a,AnimationKeyframe:o.a,prepareFinalAnimationStyles:u.a,balanceAnimationKeyframes:u.b,flattenStyles:u.c,clearStyles:u.d,renderStyles:u.e,collectAndResolveStyles:u.f,AnimationStyles:c.a,ANY_STATE:r.b,DEFAULT_STATE:r.c,EMPTY_STATE:r.d,FILL_STYLE_FLAG:r.a,ComponentStillLoadingError:y.c,isPromise:R.a,AnimationTransition:l.a}},function(t,e,n){"use strict";var r=n(7),i=n(302);n.d(e,"a",function(){return o});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=function(){function t(t){this._delegate=t}return t.prototype.renderComponent=function(t){return new s(this._delegate.renderComponent(t))},t}(),s=function(){function t(t){this._delegate=t}return t.prototype.selectRootElement=function(t,e){var r=this._delegate.selectRootElement(t,e),o=new i.a(r,null,e);return n.i(i.b)(o),r},t.prototype.createElement=function(t,e,r){var o=this._delegate.createElement(t,e,r),s=new i.a(o,n.i(i.c)(t),r);return s.name=e,n.i(i.b)(s),o},t.prototype.createViewRoot=function(t){return this._delegate.createViewRoot(t)},t.prototype.createTemplateAnchor=function(t,e){var r=this._delegate.createTemplateAnchor(t,e),o=new i.d(r,n.i(i.c)(t),e);return n.i(i.b)(o),r},t.prototype.createText=function(t,e,r){var o=this._delegate.createText(t,e,r),s=new i.d(o,n.i(i.c)(t),r);return n.i(i.b)(s),o},t.prototype.projectNodes=function(t,e){var o=n.i(i.c)(t);if(n.i(r.d)(o)&&o instanceof i.a){var s=o;e.forEach(function(t){s.addChild(n.i(i.c)(t))})}this._delegate.projectNodes(t,e)},t.prototype.attachViewAfter=function(t,e){var o=n.i(i.c)(t);if(n.i(r.d)(o)){var s=o.parent;if(e.length>0&&n.i(r.d)(s)){var a=[];e.forEach(function(t){return a.push(n.i(i.c)(t))}),s.insertChildrenAfter(o,a)}}this._delegate.attachViewAfter(t,e)},t.prototype.detachView=function(t){t.forEach(function(t){var e=n.i(i.c)(t);n.i(r.d)(e)&&n.i(r.d)(e.parent)&&e.parent.removeChild(e)}),this._delegate.detachView(t)},t.prototype.destroyView=function(t,e){e.forEach(function(t){n.i(i.e)(n.i(i.c)(t))}),this._delegate.destroyView(t,e)},t.prototype.listen=function(t,e,o){var s=n.i(i.c)(t);return n.i(r.d)(s)&&s.listeners.push(new i.f(e,o)),this._delegate.listen(t,e,o)},t.prototype.listenGlobal=function(t,e,n){return this._delegate.listenGlobal(t,e,n)},t.prototype.setElementProperty=function(t,e,o){var s=n.i(i.c)(t);n.i(r.d)(s)&&s instanceof i.a&&(s.properties[e]=o),this._delegate.setElementProperty(t,e,o)},t.prototype.setElementAttribute=function(t,e,o){var s=n.i(i.c)(t);n.i(r.d)(s)&&s instanceof i.a&&(s.attributes[e]=o),this._delegate.setElementAttribute(t,e,o)},t.prototype.setBindingDebugInfo=function(t,e,n){this._delegate.setBindingDebugInfo(t,e,n)},t.prototype.setElementClass=function(t,e,o){var s=n.i(i.c)(t);n.i(r.d)(s)&&s instanceof i.a&&(s.classes[e]=o),this._delegate.setElementClass(t,e,o)},t.prototype.setElementStyle=function(t,e,o){var s=n.i(i.c)(t);n.i(r.d)(s)&&s instanceof i.a&&(s.styles[e]=o),this._delegate.setElementStyle(t,e,o)},t.prototype.invokeElementMethod=function(t,e,n){this._delegate.invokeElementMethod(t,e,n)},t.prototype.setText=function(t,e){this._delegate.setText(t,e)},t.prototype.animate=function(t,e,n,r,i,o){return this._delegate.animate(t,e,n,r,i,o)},t}()},function(t,e,n){"use strict";function r(t,e){for(var n=new Array(t._proto.numberOfProviders),r=0;r0&&(this.provider0=e[0],this.keyId0=e[0].key.id),n>1&&(this.provider1=e[1],this.keyId1=e[1].key.id),n>2&&(this.provider2=e[2],this.keyId2=e[2].key.id),n>3&&(this.provider3=e[3],this.keyId3=e[3].key.id),n>4&&(this.provider4=e[4],this.keyId4=e[4].key.id),n>5&&(this.provider5=e[5],this.keyId5=e[5].key.id),n>6&&(this.provider6=e[6],this.keyId6=e[6].key.id),n>7&&(this.provider7=e[7],this.keyId7=e[7].key.id),n>8&&(this.provider8=e[8],this.keyId8=e[8].key.id),n>9&&(this.provider9=e[9],this.keyId9=e[9].key.id)}return t.prototype.getProviderAtIndex=function(t){if(0==t)return this.provider0;if(1==t)return this.provider1;if(2==t)return this.provider2;if(3==t)return this.provider3;if(4==t)return this.provider4;if(5==t)return this.provider5;if(6==t)return this.provider6;if(7==t)return this.provider7;if(8==t)return this.provider8;if(9==t)return this.provider9;throw new a.d(t)},t.prototype.createInjectorStrategy=function(t){return new m(t,this)},t}(),f=function(){function t(t,e){this.providers=e;var n=e.length;this.keyIds=new Array(n);for(var r=0;r=this.providers.length)throw new a.d(t);return this.providers[t]},t.prototype.createInjectorStrategy=function(t){return new y(this,t)},t}(),d=function(){function t(t){this.numberOfProviders=t.length,this._strategy=t.length>l?new f(this,t):new h(this,t)}return t.fromResolvedProviders=function(e){return new t(e)},t.prototype.getProviderAtIndex=function(t){return this._strategy.getProviderAtIndex(t)},t}(),m=function(){function t(t,e){this.injector=t,this.protoStrategy=e,this.obj0=p,this.obj1=p,this.obj2=p,this.obj3=p,this.obj4=p,this.obj5=p,this.obj6=p,this.obj7=p,this.obj8=p,this.obj9=p}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){var e=this.protoStrategy,n=this.injector;return e.keyId0===t?(this.obj0===p&&(this.obj0=n._new(e.provider0)),this.obj0):e.keyId1===t?(this.obj1===p&&(this.obj1=n._new(e.provider1)),this.obj1):e.keyId2===t?(this.obj2===p&&(this.obj2=n._new(e.provider2)),this.obj2):e.keyId3===t?(this.obj3===p&&(this.obj3=n._new(e.provider3)),this.obj3):e.keyId4===t?(this.obj4===p&&(this.obj4=n._new(e.provider4)),this.obj4):e.keyId5===t?(this.obj5===p&&(this.obj5=n._new(e.provider5)),this.obj5):e.keyId6===t?(this.obj6===p&&(this.obj6=n._new(e.provider6)),this.obj6):e.keyId7===t?(this.obj7===p&&(this.obj7=n._new(e.provider7)),this.obj7):e.keyId8===t?(this.obj8===p&&(this.obj8=n._new(e.provider8)),this.obj8):e.keyId9===t?(this.obj9===p&&(this.obj9=n._new(e.provider9)),this.obj9):p},t.prototype.getObjAtIndex=function(t){if(0==t)return this.obj0;if(1==t)return this.obj1;if(2==t)return this.obj2;if(3==t)return this.obj3;if(4==t)return this.obj4;if(5==t)return this.obj5;if(6==t)return this.obj6;if(7==t)return this.obj7;if(8==t)return this.obj8;if(9==t)return this.obj9;throw new a.d(t)},t.prototype.getMaxNumberOfObjects=function(){return l},t}(),y=function(){function t(t,e){this.protoStrategy=t,this.injector=e,this.objs=new Array(t.providers.length).fill(p)}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){for(var e=this.protoStrategy,n=0;n=this.objs.length)throw new a.d(t);return this.objs[t]},t.prototype.getMaxNumberOfObjects=function(){return this.objs.length},t}(),v=function(){function t(){}return t.resolve=function(t){return n.i(c.a)(t)},t.resolveAndCreate=function(e,n){void 0===n&&(n=null);var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return void 0===e&&(e=null),new g(d.fromResolvedProviders(t),e)},Object.defineProperty(t.prototype,"parent",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){return n.i(i.a)()},t.prototype.createChildFromResolved=function(t){return n.i(i.a)()},t.prototype.resolveAndInstantiate=function(t){return n.i(i.a)()},t.prototype.instantiateResolved=function(t){return n.i(i.a)()},t}(),g=function(){function t(t,e){void 0===e&&(e=null),this._constructionCounter=0,this._proto=t,this._parent=e,this._strategy=t._strategy.createInjectorStrategy(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=o.a),this._getByKey(u.a.get(t),null,null,e)},t.prototype.getAt=function(t){return this._strategy.getObjAtIndex(t)},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){var e=v.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new d(e),r=new t(n);return r._parent=this,r},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(v.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype._new=function(t){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new a.e(this,t.key);return this._instantiateProvider(t)},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0?this._getByReflectiveDependency(t,S[0]):null,r=C>1?this._getByReflectiveDependency(t,S[1]):null,i=C>2?this._getByReflectiveDependency(t,S[2]):null,o=C>3?this._getByReflectiveDependency(t,S[3]):null,s=C>4?this._getByReflectiveDependency(t,S[4]):null,u=C>5?this._getByReflectiveDependency(t,S[5]):null,c=C>6?this._getByReflectiveDependency(t,S[6]):null,l=C>7?this._getByReflectiveDependency(t,S[7]):null,p=C>8?this._getByReflectiveDependency(t,S[8]):null,h=C>9?this._getByReflectiveDependency(t,S[9]):null,f=C>10?this._getByReflectiveDependency(t,S[10]):null,d=C>11?this._getByReflectiveDependency(t,S[11]):null,m=C>12?this._getByReflectiveDependency(t,S[12]):null,y=C>13?this._getByReflectiveDependency(t,S[13]):null,v=C>14?this._getByReflectiveDependency(t,S[14]):null,g=C>15?this._getByReflectiveDependency(t,S[15]):null,b=C>16?this._getByReflectiveDependency(t,S[16]):null,_=C>17?this._getByReflectiveDependency(t,S[17]):null,w=C>18?this._getByReflectiveDependency(t,S[18]):null,x=C>19?this._getByReflectiveDependency(t,S[19]):null}catch(e){throw(e instanceof a.f||e instanceof a.g)&&e.addKey(this,t.key),e}var O;try{switch(C){case 0:O=E();break;case 1:O=E(n);break;case 2:O=E(n,r);break;case 3:O=E(n,r,i);break;case 4:O=E(n,r,i,o);break;case 5:O=E(n,r,i,o,s);break;case 6:O=E(n,r,i,o,s,u);break;case 7:O=E(n,r,i,o,s,u,c);break;case 8:O=E(n,r,i,o,s,u,c,l);break;case 9:O=E(n,r,i,o,s,u,c,l,p);break;case 10:O=E(n,r,i,o,s,u,c,l,p,h);break;case 11:O=E(n,r,i,o,s,u,c,l,p,h,f);break;case 12:O=E(n,r,i,o,s,u,c,l,p,h,f,d);break;case 13:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m);break;case 14:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y);break;case 15:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v);break;case 16:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v,g);break;case 17:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v,g,b);break;case 18:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v,g,b,_);break;case 19:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v,g,b,_,w);break;case 20:O=E(n,r,i,o,s,u,c,l,p,h,f,d,m,y,v,g,b,_,w,x);break;default:throw new Error("Cannot instantiate '"+t.key.displayName+"' because it has more than 20 dependencies")}}catch(e){throw new a.g(this,e,e.stack,t.key)}return O},t.prototype._getByReflectiveDependency=function(t,e){return this._getByKey(e.key,e.lowerBoundVisibility,e.upperBoundVisibility,e.optional?null:o.a)},t.prototype._getByKey=function(t,e,n,r){return t===b?this:n instanceof s.d?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,e)},t.prototype._throwOrNull=function(t,e){if(e!==o.a)return e;throw new a.h(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._strategy.getObjByKeyId(t.id);return n!==p?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var i;for(i=r instanceof s.f?this._parent:this;i instanceof t;){var o=i,a=o._strategy.getObjByKeyId(e.id);if(a!==p)return a;i=o._parent}return null!==i?i.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){var t=r(this,function(t){return' "'+t.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+t+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),b=u.a.get(o.b)},function(t,e,n){"use strict";var r=n(94),i=n(306),o=n(127),s=n(308),a=n(310),u=n(311),c=n(537),l=n(538),p=n(312),h=n(313),f=n(314);n.d(e,"j",function(){return r.e}),n.d(e,"k",function(){return r.a}),n.d(e,"h",function(){return r.d}),n.d(e,"i",function(){return r.b}),n.d(e,"f",function(){return i.a}),n.d(e,"l",function(){return i.b}),n.d(e,"e",function(){return o.a}),n.d(e,"a",function(){return s.a}),n.d(e,"g",function(){return a.b}),n.d(e,"m",function(){return a.c}),n.d(e,"n",function(){return u.b}),n.d(e,"o",function(){return u.c}),n.d(e,"c",function(){return c.a}),n.d(e,"p",function(){return l.a}),n.d(e,"q",function(){return l.b}),n.d(e,"d",function(){return p.b}),n.d(e,"b",function(){return h.b}),n.d(e,"r",function(){return f.b}),n.d(e,"s",function(){return f.c})},function(t,e,n){"use strict";var r=n(295),i=n(296),o=n(526);n.d(e,"a",function(){return s});var s=function(){function t(){this._players=new o.a}return t.prototype.onAllActiveAnimationsDone=function(t){var e=this._players.getAllPlayers();e.length?new r.a(e).onDone(function(){return t()}):t()},t.prototype.queueAnimation=function(t,e,r){n.i(i.b)(r),this._players.set(t,e,r)},t.prototype.cancelActiveAnimation=function(t,e,n){if(void 0===n&&(n=!1),n)this._players.findAllPlayersByElement(t).forEach(function(t){return t.destroy()});else{var r=this._players.find(t,e);r&&r.destroy()}},t}()},function(t,e,n){"use strict";var r=n(125);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=new Object,s=function(t){function e(e,n){t.call(this),this._view=e,this._nodeIndex=n}return i(e,t),e.prototype.get=function(t,e){void 0===e&&(e=r.a);var n=o;return n===o&&(n=this._view.injectorGet(t,this._nodeIndex,o)),n===o&&(n=this._view.parentInjector.get(t,e)),n},e}(r.b)},function(t,e,n){"use strict";var r=n(194),i=n(50),o=n(7);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new r.a}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[n.i(o.f)()]=function(){return this._results[n.i(o.f)()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=i.e.flatten(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";function r(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var i=n(38),o=n(94);n.d(e,"b",function(){return u}),n.d(e,"a",function(){return l});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var s="#",a="NgFactory",u=function(){function t(){}return t}(),c={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},l=function(){function t(t,e){this._compiler=t,this._config=e||c}return t.prototype.load=function(t){var e=this._compiler instanceof o.b;return e?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,i=t.split(s),o=i[0],a=i[1];return void 0===a&&(a="default"),n(475)(o).then(function(t){return t[a]}).then(function(t){return r(t,o,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split(s),i=e[0],o=e[1],u=a;return void 0===o&&(o="default",u=""),n(475)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[o+u]}).then(function(t){return r(t,i,o)})},t.decorators=[{type:i.b}],t.ctorParameters=[{type:o.b},{type:u,decorators:[{type:i.d}]}],t}()},function(t,e,n){"use strict";function r(t){var e;if(t instanceof l.a){var i=t;if(e=i.nativeElement,n.i(s.d)(i.nestedViews))for(var o=i.nestedViews.length-1;o>=0;o--){var a=i.nestedViews[o];a.rootNodesOrAppElements.length>0&&(e=r(a.rootNodesOrAppElements[a.rootNodesOrAppElements.length-1]))}}else e=t;return e}var i=n(122),o=n(50),s=n(7),a=n(130),u=n(535),c=n(307),l=n(195),p=n(536),h=n(309),f=n(314),d=n(128),m=n(129);n.d(e,"a",function(){return g}),n.d(e,"b",function(){return b});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},v=n.i(a.a)("AppView#check(ascii id)"),g=function(){function t(t,e,n,r,i,o,s){this.clazz=t,this.componentType=e,this.type=n,this.viewUtils=r,this.parentInjector=i,this.declarationAppElement=o,this.cdMode=s,this.contentChildren=[],this.viewChildren=[],this.viewContainerElement=null,this.numberOfChecks=0,this.ref=new f.a(this),n===d.a.COMPONENT||n===d.a.HOST?this.renderer=r.renderComponent(e):this.renderer=o.parentView.renderer}return Object.defineProperty(t.prototype,"animationContext",{get:function(){return this._animationContext||(this._animationContext=new u.a),this._animationContext},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this.cdMode===i.f.Destroyed},enumerable:!0,configurable:!0}),t.prototype.create=function(t,e,r){this.context=t;var i;switch(this.type){case d.a.COMPONENT:i=n.i(m.ensureSlotCount)(e,this.componentType.slotCount);break;case d.a.EMBEDDED:i=this.declarationAppElement.parentView.projectableNodes;break;case d.a.HOST:i=e}return this._hasExternalHostElement=n.i(s.d)(r),this.projectableNodes=i,this.createInternal(r)},t.prototype.createInternal=function(t){return null},t.prototype.init=function(t,e,n,r){this.rootNodesOrAppElements=t,this.allNodes=e,this.disposables=n,this.subscriptions=r,this.type===d.a.COMPONENT&&(this.declarationAppElement.parentView.viewChildren.push(this),this.dirtyParentQueriesInternal())},t.prototype.injectorGet=function(t,e,n){return this.injectorGetInternal(t,e,n)},t.prototype.injectorGetInternal=function(t,e,n){return n},t.prototype.injector=function(t){return n.i(s.d)(t)?new p.a(this,t):this.parentInjector},t.prototype.destroy=function(){this._hasExternalHostElement?this.renderer.detachView(this.flatRootNodes):n.i(s.d)(this.viewContainerElement)&&this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this)),this._destroyRecurse()},t.prototype._destroyRecurse=function(){if(this.cdMode!==i.f.Destroyed){for(var t=this.contentChildren,e=0;e0?this.rootNodesOrAppElements[this.rootNodesOrAppElements.length-1]:null;return r(t)},enumerable:!0,configurable:!0}),t.prototype.dirtyParentQueriesInternal=function(){},t.prototype.detectChanges=function(t){var e=v(this.clazz);this.cdMode!==i.f.Checked&&this.cdMode!==i.f.Errored&&(this.cdMode===i.f.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(t),this.cdMode===i.f.CheckOnce&&(this.cdMode=i.f.Checked),this.numberOfChecks++,n.i(a.b)(e))},t.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},t.prototype.detectContentChildrenChanges=function(t){for(var e=0;e-1&&(t.splice(n,1),!0)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t}()},function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(){return new l.a}function i(t,e){return new f.a(t,e)}function o(t,e){return new f.b(t,e)}var s=n(1),a=n(325),u=n(210),c=n(326),l=n(327),p=n(211),h=n(140),f=n(329),d=n(101);n.d(e,"a",function(){return m});var m=function(){function t(){}return t.decorators=[{type:s.NgModule,args:[{providers:[{provide:f.a,useFactory:i,deps:[l.b,p.a]},u.a,{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},l.b,{provide:d.b,useFactory:r}]}]}],t.ctorParameters=[],t}();(function(){function t(){}return t.decorators=[{type:s.NgModule,args:[{providers:[{provide:f.b,useFactory:o,deps:[c.a,p.a]},a.a,{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:c.a,useClass:c.b}]}]}],t.ctorParameters=[],t})()},function(t,e,n){"use strict";var r=(n(210),n(326),n(327),n(211),n(140),n(64)),i=(n(100),n(329)),o=n(553),s=(n(101),n(330));n(212),n(142);n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return i.a}),n.d(e,"d",function(){return o.a}),n.d(e,"a",function(){return s.a})},function(t,e,n){"use strict";var r=n(1),i=n(71),o=n(0),s=(n.n(o),n(8));n.d(e,"a",function(){return y});var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},l={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},p=0,h=function(){function t(){}return t}(),f=function(){function t(){this._value=null,this._name="md-radio-group-"+p++,this._disabled=null,this._selected=null,this._isInitialized=!1,this._controlValueAccessorChangeFn=function(t){},this.onTouched=function(){},this._change=new r.EventEmitter,this._buttonToggles=null}return Object.defineProperty(t.prototype,"change",{get:function(){return this._change.asObservable()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this._isInitialized=!0},Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateButtonToggleNames()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=null!=t&&t!==!1||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this._updateSelectedButtonToggleFromValue(),this._isInitialized&&this._emitChangeEvent())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,t&&!t.checked&&(t.checked=!0)},enumerable:!0,configurable:!0}),t.prototype._updateButtonToggleNames=function(){var t=this;this._buttonToggles&&this._buttonToggles.forEach(function(e){e.name=t._name})},t.prototype._updateSelectedButtonToggleFromValue=function(){var t=this,e=null!=this._selected&&this._selected.value==this._value;if(null!=this._buttonToggles&&!e){var n=this._buttonToggles.filter(function(e){return e.value==t._value})[0];n?this.selected=n:null==this.value&&(this.selected=null,this._buttonToggles.forEach(function(t){t.checked=!1}))}},t.prototype._emitChangeEvent=function(){var t=new h;t.source=this._selected,t.value=this._value,this._controlValueAccessorChangeFn(t.value),this._change.emit(t)},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},a([n.i(r.Output)(),u("design:type",o.Observable)],t.prototype,"change",null),a([n.i(r.ContentChildren)(n.i(r.forwardRef)(function(){return m})),u("design:type",r.QueryList)],t.prototype,"_buttonToggles",void 0),a([n.i(r.Input)(),u("design:type",String)],t.prototype,"name",null),a([n.i(r.Input)(),n.i(s.a)(),u("design:type",Boolean)],t.prototype,"disabled",null),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"value",null),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"selected",null),t=a([n.i(r.Directive)({selector:"md-button-toggle-group:not([multiple])",providers:[l],host:{role:"radiogroup"}}),u("design:paramtypes",[])],t)}(),d=function(){function t(){this._disabled=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=null!=t&&t!==!1||null},enumerable:!0,configurable:!0}),a([n.i(r.Input)(),u("design:type",Boolean)],t.prototype,"disabled",null),t=a([n.i(r.Directive)({selector:"md-button-toggle-group[multiple]"}),u("design:paramtypes",[])],t)}(),m=function(){function t(t,e,n){var i=this;this.buttonToggleDispatcher=n,this._checked=!1,this._disabled=null,this._value=null,this._isSingleSelector=null,this._change=new r.EventEmitter,this.buttonToggleGroup=t,this.buttonToggleGroupMultiple=e,this.buttonToggleGroup?(n.listen(function(t,e){t!=i.id&&e==i.name&&(i.checked=!1)}),this._type="radio",this.name=this.buttonToggleGroup.name,this._isSingleSelector=!0):(this._type="checkbox",this._isSingleSelector=!1)}return Object.defineProperty(t.prototype,"change",{get:function(){return this._change.asObservable()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){null==this.id&&(this.id="md-button-toggle-"+p++),this.buttonToggleGroup&&this._value==this.buttonToggleGroup.value&&(this._checked=!0)},Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._isSingleSelector&&t&&this.buttonToggleDispatcher.notify(this.id,this.name),this._checked=t,t&&this._isSingleSelector&&this.buttonToggleGroup.value!=this.value&&(this.buttonToggleGroup.selected=this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(null!=this.buttonToggleGroup&&this.checked&&(this.buttonToggleGroup.value=t),this._value=t)},enumerable:!0,configurable:!0}),t.prototype._emitChangeEvent=function(){var t=new h;t.source=this,t.value=this._value,this._change.emit(t)},Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||null!=this.buttonToggleGroup&&this.buttonToggleGroup.disabled||null!=this.buttonToggleGroupMultiple&&this.buttonToggleGroupMultiple.disabled},set:function(t){this._disabled=null!=t&&t!==!1||null},enumerable:!0,configurable:!0}),t.prototype._toggle=function(){this.checked=!this.checked},t.prototype._onInputChange=function(t){t.stopPropagation(),this._isSingleSelector?(this.checked=!0,this.buttonToggleGroup.selected=this,this.buttonToggleGroup.onTouched()):this._toggle(),this._emitChangeEvent()},t.prototype._onInputClick=function(t){t.stopPropagation()},a([n.i(r.HostBinding)(),n.i(r.Input)(),u("design:type",String)],t.prototype,"id",void 0),a([n.i(r.Input)(),u("design:type",String)],t.prototype,"name",void 0),a([n.i(r.Output)(),u("design:type",o.Observable)],t.prototype,"change",null),a([n.i(r.HostBinding)("class.md-button-toggle-checked"),n.i(r.Input)(),u("design:type",Boolean)],t.prototype,"checked",null),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"value",null),a([n.i(r.HostBinding)("class.md-button-toggle-disabled"),n.i(r.Input)(),u("design:type",Boolean)],t.prototype,"disabled",null),t=a([n.i(r.Component)({selector:"md-button-toggle",template:'
',styles:["md-button-toggle-group { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); position: relative; display: inline-flex; border-radius: 3px; cursor: pointer; white-space: nowrap; } .md-button-toggle-disabled .md-button-toggle-label-content { cursor: default; } md-button-toggle { white-space: nowrap; } .md-button-toggle-label-content { display: inline-block; line-height: 36px; padding: 0 16px; cursor: pointer; } .md-button-toggle-label-content > * { vertical-align: middle; } /*# sourceMappingURL=button-toggle.css.map */ "],encapsulation:r.ViewEncapsulation.None}),c(0,n.i(r.Optional)()),c(1,n.i(r.Optional)()),u("design:paramtypes",[f,d,s.b])],t)}(),y=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.b]}},t=a([n.i(r.NgModule)({imports:[i.b],exports:[f,d,m],declarations:[f,d,m]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(47),o=n(8);n.d(e,"a",function(){return p});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._isKeyboardFocused=!1,this._isMouseDown=!1,this.disableRipple=!1}return Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._updateColor(t)},enumerable:!0,configurable:!0}),t.prototype._setMousedown=function(){var t=this;this._isMouseDown=!0,setTimeout(function(){t._isMouseDown=!1},100)},t.prototype._updateColor=function(t){this._setElementColor(this._color,!1),this._setElementColor(t,!0),this._color=t},t.prototype._setElementColor=function(t,e){null!=t&&""!=t&&this._renderer.setElementClass(this._elementRef.nativeElement,"md-"+t,e)},t.prototype._setKeyboardFocus=function(){this._isKeyboardFocused=!this._isMouseDown},t.prototype._removeKeyboardFocus=function(){this._isKeyboardFocused=!1},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype.getHostElement=function(){return this._elementRef.nativeElement},t.prototype.isRoundButton=function(){var t=this._elementRef.nativeElement;return t.hasAttribute("md-icon-button")||t.hasAttribute("md-fab")||t.hasAttribute("md-mini-fab")},t.prototype.isRippleEnabled=function(){return!this.disableRipple},a([n.i(r.Input)(),n.i(o.a)(),u("design:type",Boolean)],t.prototype,"disableRipple",void 0),a([n.i(r.Input)(),u("design:type",String)],t.prototype,"color",null),t=a([n.i(r.Component)({selector:"button[md-button], button[md-raised-button], button[md-icon-button], button[md-fab], button[md-mini-fab]",host:{"[class.md-button-focus]":"_isKeyboardFocused","(mousedown)":"_setMousedown()","(focus)":"_setKeyboardFocus()","(blur)":"_removeKeyboardFocus()"},template:'
',styles:["[md-raised-button], [md-fab], [md-mini-fab], [md-button], [md-icon-button] { box-sizing: border-box; position: relative; cursor: pointer; user-select: none; outline: none; border: none; display: inline-block; white-space: nowrap; text-decoration: none; vertical-align: baseline; font-size: 14px; font-family: Roboto, \"Helvetica Neue\", sans-serif; font-weight: 500; color: currentColor; text-align: center; margin: 0; min-width: 88px; line-height: 36px; padding: 0 16px; border-radius: 3px; } [disabled][md-raised-button], [disabled][md-fab], [disabled][md-mini-fab], [disabled][md-button], [disabled][md-icon-button] { cursor: default; } .md-button-focus[md-raised-button]::after, .md-button-focus[md-fab]::after, .md-button-focus[md-mini-fab]::after, .md-button-focus[md-button]::after, .md-button-focus[md-icon-button]::after { position: absolute; top: 0; left: 0; bottom: 0; right: 0; content: ''; background-color: rgba(0, 0, 0, 0.12); border-radius: inherit; pointer-events: none; } [md-raised-button], [md-fab], [md-mini-fab] { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); } [md-raised-button]:active, [md-fab]:active, [md-mini-fab]:active { box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); } [disabled][md-raised-button], [disabled][md-fab], [disabled][md-mini-fab] { box-shadow: none; } [md-button]:hover::after, [md-icon-button]:hover::after { position: absolute; top: 0; left: 0; bottom: 0; right: 0; content: ''; background-color: rgba(0, 0, 0, 0.12); border-radius: inherit; pointer-events: none; } [md-button][disabled]:hover.md-primary, [md-button][disabled]:hover.md-accent, [md-button][disabled]:hover.md-warn, [md-button][disabled]:hover::after, [md-icon-button][disabled]:hover.md-primary, [md-icon-button][disabled]:hover.md-accent, [md-icon-button][disabled]:hover.md-warn, [md-icon-button][disabled]:hover::after { background-color: transparent; } [md-fab] { min-width: 0; border-radius: 50%; width: 56px; height: 56px; padding: 0; } [md-fab] i, [md-fab] md-icon { padding: 16px 0; } [md-mini-fab] { min-width: 0; border-radius: 50%; width: 40px; height: 40px; padding: 0; } [md-mini-fab] i, [md-mini-fab] md-icon { padding: 8px 0; } [md-icon-button] { min-width: 0; padding: 0; width: 40px; height: 40px; line-height: 24px; border-radius: 50%; } [md-icon-button] .md-button-wrapper > * { vertical-align: middle; } .md-button-ripple { position: absolute; top: 0; left: 0; bottom: 0; right: 0; } .md-button-ripple-round { border-radius: 50%; z-index: 1; } @media screen and (-ms-high-contrast: active) { .md-raised-button, .md-fab, .md-mini-fab { border: 1px solid #fff; } } /*# sourceMappingURL=button.css.map */ "],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),u("design:paramtypes",[r.ElementRef,r.Renderer])],t)}(),l=function(t){function e(e,n){t.call(this,e,n),this._disabled=null}return s(e,t),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAriaDisabled",{get:function(){return this.disabled?"true":"false"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=null!=t&&0!=t||null},enumerable:!0,configurable:!0}),e.prototype._haltDisabledEvents=function(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())},a([n.i(r.HostBinding)("tabIndex"),u("design:type",Number)],e.prototype,"tabIndex",null),a([n.i(r.HostBinding)("attr.aria-disabled"),u("design:type",String)],e.prototype,"isAriaDisabled",null),a([n.i(r.HostBinding)("attr.disabled"),n.i(r.Input)("disabled"),u("design:type",Object)],e.prototype,"disabled",null),e=a([n.i(r.Component)({selector:"a[md-button], a[md-raised-button], a[md-icon-button], a[md-fab], a[md-mini-fab]",inputs:["color"],host:{"[class.md-button-focus]":"_isKeyboardFocused","(mousedown)":"_setMousedown()","(focus)":"_setKeyboardFocus()","(blur)":"_removeKeyboardFocus()","(click)":"_haltDisabledEvents($event)"},template:'
',styles:["[md-raised-button], [md-fab], [md-mini-fab], [md-button], [md-icon-button] { box-sizing: border-box; position: relative; cursor: pointer; user-select: none; outline: none; border: none; display: inline-block; white-space: nowrap; text-decoration: none; vertical-align: baseline; font-size: 14px; font-family: Roboto, \"Helvetica Neue\", sans-serif; font-weight: 500; color: currentColor; text-align: center; margin: 0; min-width: 88px; line-height: 36px; padding: 0 16px; border-radius: 3px; } [disabled][md-raised-button], [disabled][md-fab], [disabled][md-mini-fab], [disabled][md-button], [disabled][md-icon-button] { cursor: default; } .md-button-focus[md-raised-button]::after, .md-button-focus[md-fab]::after, .md-button-focus[md-mini-fab]::after, .md-button-focus[md-button]::after, .md-button-focus[md-icon-button]::after { position: absolute; top: 0; left: 0; bottom: 0; right: 0; content: ''; background-color: rgba(0, 0, 0, 0.12); border-radius: inherit; pointer-events: none; } [md-raised-button], [md-fab], [md-mini-fab] { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); } [md-raised-button]:active, [md-fab]:active, [md-mini-fab]:active { box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); } [disabled][md-raised-button], [disabled][md-fab], [disabled][md-mini-fab] { box-shadow: none; } [md-button]:hover::after, [md-icon-button]:hover::after { position: absolute; top: 0; left: 0; bottom: 0; right: 0; content: ''; background-color: rgba(0, 0, 0, 0.12); border-radius: inherit; pointer-events: none; } [md-button][disabled]:hover.md-primary, [md-button][disabled]:hover.md-accent, [md-button][disabled]:hover.md-warn, [md-button][disabled]:hover::after, [md-icon-button][disabled]:hover.md-primary, [md-icon-button][disabled]:hover.md-accent, [md-icon-button][disabled]:hover.md-warn, [md-icon-button][disabled]:hover::after { background-color: transparent; } [md-fab] { min-width: 0; border-radius: 50%; width: 56px; height: 56px; padding: 0; } [md-fab] i, [md-fab] md-icon { padding: 16px 0; } [md-mini-fab] { min-width: 0; border-radius: 50%; width: 40px; height: 40px; padding: 0; } [md-mini-fab] i, [md-mini-fab] md-icon { padding: 8px 0; } [md-icon-button] { min-width: 0; padding: 0; width: 40px; height: 40px; line-height: 24px; border-radius: 50%; } [md-icon-button] .md-button-wrapper > * { vertical-align: middle; } .md-button-ripple { position: absolute; top: 0; left: 0; bottom: 0; right: 0; } .md-button-ripple-round { border-radius: 50%; z-index: 1; } @media screen and (-ms-high-contrast: active) { .md-raised-button, .md-fab, .md-mini-fab { border: 1px solid #fff; } } /*# sourceMappingURL=button.css.map */ "],encapsulation:r.ViewEncapsulation.None}),u("design:paramtypes",[r.ElementRef,r.Renderer])],e)}(c),p=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=a([n.i(r.NgModule)({imports:[i.b,o.c],exports:[c,l],declarations:[c,l]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return d});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-card-content"}),o("design:paramtypes",[])],t)}(),a=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-card-title"}),o("design:paramtypes",[])],t)}(),u=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-card-subtitle"}),o("design:paramtypes",[])],t)}(),c=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-card-actions"}),o("design:paramtypes",[])],t)}(),l=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-card-footer"}),o("design:paramtypes",[])],t)}(),p=function(){function t(){}return t=i([n.i(r.Component)({selector:"md-card",template:" ",styles:["md-card { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); will-change: box-shadow; display: block; position: relative; padding: 24px; border-radius: 2px; font-family: Roboto, \"Helvetica Neue\", sans-serif; } md-card:hover { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); } .md-card-flat { box-shadow: none; } md-card-title, md-card-subtitle, md-card-content, md-card-actions { display: block; margin-bottom: 16px; } md-card-title { font-size: 24px; font-weight: 400; } md-card-subtitle { font-size: 14px; } md-card-content { font-size: 14px; } md-card-actions { margin-left: -16px; margin-right: -16px; padding: 8px 0; } md-card-actions[align='end'] { display: flex; justify-content: flex-end; } [md-card-image] { width: calc(100% + 48px); margin: 0 -24px 16px -24px; } [md-card-xl-image] { width: 240px; height: 240px; margin: -8px; } md-card-footer { position: absolute; width: 100%; min-height: 5px; bottom: 0; left: 0; } md-card-actions [md-button], md-card-actions [md-raised-button] { margin: 0 4px; } md-card-header { display: flex; flex-direction: row; height: 40px; margin: -8px 0 16px 0; } .md-card-header-text { height: 40px; margin: 0 8px; } [md-card-avatar] { height: 40px; width: 40px; border-radius: 50%; } md-card-header md-card-title { font-size: 14px; } [md-card-sm-image], [md-card-md-image], [md-card-lg-image] { margin: -8px 0; } md-card-title-group { display: flex; justify-content: space-between; margin: 0 -8px; } [md-card-sm-image] { width: 80px; height: 80px; } [md-card-md-image] { width: 112px; height: 112px; } [md-card-lg-image] { width: 152px; height: 152px; } @media (max-width: 600px) { md-card { padding: 24px 16px; } [md-card-image] { width: calc(100% + 32px); margin: 16px -16px; } md-card-title-group { margin: 0; } [md-card-xl-image] { margin-left: 0; margin-right: 0; } md-card-header { margin: -8px 0 0 0; } } md-card > :first-child, md-card-content > :first-child { margin-top: 0; } md-card > :last-child, md-card-content > :last-child { margin-bottom: 0; } [md-card-image]:first-child { margin-top: -24px; } md-card > md-card-actions:last-child { margin-bottom: -16px; padding-bottom: 0; } md-card-actions [md-button]:first-child, md-card-actions [md-raised-button]:first-child { margin-left: 0; margin-right: 0; } md-card-title:not(:first-child), md-card-subtitle:not(:first-child) { margin-top: -4px; } md-card-header md-card-subtitle:not(:first-child) { margin-top: -8px; } md-card > [md-card-xl-image]:first-child { margin-top: -8px; } md-card > [md-card-xl-image]:last-child { margin-bottom: -8px; } /*# sourceMappingURL=card.css.map */ "],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),o("design:paramtypes",[])],t)}(),h=function(){function t(){}return t=i([n.i(r.Component)({selector:"md-card-header",template:'
',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),o("design:paramtypes",[])],t)}(),f=function(){function t(){}return t=i([n.i(r.Component)({selector:"md-card-title-group",template:'
',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),o("design:paramtypes",[])],t)}(),d=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=i([n.i(r.NgModule)({exports:[p,h,f,s,a,u,c,l],declarations:[p,h,f,s,a,u,c,l]}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(71),o=n(8);n.d(e,"a",function(){return f});var s,a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=0,l={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return h}),multi:!0};!function(t){t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate"}(s||(s={}));var p=function(){function t(){}return t}(),h=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.ariaLabel="",this.ariaLabelledby=null,this.id="md-checkbox-"+ ++c,this.required=!1,this.align="start",this.disabled=!1,this.tabindex=0,this.name=null,this.change=new r.EventEmitter,this.onTouched=function(){},this._currentAnimationClass="",this._currentCheckState=s.Init,this._checked=!1,this._indeterminate=!1,this._controlValueAccessorChangeFn=function(t){},this.hasFocus=!1}return Object.defineProperty(t.prototype,"inputId",{get:function(){return"input-"+this.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._indeterminate=!1,this._checked=t,this._transitionCheckState(this._checked?s.Checked:s.Unchecked))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){this._indeterminate=t,this._indeterminate?this._transitionCheckState(s.Indeterminate):this._transitionCheckState(this.checked?s.Checked:s.Unchecked)},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.checked=!!t},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._renderer,r=this._elementRef;e!==t&&(this._currentAnimationClass.length>0&&n.setElementClass(r.nativeElement,this._currentAnimationClass,!1),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0&&n.setElementClass(r.nativeElement,this._currentAnimationClass,!0))},t.prototype._emitChangeEvent=function(){var t=new p;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},t.prototype._onInputFocus=function(){this.hasFocus=!0},t.prototype._onInputBlur=function(){this.hasFocus=!1,this.onTouched()},t.prototype.toggle=function(){this.checked=!this.checked},t.prototype._onInteractionEvent=function(t){t.stopPropagation(),this.disabled||(this.toggle(),this._emitChangeEvent())},t.prototype._onInputClick=function(t){t.stopPropagation()},t.prototype._getAnimationClassForCheckStateTransition=function(t,e){var n;switch(t){case s.Init:if(e!==s.Checked)return"";n="unchecked-checked";break;case s.Unchecked:n=e===s.Checked?"unchecked-checked":"unchecked-indeterminate";break;case s.Checked:n=e===s.Unchecked?"checked-unchecked":"checked-indeterminate";break;case s.Indeterminate:n=e===s.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"md-checkbox-anim-"+n},a([n.i(r.Input)("aria-label"),u("design:type",String)],t.prototype,"ariaLabel",void 0),a([n.i(r.Input)("aria-labelledby"),u("design:type",String)],t.prototype,"ariaLabelledby",void 0),a([n.i(r.Input)(),u("design:type",String)],t.prototype,"id",void 0),a([n.i(r.Input)(),n.i(o.a)(),u("design:type",Boolean)],t.prototype,"required",void 0),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"align",void 0),a([n.i(r.Input)(),u("design:type",Boolean)],t.prototype,"disabled",void 0),a([n.i(r.Input)(),u("design:type",Number)],t.prototype,"tabindex",void 0),a([n.i(r.Input)(),u("design:type",String)],t.prototype,"name",void 0),a([n.i(r.Output)(),u("design:type",r.EventEmitter)],t.prototype,"change",void 0),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"checked",null),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"indeterminate",null),t=a([n.i(r.Component)({selector:"md-checkbox",template:' ',styles:["@keyframes md-checkbox-fade-in-background { 0% { opacity: 0; } 50% { opacity: 1; } } @keyframes md-checkbox-fade-out-background { 0%, 50% { opacity: 1; } 100% { opacity: 0; } } @keyframes md-checkbox-unchecked-checked-checkmark-path { 0%, 50% { stroke-dashoffset: 22.91026; } 50% { animation-timing-function: cubic-bezier(0, 0, 0.2, 0.1); } 100% { stroke-dashoffset: 0; } } @keyframes md-checkbox-unchecked-indeterminate-mixedmark { 0%, 68.2% { transform: scaleX(0); } 68.2% { animation-timing-function: cubic-bezier(0, 0, 0, 1); } 100% { transform: scaleX(1); } } @keyframes md-checkbox-checked-unchecked-checkmark-path { from { animation-timing-function: cubic-bezier(0.4, 0, 1, 1); stroke-dashoffset: 0; } to { stroke-dashoffset: -22.91026; } } @keyframes md-checkbox-checked-indeterminate-checkmark { from { animation-timing-function: cubic-bezier(0, 0, 0.2, 0.1); opacity: 1; transform: rotate(0deg); } to { opacity: 0; transform: rotate(45deg); } } @keyframes md-checkbox-indeterminate-checked-checkmark { from { animation-timing-function: cubic-bezier(0.14, 0, 0, 1); opacity: 0; transform: rotate(45deg); } to { opacity: 1; transform: rotate(360deg); } } @keyframes md-checkbox-checked-indeterminate-mixedmark { from { animation-timing-function: cubic-bezier(0, 0, 0.2, 0.1); opacity: 0; transform: rotate(-45deg); } to { opacity: 1; transform: rotate(0deg); } } @keyframes md-checkbox-indeterminate-checked-mixedmark { from { animation-timing-function: cubic-bezier(0.14, 0, 0, 1); opacity: 1; transform: rotate(0deg); } to { opacity: 0; transform: rotate(315deg); } } @keyframes md-checkbox-indeterminate-unchecked-mixedmark { 0% { animation-timing-function: linear; opacity: 1; transform: scaleX(1); } 32.8%, 100% { opacity: 0; transform: scaleX(0); } } .md-checkbox-frame, .md-checkbox-background, .md-checkbox-checkmark { bottom: 0; left: 0; position: absolute; right: 0; top: 0; } .md-checkbox-checkmark, .md-checkbox-mixedmark { width: calc(100% - 4px); } .md-checkbox-frame, .md-checkbox-background { border-radius: 2px; box-sizing: border-box; pointer-events: none; } md-checkbox { cursor: pointer; } .md-checkbox-layout { cursor: inherit; align-items: baseline; display: inline-flex; } .md-checkbox-inner-container { display: inline-block; height: 20px; line-height: 0; margin: auto; margin-right: 8px; order: 0; position: relative; vertical-align: middle; white-space: nowrap; width: 20px; } [dir='rtl'] .md-checkbox-inner-container { margin-left: 8px; margin-right: auto; } .md-checkbox-layout .md-checkbox-label { line-height: 24px; } .md-checkbox-frame { background-color: transparent; border: 2px solid; transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1); will-change: border-color; } .md-checkbox-background { align-items: center; display: inline-flex; justify-content: center; transition: background-color 90ms cubic-bezier(0, 0, 0.2, 0.1), opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); will-change: background-color, opacity; } .md-checkbox-checkmark { width: 100%; } .md-checkbox-checkmark-path { stroke-dashoffset: 22.91026; stroke-dasharray: 22.91026; stroke-width: 2.66667px; } .md-checkbox-mixedmark { height: 2px; opacity: 0; transform: scaleX(0) rotate(0deg); } .md-checkbox-align-end .md-checkbox-inner-container { order: 1; margin-left: 8px; margin-right: auto; } [dir='rtl'] .md-checkbox-align-end .md-checkbox-inner-container { margin-left: auto; margin-right: 8px; } .md-checkbox-checked .md-checkbox-checkmark { opacity: 1; } .md-checkbox-checked .md-checkbox-checkmark-path { stroke-dashoffset: 0; } .md-checkbox-checked .md-checkbox-mixedmark { transform: scaleX(1) rotate(-45deg); } .md-checkbox-indeterminate .md-checkbox-checkmark { opacity: 0; transform: rotate(45deg); } .md-checkbox-indeterminate .md-checkbox-checkmark-path { stroke-dashoffset: 0; } .md-checkbox-indeterminate .md-checkbox-mixedmark { opacity: 1; transform: scaleX(1) rotate(0deg); } .md-checkbox-unchecked .md-checkbox-background { background-color: transparent; } .md-checkbox-disabled { cursor: default; } .md-checkbox-anim-unchecked-checked .md-checkbox-background { animation: 180ms linear 0ms md-checkbox-fade-in-background; } .md-checkbox-anim-unchecked-checked .md-checkbox-checkmark-path { animation: 180ms linear 0ms md-checkbox-unchecked-checked-checkmark-path; } .md-checkbox-anim-unchecked-indeterminate .md-checkbox-background { animation: 180ms linear 0ms md-checkbox-fade-in-background; } .md-checkbox-anim-unchecked-indeterminate .md-checkbox-mixedmark { animation: 90ms linear 0ms md-checkbox-unchecked-indeterminate-mixedmark; } .md-checkbox-anim-checked-unchecked .md-checkbox-background { animation: 180ms linear 0ms md-checkbox-fade-out-background; } .md-checkbox-anim-checked-unchecked .md-checkbox-checkmark-path { animation: 90ms linear 0ms md-checkbox-checked-unchecked-checkmark-path; } .md-checkbox-anim-checked-indeterminate .md-checkbox-checkmark { animation: 90ms linear 0ms md-checkbox-checked-indeterminate-checkmark; } .md-checkbox-anim-checked-indeterminate .md-checkbox-mixedmark { animation: 90ms linear 0ms md-checkbox-checked-indeterminate-mixedmark; } .md-checkbox-anim-indeterminate-checked .md-checkbox-checkmark { animation: 500ms linear 0ms md-checkbox-indeterminate-checked-checkmark; } .md-checkbox-anim-indeterminate-checked .md-checkbox-mixedmark { animation: 500ms linear 0ms md-checkbox-indeterminate-checked-mixedmark; } .md-checkbox-anim-indeterminate-unchecked .md-checkbox-background { animation: 180ms linear 0ms md-checkbox-fade-out-background; } .md-checkbox-anim-indeterminate-unchecked .md-checkbox-mixedmark { animation: 300ms linear 0ms md-checkbox-indeterminate-unchecked-mixedmark; } .md-checkbox-input { bottom: 0; left: 50%; } .md-ink-ripple { border-radius: 50%; opacity: 0; height: 48px; left: 50%; overflow: hidden; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -50%); transition: opacity ease 280ms, background-color ease 280ms; width: 48px; } .md-checkbox-focused .md-ink-ripple { opacity: 1; } .md-checkbox-disabled .md-ink-ripple { background-color: #000; } /*# sourceMappingURL=checkbox.css.map */ "], -host:{"[class.md-checkbox-indeterminate]":"indeterminate","[class.md-checkbox-checked]":"checked","[class.md-checkbox-disabled]":"disabled","[class.md-checkbox-align-end]":'align == "end"',"[class.md-checkbox-focused]":"hasFocus"},providers:[l],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),u("design:paramtypes",[r.Renderer,r.ElementRef])],t)}(),f=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=a([n.i(r.NgModule)({exports:[h],declarations:[h]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function r(){return function(t,e){var n=t[e],r="__md_private_symbol_"+e;t[r]=n,Object.defineProperty(t,e,{get:function(){return this[r]},set:function(t){this[r]=null!=t&&""+t!="false"}})}}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,r=this._listeners;n=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},x=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};(function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[c.a,l.b]}},t=w([n.i(r.NgModule)({imports:[i.a,o.a,s.a,a.a,u.a,c.b],exports:[i.a,o.a,s.a,a.a,u.a,c.b]}),x("design:paramtypes",[])],t)})()},function(t,e,n){"use strict";var r=n(1),i=n(81);n.d(e,"a",function(){return u});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(t){function e(){t.apply(this,arguments),this.events=["drag","dragstart","dragend","dragright","dragleft","longpress","slide","slidestart","slideend","slideright","slideleft"]}return o(e,t),e.prototype.buildHammer=function(t){var e=new Hammer(t),n=new Hammer.Pan,r=new Hammer.Swipe,i=new Hammer.Press,o=this._createRecognizer(n,{event:"slide",threshold:0},r),s=this._createRecognizer(o,{event:"drag",threshold:6},r),a=this._createRecognizer(i,{event:"longpress",time:500});return n.recognizeWith(r),e.add([r,i,n,s,o,a]),e},e.prototype._createRecognizer=function(t,e){for(var n=[],r=2;r=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t){this._viewportRuler=t}return t.prototype.global=function(){return new s.a},t.prototype.connectedTo=function(t,e,n){return new i.a(t,e,n,this._viewportRuler)},t=a([n.i(o.Injectable)(),u("design:paramtypes",[r.a])],t)}()},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return c});var r;!function(t){t[t.NEW=0]="NEW",t[t.EXPANDING=1]="EXPANDING",t[t.FADING_OUT=2]="FADING_OUT"}(r||(r={}));var i=function(){function t(t){this.rippleElement=t,this.state=r.NEW}return t}(),o=1e3,s=.1,a=.3,u=function(t,e,n){var r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)},c=function(){function t(t,e){this._eventHandlers=e,this._rippleElement=t.nativeElement,this._backgroundDiv=document.createElement("div"),this._backgroundDiv.classList.add("md-ripple-background"),this._rippleElement.appendChild(this._backgroundDiv)}return t.prototype.setTriggerElement=function(t){var e=this;this._triggerElement!==t&&(this._triggerElement&&this._eventHandlers.forEach(function(t,n){e._triggerElement.removeEventListener(n,t)}),this._triggerElement=t,this._triggerElement&&this._eventHandlers.forEach(function(t,n){e._triggerElement.addEventListener(n,t)}))},t.prototype.setTriggerElementToHost=function(){this.setTriggerElement(this._rippleElement)},t.prototype.clearTriggerElement=function(){this.setTriggerElement(null)},t.prototype.createForegroundRipple=function(t,e,n,c,l,p,h){var f=this._rippleElement.getBoundingClientRect(),d=c?f.left+f.width/2:t,m=c?f.top+f.height/2:e,y=d-f.left,v=m-f.top,g=l>0?l:u(d,m,f),b=document.createElement("div");this._rippleElement.appendChild(b),b.classList.add("md-ripple-foreground"),b.style.left=y-g+"px",b.style.top=v-g+"px",b.style.width=2*g+"px",b.style.height=b.style.width,b.style.backgroundColor=n,b.style.transform="scale(0.001)";var _=1/(p||1)*Math.max(s,Math.min(a,g/o));b.style.transitionDuration=_+"s",window.getComputedStyle(b).opacity,b.classList.add("md-ripple-fade-in"),b.style.transform="";var w=new i(b);w.state=r.EXPANDING,b.addEventListener("transitionend",function(t){return h(w,t)})},t.prototype.fadeOutForegroundRipple=function(t){t.classList.remove("md-ripple-fade-in"),t.classList.add("md-ripple-fade-out")},t.prototype.removeRippleFromDom=function(t){t.parentElement.removeChild(t)},t.prototype.fadeInRippleBackground=function(t){this._backgroundDiv.classList.add("md-ripple-active"),this._backgroundDiv.style.backgroundColor=t},t.prototype.fadeOutRippleBackground=function(){this._backgroundDiv&&this._backgroundDiv.classList.remove("md-ripple-active")},t}()},function(t,e,n){"use strict";var r=n(8);n.d(e,"a",function(){return o});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this,"Attempting to attach dialog content after content is already attached")}return i(e,t),e}(r.f)},function(t,e,n){"use strict";var r=n(146);n.d(e,"a",function(){return i});var i=function(){function t(t,e){this._dialogRef=t,this._parentInjector=e}return t.prototype.get=function(t,e){return t===r.a?this._dialogRef:this._parentInjector.get(t,e)},t}()},function(t,e,n){"use strict";var r=n(1),i=n(8),o=n(146),s=n(568),a=n(349);n(348);n.d(e,"a",function(){return p});var u=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e){this._overlay=t,this._injector=e}return t.prototype.open=function(t,e){var n=this._createOverlay(e),r=this._attachDialogContainer(n,e);return this._attachDialogContent(t,r,n)},t.prototype._createOverlay=function(t){var e=this._getOverlayState(t);return this._overlay.create(e)},t.prototype._attachDialogContainer=function(t,e){var n=new i.m(a.a,e.viewContainerRef),r=t.attach(n);return r.instance.dialogConfig=e,r.instance},t.prototype._attachDialogContent=function(t,e,n){var r=new o.a(n);n.backdropClick().subscribe(function(){return r.close()}),e.dialogRef=r;var a=new s.a(r,this._injector),u=new i.m(t,null,a),c=e.attachComponentPortal(u);return r.componentInstance=c.instance,r},t.prototype._getOverlayState=function(t){var e=new i.n;return e.hasBackdrop=!0,e.positionStrategy=this._overlay.position().global().centerHorizontally().centerVertically(),e},t=u([n.i(r.Injectable)(),c("design:paramtypes",[i.o,r.Injector])],t)}(),p=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l,i.q,i.B]}},t=u([n.i(r.NgModule)({imports:[i.r,i.s,i.C],exports:[a.a],declarations:[a.a],entryComponents:[a.a]}),c("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(571),o=n(572),s=n(573),a=n(219),u=n(8),c=n(351);n.d(e,"a",function(){return m});var l=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},f="fit",d=function(){function t(t,e,n){this._renderer=t,this._element=e,this._dir=n,this._gutter="1px"}return Object.defineProperty(t.prototype,"cols",{get:function(){return this._cols},set:function(t){this._cols=n.i(c.a)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return this._gutter},set:function(t){this._gutter=n.i(c.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{set:function(t){this._rowHeight=n.i(c.b)(t),this._setTileStyler()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._checkCols(),this._checkRowHeight()},t.prototype.ngAfterContentChecked=function(){this._layoutTiles()},t.prototype._checkCols=function(){if(!this.cols)throw new a.c},t.prototype._checkRowHeight=function(){this._rowHeight||(this._tileStyler=new s.a("1:1"))},t.prototype._setTileStyler=function(){this._rowHeight===f?this._tileStyler=new s.b:this._rowHeight&&this._rowHeight.match(/:/g)?this._tileStyler=new s.a(this._rowHeight):this._tileStyler=new s.c(this._rowHeight)},t.prototype._layoutTiles=function(){var t=this._tiles.toArray(),e=new o.a(this.cols,t),n=this._dir?this._dir.value:"ltr";this._tileStyler.init(this.gutterSize,e,this.cols,n);for(var r=0;r ',styles:["md-grid-list { display: block; position: relative; } md-grid-tile { display: block; position: absolute; overflow: hidden; } md-grid-tile figure { display: flex; position: absolute; align-items: center; justify-content: center; height: 100%; top: 0; right: 0; bottom: 0; left: 0; padding: 0; margin: 0; } md-grid-tile md-grid-tile-header, md-grid-tile md-grid-tile-footer { display: flex; align-items: center; height: 48px; color: #fff; background: rgba(0, 0, 0, 0.38); overflow: hidden; padding: 0 16px; font-size: 16px; position: absolute; left: 0; right: 0; } md-grid-tile md-grid-tile-header [md-line], md-grid-tile md-grid-tile-footer [md-line] { white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; display: block; box-sizing: border-box; } md-grid-tile md-grid-tile-header [md-line]:nth-child(n+2), md-grid-tile md-grid-tile-footer [md-line]:nth-child(n+2) { font-size: 12px; } md-grid-tile md-grid-tile-header > *, md-grid-tile md-grid-tile-footer > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-grid-tile md-grid-tile-header.md-2-line, md-grid-tile md-grid-tile-footer.md-2-line { height: 68px; } md-grid-tile .md-grid-list-text { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; overflow: hidden; } md-grid-tile .md-grid-list-text > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-grid-tile .md-grid-list-text:empty { display: none; } md-grid-tile md-grid-tile-header { top: 0; } md-grid-tile md-grid-tile-footer { bottom: 0; } md-grid-tile [md-grid-avatar] { padding-right: 16px; } [dir='rtl'] md-grid-tile [md-grid-avatar] { padding-right: 0; padding-left: 16px; } md-grid-tile [md-grid-avatar]:empty { display: none; } /*# sourceMappingURL=grid-list.css.map */ "],encapsulation:r.ViewEncapsulation.None}),h(2,n.i(r.Optional)()),p("design:paramtypes",[r.Renderer,r.ElementRef,u.g])],t)}(),m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=l([n.i(r.NgModule)({imports:[u.j],exports:[d,i.a,i.b,u.j],declarations:[d,i.a,i.b]}),p("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(8),o=n(351);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e){this._renderer=t,this._element=e,this._rowspan=1,this._colspan=1}return Object.defineProperty(t.prototype,"rowspan",{get:function(){return this._rowspan},set:function(t){this._rowspan=n.i(o.a)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"colspan",{get:function(){return this._colspan},set:function(t){this._colspan=n.i(o.a)(t)},enumerable:!0,configurable:!0}),t.prototype._setStyle=function(t,e){this._renderer.setElementStyle(this._element.nativeElement,t,e)},s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"rowspan",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"colspan",null),t=s([n.i(r.Component)({selector:"md-grid-tile",host:{role:"listitem"},template:"
",styles:["md-grid-list { display: block; position: relative; } md-grid-tile { display: block; position: absolute; overflow: hidden; } md-grid-tile figure { display: flex; position: absolute; align-items: center; justify-content: center; height: 100%; top: 0; right: 0; bottom: 0; left: 0; padding: 0; margin: 0; } md-grid-tile md-grid-tile-header, md-grid-tile md-grid-tile-footer { display: flex; align-items: center; height: 48px; color: #fff; background: rgba(0, 0, 0, 0.38); overflow: hidden; padding: 0 16px; font-size: 16px; position: absolute; left: 0; right: 0; } md-grid-tile md-grid-tile-header [md-line], md-grid-tile md-grid-tile-footer [md-line] { white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; display: block; box-sizing: border-box; } md-grid-tile md-grid-tile-header [md-line]:nth-child(n+2), md-grid-tile md-grid-tile-footer [md-line]:nth-child(n+2) { font-size: 12px; } md-grid-tile md-grid-tile-header > *, md-grid-tile md-grid-tile-footer > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-grid-tile md-grid-tile-header.md-2-line, md-grid-tile md-grid-tile-footer.md-2-line { height: 68px; } md-grid-tile .md-grid-list-text { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; overflow: hidden; } md-grid-tile .md-grid-list-text > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-grid-tile .md-grid-list-text:empty { display: none; } md-grid-tile md-grid-tile-header { top: 0; } md-grid-tile md-grid-tile-footer { bottom: 0; } md-grid-tile [md-grid-avatar] { padding-right: 16px; } [dir='rtl'] md-grid-tile [md-grid-avatar] { padding-right: 0; padding-left: 16px; } md-grid-tile [md-grid-avatar]:empty { display: none; } /*# sourceMappingURL=grid-list.css.map */ "],encapsulation:r.ViewEncapsulation.None}),a("design:paramtypes",[r.Renderer,r.ElementRef])],t)}(),c=function(){function t(t,e){this._renderer=t,this._element=e}return t.prototype.ngAfterContentInit=function(){this._lineSetter=new i.h(this._lines,this._renderer,this._element)},s([n.i(r.ContentChildren)(i.i),a("design:type",r.QueryList)],t.prototype,"_lines",void 0),t=s([n.i(r.Component)({selector:"md-grid-tile-header, md-grid-tile-footer",template:'
'}),a("design:paramtypes",[r.Renderer,r.ElementRef])],t)}()},function(t,e,n){"use strict";var r=n(219);n.d(e,"a",function(){return i});var i=function(){function t(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(function(t){return n._trackTile(t)})}return Object.defineProperty(t.prototype,"rowCount",{get:function(){return this.rowIndex+1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowspan",{get:function(){var t=Math.max.apply(Math,this.tracker);return t>1?this.rowCount+t-1:this.rowCount},enumerable:!0,configurable:!0}),t.prototype._trackTile=function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new o(this.rowIndex,e)},t.prototype._findMatchingGap=function(t){if(t>this.tracker.length)throw new r.a(t,this.tracker.length);var e=-1,n=-1;do this.columnIndex+t>this.tracker.length?this._nextRow():(e=this.tracker.indexOf(0,this.columnIndex),e!=-1?(n=this._findGapEndIndex(e),this.columnIndex=e+1):this._nextRow());while(n-e=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(t){function e(e){t.call(this,'Invalid icon name: "'+e+'"')}return a(e,t),e}(o.f),p=function(){function t(t,e,n){this._element=t,this._renderer=e,this._mdIconRegistry=n,this.hostAriaLabel=""}return t.prototype._splitIconName=function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw new l(t)}},t.prototype.ngOnChanges=function(t){var e=this,n=Object.keys(t);if(n.indexOf("svgIcon")!=-1||n.indexOf("svgSrc")!=-1)if(this.svgIcon){var r=this._splitIconName(this.svgIcon),i=r[0],o=r[1];this._mdIconRegistry.getNamedSvgIcon(o,i).subscribe(function(t){return e._setSvgElement(t)},function(t){return console.log("Error retrieving icon: "+t)})}else this.svgSrc&&this._mdIconRegistry.getSvgIconFromUrl(this.svgSrc).subscribe(function(t){return e._setSvgElement(t)},function(t){return console.log("Error retrieving icon: "+t)});this._usingFontIcon()&&this._updateFontIconClasses(),this._updateAriaLabel()},t.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngAfterViewChecked=function(){this._updateAriaLabel()},t.prototype._updateAriaLabel=function(){var t=this._getAriaLabel();t&&this._renderer.setElementAttribute(this._element.nativeElement,"aria-label",t)},t.prototype._getAriaLabel=function(){var t=this.hostAriaLabel||this.alt||this.fontIcon||this._splitIconName(this.svgIcon)[1];if(t)return t;if(this._usingFontIcon()){var e=this._element.nativeElement.textContent;if(e)return e}return null},t.prototype._usingFontIcon=function(){return!(this.svgIcon||this.svgSrc)},t.prototype._setSvgElement=function(t){var e=this._element.nativeElement;e.innerHTML="",this._renderer.projectNodes(e,[t])},t.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var t=this._element.nativeElement,e=this.fontSet?this._mdIconRegistry.classNameForFontAlias(this.fontSet):this._mdIconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&this._renderer.setElementClass(t,this._previousFontSetClass,!1),e&&this._renderer.setElementClass(t,e,!0),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&this._renderer.setElementClass(t,this._previousFontIconClass,!1),this.fontIcon&&this._renderer.setElementClass(t,this.fontIcon,!0),this._previousFontIconClass=this.fontIcon)}},u([n.i(r.Input)(),c("design:type",String)],t.prototype,"svgSrc",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"svgIcon",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"fontSet",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"fontIcon",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"alt",void 0),u([n.i(r.Input)("aria-label"),c("design:type",String)],t.prototype,"hostAriaLabel",void 0),t=u([n.i(r.Component)({template:"",selector:"md-icon",styles:["md-icon { background-repeat: no-repeat; display: inline-block; fill: currentColor; height: 24px; width: 24px; } /*# sourceMappingURL=icon.css.map */ "],host:{role:"img"},encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}),c("design:paramtypes",[r.ElementRef,r.Renderer,s.a])],t)}(),h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t=u([n.i(r.NgModule)({imports:[i.d],exports:[p],declarations:[p]}),c("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=(n(8),n(579));n(332),n(331),n(333),n(334),n(350),n(352),n(354),n(355),n(356),n(357),n(360),n(361),n(362),n(363),n(365),n(367),n(366),n(586),n(371),n(372),n(373);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(1),i=n(71),o=n(47),s=n(8),a=n(0);n.n(a);n.d(e,"a",function(){return w});var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){},h={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return _}),multi:!0},f=["file","radio","checkbox"],d=0,m=function(t){function e(){t.call(this,"Placeholder attribute and child element were both specified.")}return u(e,t),e}(s.f),y=function(t){function e(e){t.call(this,'Input type "'+e+"\" isn't supported by md-input.")}return u(e,t),e}(s.f),v=function(t){function e(e){t.call(this,"A hint was already declared for 'align=\""+e+"\"'.")}return u(e,t),e}(s.f),g=function(){function t(){}return t=c([n.i(r.Directive)({selector:"md-placeholder"}),l("design:paramtypes",[])],t)}(),b=function(){function t(){this.align="start"}return c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"align",void 0),t=c([n.i(r.Directive)({selector:"md-hint",host:{"[class.md-right]":'align == "end"',"[class.md-hint]":"true"}}),l("design:paramtypes",[])],t)}(),_=function(){function t(){this._focused=!1,this._value="",this._onTouchedCallback=p,this._onChangeCallback=p,this.align="start",this.dividerColor="primary",this.floatingPlaceholder=!0,this.hintLabel="",this.autofocus=!1,this.disabled=!1, -this.id="md-input-"+d++,this.list=null,this.max=null,this.maxlength=null,this.min=null,this.minlength=null,this.placeholder=null,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.step=null,this.tabindex=null,this.type="text",this.name=null,this._blurEmitter=new r.EventEmitter,this._focusEmitter=new r.EventEmitter}return Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty",{get:function(){return(null==this._value||""===this._value)&&"date"!==this.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterCount",{get:function(){return this.empty?0:(""+this._value).length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._blurEmitter.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._focusEmitter.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t=this._convertValueForInputType(t),t!==this._value&&(this._value=t,this._onChangeCallback(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_align",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._inputElement.nativeElement.focus()},t.prototype._handleFocus=function(t){this._focused=!0,this._focusEmitter.emit(t)},t.prototype._handleBlur=function(t){this._focused=!1,this._onTouchedCallback(),this._blurEmitter.emit(t)},t.prototype._handleChange=function(t){this.value=t.target.value,this._onTouchedCallback()},t.prototype._hasPlaceholder=function(){return!!this.placeholder||null!=this._placeholderChild},t.prototype.writeValue=function(t){this._value=t},t.prototype.registerOnChange=function(t){this._onChangeCallback=t},t.prototype.registerOnTouched=function(t){this._onTouchedCallback=t},t.prototype.ngAfterContentInit=function(){var t=this;this._validateConstraints(),this._hintChildren.changes.subscribe(function(){t._validateConstraints()})},t.prototype.ngOnChanges=function(t){this._validateConstraints()},t.prototype._convertValueForInputType=function(t){switch(this.type){case"number":return parseFloat(t);default:return t}},t.prototype._validateConstraints=function(){var t=this;if(""!=this.placeholder&&null!=this.placeholder&&null!=this._placeholderChild)throw new m;if(f.indexOf(this.type)!=-1)throw new y(this.type);if(this._hintChildren){var e=null,n=null;this._hintChildren.forEach(function(r){if("start"==r.align){if(e||t.hintLabel)throw new v("start");e=r}else if("end"==r.align){if(n)throw new v("end");n=r}})}},c([n.i(r.Input)("aria-label"),l("design:type",String)],t.prototype,"ariaLabel",void 0),c([n.i(r.Input)("aria-labelledby"),l("design:type",String)],t.prototype,"ariaLabelledBy",void 0),c([n.i(r.Input)("aria-disabled"),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"ariaDisabled",void 0),c([n.i(r.Input)("aria-required"),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"ariaRequired",void 0),c([n.i(r.Input)("aria-invalid"),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"ariaInvalid",void 0),c([n.i(r.ContentChild)(g),l("design:type",g)],t.prototype,"_placeholderChild",void 0),c([n.i(r.ContentChildren)(b),l("design:type",r.QueryList)],t.prototype,"_hintChildren",void 0),c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"align",void 0),c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"dividerColor",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"floatingPlaceholder",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"hintLabel",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"autocomplete",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"autocorrect",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"autocapitalize",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"autofocus",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"disabled",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"id",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"list",void 0),c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"max",void 0),c([n.i(r.Input)(),l("design:type",Number)],t.prototype,"maxlength",void 0),c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"min",void 0),c([n.i(r.Input)(),l("design:type",Number)],t.prototype,"minlength",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"placeholder",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"readonly",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"required",void 0),c([n.i(r.Input)(),n.i(s.a)(),l("design:type",Boolean)],t.prototype,"spellcheck",void 0),c([n.i(r.Input)(),l("design:type",Number)],t.prototype,"step",void 0),c([n.i(r.Input)(),l("design:type",Number)],t.prototype,"tabindex",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"type",void 0),c([n.i(r.Input)(),l("design:type",String)],t.prototype,"name",void 0),c([n.i(r.Output)("blur"),l("design:type",a.Observable)],t.prototype,"onBlur",null),c([n.i(r.Output)("focus"),l("design:type",a.Observable)],t.prototype,"onFocus",null),c([n.i(r.Input)(),l("design:type",Object)],t.prototype,"value",null),c([n.i(r.HostBinding)("attr.align"),l("design:type",Object)],t.prototype,"_align",null),c([n.i(r.ViewChild)("input"),l("design:type",r.ElementRef)],t.prototype,"_inputElement",void 0),t=c([n.i(r.Component)({selector:"md-input",template:'
{{hintLabel}}
',styles:["md-input { display: inline-block; position: relative; font-family: Roboto, \"Helvetica Neue\", sans-serif; text-align: left; } [dir='rtl'] md-input { text-align: right; } .md-input-wrapper { margin: 16px 0; } .md-input-table { display: inline-table; flex-flow: column; vertical-align: bottom; width: 100%; } .md-input-table > * { display: table-cell; } .md-input-infix { position: relative; } .md-input-element { font: inherit; background: transparent; color: currentColor; border: none; outline: none; padding: 0; width: 100%; } .md-input-element.md-end { text-align: right; } [dir='rtl'] .md-input-element.md-end { text-align: left; } .md-input-element:-moz-ui-invalid { box-shadow: none; } .md-input-element:-webkit-autofill + .md-input-placeholder { display: block; padding-bottom: 5px; transform: translateY(-100%) scale(0.75); width: 133.33333%; } .md-input-placeholder { position: absolute; left: 0; top: 0; font-size: 100%; pointer-events: none; z-index: 1; width: 100%; display: none; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; transform: translateY(0); transform-origin: bottom left; transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1), scale 400ms cubic-bezier(0.25, 0.8, 0.25, 1), color 400ms cubic-bezier(0.25, 0.8, 0.25, 1), width 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-input-placeholder.md-empty { display: block; cursor: text; } .md-input-placeholder.md-float:not(.md-empty), .md-input-placeholder.md-float.md-focused { display: block; padding-bottom: 5px; transform: translateY(-100%) scale(0.75); width: 133.33333%; } [dir='rtl'] .md-input-placeholder { transform-origin: bottom right; } .md-input-underline { position: absolute; height: 1px; width: 100%; margin-top: 4px; border-top-width: 1px; border-top-style: solid; } .md-input-underline.md-disabled { border-top: 0; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.26) 33%, transparent 0%); background-position: 0; background-size: 4px 1px; background-repeat: repeat-x; } .md-input-underline .md-input-ripple { position: absolute; height: 2px; z-index: 1; top: -1px; width: 100%; transform-origin: top; opacity: 0; transform: scaleY(0); transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1), opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-input-underline .md-input-ripple.md-focused { opacity: 1; transform: scaleY(1); } .md-hint { position: absolute; font-size: 75%; bottom: -0.5em; } .md-hint.md-right { right: 0; } [dir='rtl'] .md-hint { right: 0; left: auto; } [dir='rtl'] .md-hint.md-right { right: auto; left: 0; } /*# sourceMappingURL=input.css.map */ "],providers:[h],host:{"(click)":"focus()"},encapsulation:r.ViewEncapsulation.None}),l("design:paramtypes",[])],t)}(),w=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=c([n.i(r.NgModule)({declarations:[g,_,b],imports:[o.b,i.b],exports:[g,_,b]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(8);n.d(e,"a",function(){return p});var o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(){}return t=o([n.i(r.Directive)({selector:"md-divider"}),s("design:paramtypes",[])],t)}(),u=function(){function t(){}return t=o([n.i(r.Component)({selector:"md-list, md-nav-list",host:{role:"list"},template:"",styles:['md-list, md-nav-list { padding-top: 8px; display: block; } md-list [md-subheader], md-nav-list [md-subheader] { display: block; box-sizing: border-box; height: 48px; padding: 16px; margin: 0; font-size: 14px; font-weight: 500; } md-list [md-subheader]:first-child, md-nav-list [md-subheader]:first-child { margin-top: -8px; } md-list md-list-item .md-list-item, md-list a[md-list-item] .md-list-item, md-nav-list md-list-item .md-list-item, md-nav-list a[md-list-item] .md-list-item { display: flex; flex-direction: row; align-items: center; font-family: Roboto, "Helvetica Neue", sans-serif; box-sizing: border-box; font-size: 16px; height: 48px; padding: 0 16px; } md-list md-list-item.md-list-avatar .md-list-item, md-list a[md-list-item].md-list-avatar .md-list-item, md-nav-list md-list-item.md-list-avatar .md-list-item, md-nav-list a[md-list-item].md-list-avatar .md-list-item { height: 56px; } md-list md-list-item.md-2-line .md-list-item, md-list a[md-list-item].md-2-line .md-list-item, md-nav-list md-list-item.md-2-line .md-list-item, md-nav-list a[md-list-item].md-2-line .md-list-item { height: 72px; } md-list md-list-item.md-3-line .md-list-item, md-list a[md-list-item].md-3-line .md-list-item, md-nav-list md-list-item.md-3-line .md-list-item, md-nav-list a[md-list-item].md-3-line .md-list-item { height: 88px; } md-list md-list-item .md-list-text, md-list a[md-list-item] .md-list-text, md-nav-list md-list-item .md-list-text, md-nav-list a[md-list-item] .md-list-text { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; overflow: hidden; padding: 0 16px; } md-list md-list-item .md-list-text > *, md-list a[md-list-item] .md-list-text > *, md-nav-list md-list-item .md-list-text > *, md-nav-list a[md-list-item] .md-list-text > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-list md-list-item .md-list-text:empty, md-list a[md-list-item] .md-list-text:empty, md-nav-list md-list-item .md-list-text:empty, md-nav-list a[md-list-item] .md-list-text:empty { display: none; } md-list md-list-item .md-list-text:first-child, md-list a[md-list-item] .md-list-text:first-child, md-nav-list md-list-item .md-list-text:first-child, md-nav-list a[md-list-item] .md-list-text:first-child { padding: 0; } md-list md-list-item [md-list-avatar], md-list a[md-list-item] [md-list-avatar], md-nav-list md-list-item [md-list-avatar], md-nav-list a[md-list-item] [md-list-avatar] { width: 40px; height: 40px; border-radius: 50%; } md-list md-list-item [md-list-icon], md-list a[md-list-item] [md-list-icon], md-nav-list md-list-item [md-list-icon], md-nav-list a[md-list-item] [md-list-icon] { width: 24px; height: 24px; border-radius: 50%; padding: 4px; } md-list md-list-item [md-line], md-list a[md-list-item] [md-line], md-nav-list md-list-item [md-line], md-nav-list a[md-list-item] [md-line] { white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; display: block; box-sizing: border-box; } md-list md-list-item [md-line]:nth-child(n+2), md-list a[md-list-item] [md-line]:nth-child(n+2), md-nav-list md-list-item [md-line]:nth-child(n+2), md-nav-list a[md-list-item] [md-line]:nth-child(n+2) { font-size: 14px; } md-list[dense], md-nav-list[dense] { padding-top: 4px; display: block; } md-list[dense] [md-subheader], md-nav-list[dense] [md-subheader] { display: block; box-sizing: border-box; height: 40px; padding: 16px; margin: 0; font-size: 13px; font-weight: 500; } md-list[dense] [md-subheader]:first-child, md-nav-list[dense] [md-subheader]:first-child { margin-top: -4px; } md-list[dense] md-list-item .md-list-item, md-list[dense] a[md-list-item] .md-list-item, md-nav-list[dense] md-list-item .md-list-item, md-nav-list[dense] a[md-list-item] .md-list-item { display: flex; flex-direction: row; align-items: center; font-family: Roboto, "Helvetica Neue", sans-serif; box-sizing: border-box; font-size: 13px; height: 40px; padding: 0 16px; } md-list[dense] md-list-item.md-list-avatar .md-list-item, md-list[dense] a[md-list-item].md-list-avatar .md-list-item, md-nav-list[dense] md-list-item.md-list-avatar .md-list-item, md-nav-list[dense] a[md-list-item].md-list-avatar .md-list-item { height: 48px; } md-list[dense] md-list-item.md-2-line .md-list-item, md-list[dense] a[md-list-item].md-2-line .md-list-item, md-nav-list[dense] md-list-item.md-2-line .md-list-item, md-nav-list[dense] a[md-list-item].md-2-line .md-list-item { height: 60px; } md-list[dense] md-list-item.md-3-line .md-list-item, md-list[dense] a[md-list-item].md-3-line .md-list-item, md-nav-list[dense] md-list-item.md-3-line .md-list-item, md-nav-list[dense] a[md-list-item].md-3-line .md-list-item { height: 76px; } md-list[dense] md-list-item .md-list-text, md-list[dense] a[md-list-item] .md-list-text, md-nav-list[dense] md-list-item .md-list-text, md-nav-list[dense] a[md-list-item] .md-list-text { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; overflow: hidden; padding: 0 16px; } md-list[dense] md-list-item .md-list-text > *, md-list[dense] a[md-list-item] .md-list-text > *, md-nav-list[dense] md-list-item .md-list-text > *, md-nav-list[dense] a[md-list-item] .md-list-text > * { margin: 0; padding: 0; font-weight: normal; font-size: inherit; } md-list[dense] md-list-item .md-list-text:empty, md-list[dense] a[md-list-item] .md-list-text:empty, md-nav-list[dense] md-list-item .md-list-text:empty, md-nav-list[dense] a[md-list-item] .md-list-text:empty { display: none; } md-list[dense] md-list-item .md-list-text:first-child, md-list[dense] a[md-list-item] .md-list-text:first-child, md-nav-list[dense] md-list-item .md-list-text:first-child, md-nav-list[dense] a[md-list-item] .md-list-text:first-child { padding: 0; } md-list[dense] md-list-item [md-list-avatar], md-list[dense] a[md-list-item] [md-list-avatar], md-nav-list[dense] md-list-item [md-list-avatar], md-nav-list[dense] a[md-list-item] [md-list-avatar] { width: 40px; height: 40px; border-radius: 50%; } md-list[dense] md-list-item [md-list-icon], md-list[dense] a[md-list-item] [md-list-icon], md-nav-list[dense] md-list-item [md-list-icon], md-nav-list[dense] a[md-list-item] [md-list-icon] { width: 24px; height: 24px; border-radius: 50%; padding: 4px; } md-list[dense] md-list-item [md-line], md-list[dense] a[md-list-item] [md-line], md-nav-list[dense] md-list-item [md-line], md-nav-list[dense] a[md-list-item] [md-line] { white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; display: block; box-sizing: border-box; } md-list[dense] md-list-item [md-line]:nth-child(n+2), md-list[dense] a[md-list-item] [md-line]:nth-child(n+2), md-nav-list[dense] md-list-item [md-line]:nth-child(n+2), md-nav-list[dense] a[md-list-item] [md-line]:nth-child(n+2) { font-size: 13px; } md-divider { display: block; border-top: 1px solid; margin: 0; } md-nav-list a { text-decoration: none; color: inherit; } md-nav-list .md-list-item { cursor: pointer; } md-nav-list .md-list-item:hover, md-nav-list .md-list-item.md-list-item-focus { outline: none; } /*# sourceMappingURL=list.css.map */ '],encapsulation:r.ViewEncapsulation.None}),s("design:paramtypes",[])],t)}(),c=function(){function t(){}return t=o([n.i(r.Directive)({selector:"[md-list-avatar]"}),s("design:paramtypes",[])],t)}(),l=function(){function t(t,e){this._renderer=t,this._element=e,this._hasFocus=!1}return Object.defineProperty(t.prototype,"_hasAvatar",{set:function(t){this._renderer.setElementClass(this._element.nativeElement,"md-list-avatar",null!=t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._lineSetter=new i.h(this._lines,this._renderer,this._element)},t.prototype._handleFocus=function(){this._hasFocus=!0},t.prototype._handleBlur=function(){this._hasFocus=!1},o([n.i(r.ContentChildren)(i.i),s("design:type",r.QueryList)],t.prototype,"_lines",void 0),o([n.i(r.ContentChild)(c),s("design:type",c),s("design:paramtypes",[c])],t.prototype,"_hasAvatar",null),t=o([n.i(r.Component)({selector:"md-list-item, a[md-list-item]",host:{role:"listitem","(focus)":"_handleFocus()","(blur)":"_handleBlur()"},template:'
',encapsulation:r.ViewEncapsulation.None}),s("design:paramtypes",[r.Renderer,r.ElementRef])],t)}(),p=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=o([n.i(r.NgModule)({imports:[i.j],exports:[u,l,a,c,i.j],declarations:[u,l,a,c]}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(47),o=n(8),s=n(220),a=n(221),u=n(359);n.d(e,"a",function(){return p});var c=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:o.q}},t=c([n.i(r.NgModule)({imports:[o.r,i.b],exports:[s.a,a.a,u.a],declarations:[s.a,a.a,u.a]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(337),o=n(331),s=n(332),a=n(334),u=n(362),c=n(363),l=n(366),p=n(367),h=n(365),f=n(356),d=n(352),m=n(333),y=n(354),v=n(361),g=n(360),b=n(355),_=n(370),w=n(371),x=n(372),E=n(373),S=n(357),C=n(350);n.d(e,"a",function(){return A});var O=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},k=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},P=[s.a,o.a,m.a,a.a,C.a,d.a,y.a,b.a,f.a,S.a,g.a,v.a,u.a,i.c,c.a,h.a,p.a,l.a,_.a,w.a,x.a,E.a,i.r,i.s,i.D,i.C],T=function(){function t(){}return t=O([n.i(r.NgModule)({imports:[s.a.forRoot(),m.a.forRoot(),a.a.forRoot(),d.a.forRoot(),b.a.forRoot(),f.a.forRoot(),g.a.forRoot(),v.a.forRoot(),i.c.forRoot(),c.a.forRoot(),h.a.forRoot(),w.a.forRoot(),x.a.forRoot(),i.s.forRoot(),i.D.forRoot(),i.C.forRoot(),o.a.forRoot(),C.a.forRoot(),y.a.forRoot(),S.a.forRoot(),u.a.forRoot(),p.a.forRoot(),l.a.forRoot(),_.a.forRoot(),E.a.forRoot(),i.r.forRoot()],exports:P}),k("design:paramtypes",[])],t)}(),A=function(){function t(){}return t.forRoot=function(){return{ngModule:T}},t=O([n.i(r.NgModule)({imports:P,exports:P}),k("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=100),Math.max(e,Math.min(n,t))}var i=n(1),o=n(47);n.d(e,"a",function(){return c});var s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(){this._value=0,this._bufferValue=0,this.mode="determinate"}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=r(t||0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(t){this._bufferValue=r(t||0)},enumerable:!0,configurable:!0}),t.prototype._primaryTransform=function(){var t=this.value/100;return{transform:"scaleX("+t+")"}},t.prototype._bufferTransform=function(){if("buffer"==this.mode){var t=this.bufferValue/100;return{transform:"scaleX("+t+")"}}},s([n.i(i.Input)(),n.i(i.HostBinding)("attr.aria-valuenow"),a("design:type",Object)],t.prototype,"value",null),s([n.i(i.Input)(),a("design:type",Object)],t.prototype,"bufferValue",null),s([n.i(i.Input)(),n.i(i.HostBinding)("attr.mode"),a("design:type",Object)],t.prototype,"mode",void 0),t=s([n.i(i.Component)({selector:"md-progress-bar",host:{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100"},template:'
',styles:[":host { display: block; height: 5px; overflow: hidden; position: relative; transform: translateZ(0); transition: opacity 250ms linear; width: 100%; } :host .md-progress-bar-background { background-repeat: repeat-x; background-size: 10px 4px; height: 100%; position: absolute; visibility: hidden; width: 100%; } :host .md-progress-bar-buffer { height: 100%; position: absolute; transform-origin: top left; transition: transform 250ms ease; width: 100%; } :host .md-progress-bar-secondary { visibility: hidden; } :host .md-progress-bar-fill { animation: none; height: 100%; position: absolute; transform-origin: top left; transition: transform 250ms ease; width: 100%; } :host .md-progress-bar-fill::after { animation: none; content: ''; display: inline-block; height: 100%; position: absolute; width: 100%; } :host[mode='query'] { transform: rotateZ(180deg); } :host[mode='indeterminate'] .md-progress-bar-fill, :host[mode='query'] .md-progress-bar-fill { transition: none; } :host[mode='indeterminate'] .md-progress-bar-primary, :host[mode='query'] .md-progress-bar-primary { animation: md-progress-bar-primary-indeterminate-translate 2000ms infinite linear; left: -145.166611%; } :host[mode='indeterminate'] .md-progress-bar-primary.md-progress-bar-fill::after, :host[mode='query'] .md-progress-bar-primary.md-progress-bar-fill::after { animation: md-progress-bar-primary-indeterminate-scale 2000ms infinite linear; } :host[mode='indeterminate'] .md-progress-bar-secondary, :host[mode='query'] .md-progress-bar-secondary { animation: md-progress-bar-secondary-indeterminate-translate 2000ms infinite linear; left: -54.888891%; visibility: visible; } :host[mode='indeterminate'] .md-progress-bar-secondary.md-progress-bar-fill::after, :host[mode='query'] .md-progress-bar-secondary.md-progress-bar-fill::after { animation: md-progress-bar-secondary-indeterminate-scale 2000ms infinite linear; } :host[mode='buffer'] .md-progress-bar-background { animation: md-progress-bar-background-scroll 250ms infinite linear; visibility: visible; } :host-context([dir='rtl']) { transform: rotateY(180deg); } @keyframes md-progress-bar-primary-indeterminate-translate { 0% { transform: translateX(0); } 20% { animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582); transform: translateX(0); } 59.15% { animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635); transform: translateX(83.67142%); } 100% { transform: translateX(200.61106%); } } @keyframes md-progress-bar-primary-indeterminate-scale { 0% { transform: scaleX(0.08); } 36.65% { animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1); transform: scaleX(0.08); } 69.15% { animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1); transform: scaleX(0.66148); } 100% { transform: scaleX(0.08); } } @keyframes md-progress-bar-secondary-indeterminate-translate { 0% { animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40969); transform: translateX(0); } 25% { animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73371); transform: translateX(37.65191%); } 48.35% { animation-timing-function: cubic-bezier(0.4, 0.62704, 0.6, 0.90203); transform: translateX(84.38617%); } 100% { transform: translateX(160.27778%); } } @keyframes md-progress-bar-secondary-indeterminate-scale { 0% { animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40969); transform: scaleX(0.08); } 19.15% { animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73371); transform: scaleX(0.4571); } 44.15% { animation-timing-function: cubic-bezier(0.4, 0.62704, 0.6, 0.90203); transform: scaleX(0.72796); } 100% { transform: scaleX(0.08); } } @keyframes md-progress-bar-background-scroll { to { transform: translateX(-10px); } } /*# sourceMappingURL=progress-bar.css.map */ "],changeDetection:i.ChangeDetectionStrategy.OnPush}),a("design:paramtypes",[])],t)}(),c=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=s([n.i(i.NgModule)({imports:[o.b],exports:[u],declarations:[u]}),a("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function r(t){return Math.max(0,Math.min(100,t))}function i(t,e,n){var r=(n-90)*h;return t+e*Math.cos(r)+","+(t+e*Math.sin(r))}function o(t,e,n,r){return n*t/r+e}function s(t,e,n,r){var i=t/r,o=Math.pow(i,3),s=Math.pow(i,4),a=Math.pow(i,5);return e+n*(6*a+-15*s+10*o)}function a(t,e){var n,r=3.5999,o=e||0,s=50,a=40,u=o*r,c=t*r,l=i(s,a,u),p=i(s,a,c+u),h=c<0?0:1;return n=c<0?c>=-180?0:1:c<=180?0:1,"M"+l+"A"+a+","+a+" 0 "+n+","+h+" "+p}var u=n(1);n.d(e,"a",function(){return b});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=Math.PI/180,f=667,d=225,m=3,y=80,v=function(){function t(t){this._changeDetectorRef=t,this._lastAnimationId=0,this._mode="determinate"}return Object.defineProperty(t.prototype,"_ariaValueMin",{get:function(){return"determinate"==this.mode?0:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ariaValueMax",{get:function(){return"determinate"==this.mode?100:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"interdeterminateInterval",{get:function(){return this._interdeterminateInterval},set:function(t){clearInterval(this._interdeterminateInterval),this._interdeterminateInterval=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentPath",{get:function(){return this._currentPath},set:function(t){this._currentPath=t,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._cleanupIndeterminateAnimation()},Object.defineProperty(t.prototype,"value",{get:function(){if("determinate"==this.mode)return this._value},set:function(t){if(t&&"determinate"==this.mode){var e=r(t);this._animateCircle(this.value||0,e,o,d,0),this._value=e}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){"indeterminate"==t?this._startIndeterminateAnimation():this._cleanupIndeterminateAnimation(),this._mode=t},enumerable:!0,configurable:!0}),t.prototype._animateCircle=function(t,e,n,r,i){var o=this,s=++this._lastAnimationId,u=Date.now(),c=e-t;if(e===t)this.currentPath=a(e,i);else{var l=function(){var e=Math.max(0,Math.min(Date.now()-u,r));o.currentPath=a(n(e,t,c,r),i),s===o._lastAnimationId&&e ',styles:[":host { display: block; height: 100px; width: 100px; } :host svg { height: 100%; width: 100%; transform-origin: center; } :host path { fill: transparent; stroke-width: 10px; } :host[mode='indeterminate'] { animation-duration: 5250ms, 2887.5ms; animation-name: md-progress-circle-sporadic-rotate, md-progress-circle-linear-rotate; animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1), linear; animation-iteration-count: infinite; transition: none; } @keyframes md-progress-circle-linear-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes md-progress-circle-sporadic-rotate { 12.5% { transform: rotate(135deg); } 25% { transform: rotate(270deg); } 37.5% { transform: rotate(405deg); } 50% { transform: rotate(540deg); } 62.5% { transform: rotate(675deg); } 75% { transform: rotate(810deg); } 87.5% { transform: rotate(945deg); } 100% { transform: rotate(1080deg); } } /*# sourceMappingURL=progress-circle.css.map */ "],changeDetection:u.ChangeDetectionStrategy.OnPush}),p("design:paramtypes",[u.ChangeDetectorRef])],t)}(),g=function(t){function e(e){t.call(this,e),this.mode="indeterminate"}return c(e,t),e=l([n.i(u.Component)({selector:"md-spinner",host:{role:"progressbar",mode:"indeterminate"},template:' ',styles:[":host { display: block; height: 100px; width: 100px; } :host svg { height: 100%; width: 100%; transform-origin: center; } :host path { fill: transparent; stroke-width: 10px; } :host[mode='indeterminate'] { animation-duration: 5250ms, 2887.5ms; animation-name: md-progress-circle-sporadic-rotate, md-progress-circle-linear-rotate; animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1), linear; animation-iteration-count: infinite; transition: none; } @keyframes md-progress-circle-linear-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes md-progress-circle-sporadic-rotate { 12.5% { transform: rotate(135deg); } 25% { transform: rotate(270deg); } 37.5% { transform: rotate(405deg); } 50% { transform: rotate(540deg); } 62.5% { transform: rotate(675deg); } 75% { transform: rotate(810deg); } 87.5% { transform: rotate(945deg); } 100% { transform: rotate(1080deg); } } /*# sourceMappingURL=progress-circle.css.map */ "]}),p("design:paramtypes",[u.ChangeDetectorRef])],e)}(v),b=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=l([n.i(u.NgModule)({exports:[v,g],declarations:[v,g]}),p("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(71),o=n(8);n.d(e,"a",function(){return d});var s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},c={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return h}),multi:!0},l=0,p=function(){function t(){}return t}(),h=function(){function t(){this._value=null,this._name="md-radio-group-"+l++,this._disabled=!1,this._selected=null,this._isInitialized=!1,this._controlValueAccessorChangeFn=function(t){},this.onTouched=function(){},this.change=new r.EventEmitter,this._radios=null}return Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=null!=t&&t!==!1||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this._updateSelectedRadioFromValue(),this._isInitialized&&this._emitChangeEvent())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,t&&!t.checked&&(t.checked=!0)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._isInitialized=!0},t.prototype._touch=function(){this.onTouched&&this.onTouched()},t.prototype._updateRadioButtonNames=function(){var t=this;this._radios&&this._radios.forEach(function(e){e.name=t.name})},t.prototype._updateSelectedRadioFromValue=function(){var t=this,e=null!=this._selected&&this._selected.value==this._value;if(null!=this._radios&&!e){var n=this._radios.filter(function(e){return e.value==t._value})[0];n?this.selected=n:null==this.value&&(this.selected=null,this._radios.forEach(function(t){t.checked=!1}))}},t.prototype._emitChangeEvent=function(){var t=new p;t.source=this._selected,t.value=this._value,this._controlValueAccessorChangeFn(t.value),this.change.emit(t)},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},s([n.i(r.Output)(),a("design:type",r.EventEmitter)],t.prototype,"change",void 0),s([n.i(r.ContentChildren)(n.i(r.forwardRef)(function(){return f})),a("design:type",r.QueryList)],t.prototype,"_radios",void 0),s([n.i(r.Input)(),a("design:type",String)],t.prototype,"name",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"align",void 0),s([n.i(r.Input)(),a("design:type",Boolean)],t.prototype,"disabled",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"value",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"selected",null),t=s([n.i(r.Directive)({selector:"md-radio-group",providers:[c],host:{role:"radiogroup"}}),a("design:paramtypes",[])],t)}(),f=function(){function t(t,e){var n=this;this.radioDispatcher=e,this._checked=!1,this.id="md-radio-"+l++,this._value=null,this.change=new r.EventEmitter,this.radioGroup=t,e.listen(function(t,e){t!=n.id&&e==n.name&&(n.checked=!1)})}return Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){t&&this.radioDispatcher.notify(this.id,this.name),this._checked=t,t&&this.radioGroup&&this.radioGroup.value!=this.value&&(this.radioGroup.selected=this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(null!=this.radioGroup&&this.checked&&(this.radioGroup.value=t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"align",{get:function(){return this._align||null!=this.radioGroup&&this.radioGroup.align||"start"},set:function(t){this._align=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||null!=this.radioGroup&&this.radioGroup.disabled},set:function(t){this._disabled=null!=t&&t!==!1||null},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},t.prototype._emitChangeEvent=function(){var t=new p;t.source=this,t.value=this._value,this.change.emit(t)},t.prototype._onInputFocus=function(){this._isFocused=!0},t.prototype._onInputBlur=function(){this._isFocused=!1,this.radioGroup&&this.radioGroup._touch()},t.prototype._onInputClick=function(t){t.stopPropagation()},t.prototype._onInputChange=function(t){t.stopPropagation(),this.checked=!0,this._emitChangeEvent(),this.radioGroup&&this.radioGroup._touch()},s([n.i(r.HostBinding)("class.md-radio-focused"),a("design:type",Boolean)],t.prototype,"_isFocused",void 0),s([n.i(r.HostBinding)("id"),n.i(r.Input)(),a("design:type",String)],t.prototype,"id",void 0),s([n.i(r.Input)(),a("design:type",String)],t.prototype,"name",void 0),s([n.i(r.Input)("aria-label"),a("design:type",String)],t.prototype,"ariaLabel",void 0),s([n.i(r.Input)("aria-labelledby"),a("design:type",String)],t.prototype,"ariaLabelledby",void 0),s([n.i(r.Output)(),a("design:type",r.EventEmitter)],t.prototype,"change",void 0),s([n.i(r.HostBinding)("class.md-radio-checked"),n.i(r.Input)(),a("design:type",Boolean)],t.prototype,"checked",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"value",null),s([n.i(r.Input)(),a("design:type",Object)],t.prototype,"align",null),s([n.i(r.HostBinding)("class.md-radio-disabled"),n.i(r.Input)(),a("design:type",Boolean)],t.prototype,"disabled",null),t=s([n.i(r.Component)({selector:"md-radio-button",template:' ',styles:["md-radio-button { display: inline-block; } .md-radio-label { cursor: pointer; display: inline-flex; align-items: baseline; white-space: nowrap; } .md-radio-container { box-sizing: border-box; display: inline-block; height: 20px; position: relative; width: 20px; top: 2px; } .md-radio-outer-circle { border: solid 2px; border-radius: 50%; box-sizing: border-box; height: 20px; left: 0; position: absolute; top: 0; transition: border-color ease 280ms; width: 20px; } .md-radio-inner-circle { border-radius: 50%; box-sizing: border-box; height: 20px; left: 0; position: absolute; top: 0; transition: transform ease 280ms, background-color ease 280ms; transform: scale(0); width: 20px; } .md-radio-checked .md-radio-inner-circle { transform: scale(0.5); } .md-radio-label-content { display: inline-block; order: 0; line-height: inherit; padding-left: 8px; padding-right: 0; } [dir='rtl'] .md-radio-label-content { padding-right: 8px; padding-left: 0; } .md-radio-label-content.md-radio-align-end { order: -1; padding-left: 0; padding-right: 8px; } [dir='rtl'] .md-radio-label-content.md-radio-align-end { padding-right: 0; padding-left: 8px; } .md-radio-disabled, .md-radio-disabled .md-radio-label { cursor: default; } .md-ink-ripple { border-radius: 50%; opacity: 0; height: 48px; left: 50%; overflow: hidden; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -50%); transition: opacity ease 280ms, background-color ease 280ms; width: 48px; } .md-radio-focused .md-ink-ripple { opacity: 1; } .md-radio-disabled .md-ink-ripple { background-color: #000; } /*# sourceMappingURL=radio.css.map */ "],encapsulation:r.ViewEncapsulation.None}),u(0,n.i(r.Optional)()),a("design:paramtypes",[h,o.b])],t)}(),d=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.b]}},t=s([n.i(r.NgModule)({exports:[h,f],declarations:[h,f]}),a("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(47),o=n(8);n.d(e,"a",function(){return f});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}},l=function(t){function e(e){t.call(this,"A sidenav was already declared for 'align=\""+e+"\"'")}return s(e,t),e}(o.f),p=function(){function t(t){this._elementRef=t,this.align="start",this.mode="over",this._opened=!1,this.onOpenStart=new r.EventEmitter,this.onOpen=new r.EventEmitter,this.onCloseStart=new r.EventEmitter,this.onClose=new r.EventEmitter,this._transition=!1}return Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){var e=null!=t&&""+t!="false";this.toggle(e)},enumerable:!0,configurable:!0}),t.prototype.open=function(){return this.toggle(!0)},t.prototype.close=function(){return this.toggle(!1)},t.prototype.toggle=function(t){var e=this;return void 0===t&&(t=!this.opened),t===this.opened?this._transition?t?this._openPromise:this._closePromise:Promise.resolve(null):(this._opened=t,this._transition=!0,t?this.onOpenStart.emit(null):this.onCloseStart.emit(null),t?(null==this._openPromise&&(this._openPromise=new Promise(function(t,n){e._openPromiseResolve=t,e._openPromiseReject=n})),this._openPromise):(null==this._closePromise&&(this._closePromise=new Promise(function(t,n){e._closePromiseResolve=t,e._closePromiseReject=n})),this._closePromise))},t.prototype._onTransitionEnd=function(t){t.target==this._elementRef.nativeElement&&t.propertyName.endsWith("transform")&&(this._transition=!1,this._opened?(null!=this._openPromise&&this._openPromiseResolve(),null!=this._closePromise&&this._closePromiseReject(),this.onOpen.emit(null)):(null!=this._closePromise&&this._closePromiseResolve(),null!=this._openPromise&&this._openPromiseReject(),this.onClose.emit(null)),this._openPromise=null,this._closePromise=null)},Object.defineProperty(t.prototype,"_isClosing",{get:function(){return!this._opened&&this._transition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isOpening",{get:function(){return this._opened&&this._transition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isClosed",{get:function(){return!this._opened&&!this._transition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isOpened",{get:function(){return this._opened&&!this._transition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isEnd",{get:function(){return"end"==this.align},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_modeSide",{get:function(){return"side"==this.mode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_modeOver",{get:function(){return"over"==this.mode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_modePush",{get:function(){return"push"==this.mode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_width",{get:function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth:0},enumerable:!0,configurable:!0}),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"align",void 0),a([n.i(r.Input)(),u("design:type",Object)],t.prototype,"mode",void 0),a([n.i(r.Output)("open-start"),u("design:type",Object)],t.prototype,"onOpenStart",void 0),a([n.i(r.Output)("open"),u("design:type",Object)],t.prototype,"onOpen",void 0),a([n.i(r.Output)("close-start"),u("design:type",Object)],t.prototype,"onCloseStart",void 0),a([n.i(r.Output)("close"),u("design:type",Object)],t.prototype,"onClose",void 0),a([n.i(r.Input)(),u("design:type",Boolean)],t.prototype,"opened",null),a([n.i(r.HostBinding)("class.md-sidenav-closing"),u("design:type",Object)],t.prototype,"_isClosing",null),a([n.i(r.HostBinding)("class.md-sidenav-opening"),u("design:type",Object)],t.prototype,"_isOpening",null),a([n.i(r.HostBinding)("class.md-sidenav-closed"),u("design:type",Object)],t.prototype,"_isClosed",null),a([n.i(r.HostBinding)("class.md-sidenav-opened"),u("design:type",Object)],t.prototype,"_isOpened",null),a([n.i(r.HostBinding)("class.md-sidenav-end"),u("design:type",Object)],t.prototype,"_isEnd",null),a([n.i(r.HostBinding)("class.md-sidenav-side"),u("design:type",Object)],t.prototype,"_modeSide",null),a([n.i(r.HostBinding)("class.md-sidenav-over"),u("design:type",Object)],t.prototype,"_modeOver",null),a([n.i(r.HostBinding)("class.md-sidenav-push"),u("design:type",Object)],t.prototype,"_modePush",null),t=a([n.i(r.Component)({selector:"md-sidenav",template:"",host:{"(transitionend)":"_onTransitionEnd($event)","[attr.align]":"null"},changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None}),u("design:paramtypes",[r.ElementRef])],t)}(),h=function(){function t(t,e,n){var r=this;this._dir=t,this._element=e,this._renderer=n,null!=t&&t.dirChange.subscribe(function(){return r._validateDrawers()})}return Object.defineProperty(t.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._sidenavs.changes.subscribe(function(){return t._validateDrawers()}),this._sidenavs.forEach(function(e){return t._watchSidenavToggle(e)}),this._validateDrawers()},t.prototype._watchSidenavToggle=function(t){var e=this;t&&"side"!==t.mode&&(t.onOpen.subscribe(function(){return e._setLayoutClass(t,!0)}),t.onClose.subscribe(function(){return e._setLayoutClass(t,!1)}))},t.prototype._setLayoutClass=function(t,e){this._renderer.setElementClass(this._element.nativeElement,"md-sidenav-opened",e)},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._sidenavs.forEach(function(e){if("end"==e.align){if(null!=t._end)throw new l("end");t._end=e}else{if(null!=t._start)throw new l("start");t._start=e}}),this._right=this._left=null,null==this._dir||"ltr"==this._dir.value?(this._left=this._start,this._right=this._end):(this._left=this._end,this._right=this._start)},t.prototype._closeModalSidenav=function(){null!=this._start&&"side"!=this._start.mode&&this._start.close(),null!=this._end&&"side"!=this._end.mode&&this._end.close()},t.prototype._isShowingBackdrop=function(){return this._isSidenavOpen(this._start)&&"side"!=this._start.mode||this._isSidenavOpen(this._end)&&"side"!=this._end.mode},t.prototype._isSidenavOpen=function(t){return null!=t&&t.opened},t.prototype._getSidenavEffectiveWidth=function(t,e){return this._isSidenavOpen(t)&&t.mode==e?t._width:0},t.prototype._getMarginLeft=function(){return this._getSidenavEffectiveWidth(this._left,"side")},t.prototype._getMarginRight=function(){return this._getSidenavEffectiveWidth(this._right,"side")},t.prototype._getPositionLeft=function(){return this._getSidenavEffectiveWidth(this._left,"push")},t.prototype._getPositionRight=function(){return this._getSidenavEffectiveWidth(this._right,"push")},t.prototype._getPositionOffset=function(){return this._getPositionLeft()-this._getPositionRight()},t.prototype._getStyles=function(){return{marginLeft:this._getMarginLeft()+"px",marginRight:this._getMarginRight()+"px",transform:"translate3d("+this._getPositionOffset()+"px, 0, 0)"}},a([n.i(r.ContentChildren)(p),u("design:type",r.QueryList)],t.prototype,"_sidenavs",void 0),t=a([n.i(r.Component)({selector:"md-sidenav-layout",template:'
',styles:["md-sidenav-layout { position: relative; transform: translate3d(0, 0, 0); box-sizing: border-box; -webkit-overflow-scrolling: touch; display: block; overflow: hidden; } md-sidenav-layout[fullscreen] { position: fixed; top: 0; left: 0; right: 0; bottom: 0; } md-sidenav-layout[fullscreen].md-sidenav-opened { overflow: hidden; } .md-sidenav-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: block; z-index: 2; visibility: hidden; } .md-sidenav-backdrop.md-sidenav-shown { visibility: visible; } .md-sidenav-content { position: relative; transform: translate3d(0, 0, 0); display: block; height: 100%; overflow: auto; } md-sidenav { position: relative; transform: translate3d(0, 0, 0); display: block; position: absolute; top: 0; bottom: 0; z-index: 3; min-width: 5%; overflow-y: auto; transform: translate3d(-100%, 0, 0); } md-sidenav.md-sidenav-closed { visibility: hidden; } md-sidenav.md-sidenav-closing { transform: translate3d(-100%, 0, 0); will-change: transform; } md-sidenav.md-sidenav-opening { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); visibility: visible; transform: translate3d(0, 0, 0); will-change: transform; } md-sidenav.md-sidenav-opened { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); } md-sidenav.md-sidenav-side { z-index: 1; } md-sidenav.md-sidenav-end { right: 0; transform: translate3d(100%, 0, 0); } md-sidenav.md-sidenav-end.md-sidenav-closed { visibility: hidden; } md-sidenav.md-sidenav-end.md-sidenav-closing { transform: translate3d(100%, 0, 0); will-change: transform; } md-sidenav.md-sidenav-end.md-sidenav-opening { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); visibility: visible; transform: translate3d(0, 0, 0); will-change: transform; } md-sidenav.md-sidenav-end.md-sidenav-opened { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); } [dir='rtl'] md-sidenav { transform: translate3d(100%, 0, 0); } [dir='rtl'] md-sidenav.md-sidenav-closed { visibility: hidden; } [dir='rtl'] md-sidenav.md-sidenav-closing { transform: translate3d(100%, 0, 0); will-change: transform; } [dir='rtl'] md-sidenav.md-sidenav-opening { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); visibility: visible; transform: translate3d(0, 0, 0); will-change: transform; } [dir='rtl'] md-sidenav.md-sidenav-opened { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); } [dir='rtl'] md-sidenav.md-sidenav-end { left: 0; right: auto; transform: translate3d(-100%, 0, 0); } [dir='rtl'] md-sidenav.md-sidenav-end.md-sidenav-closed { visibility: hidden; } [dir='rtl'] md-sidenav.md-sidenav-end.md-sidenav-closing { transform: translate3d(-100%, 0, 0); will-change: transform; } [dir='rtl'] md-sidenav.md-sidenav-end.md-sidenav-opening { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); visibility: visible; transform: translate3d(0, 0, 0); will-change: transform; } [dir='rtl'] md-sidenav.md-sidenav-end.md-sidenav-opened { box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); transform: translate3d(0, 0, 0); } /*# sourceMappingURL=sidenav.css.map */ ","md-sidenav { transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-sidenav-content { transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-sidenav-backdrop.md-sidenav-shown { transition: background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } /*# sourceMappingURL=sidenav-transitions.css.map */ "],encapsulation:r.ViewEncapsulation.None}),c(0,n.i(r.Optional)()),u("design:paramtypes",[o.g,r.ElementRef,r.Renderer])],t)}(),f=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=a([n.i(r.NgModule)({imports:[i.b],exports:[h,p],declarations:[h,p]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(81),o=n(71),s=n(8),a=n(0);n.n(a);n.d(e,"a",function(){return m});var u=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l={provide:o.a,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},p=function(){function t(){}return t}(),h=0,f=function(){function t(t,e){var n=this;this._elementRef=t,this._renderer=e,this.onChange=function(t){},this.onTouched=function(){},this._uniqueId="md-slide-toggle-"+ ++h,this._checked=!1,this._hasFocus=!1,this._isMousedown=!1,this._slideRenderer=null,this.disabled=!1,this.required=!1,this.name=null,this.id=this._uniqueId,this.tabIndex=0,this.ariaLabel=null,this.ariaLabelledby=null,this._change=new r.EventEmitter,this.change=this._change.asObservable(),this.getInputId=function(){return(n.id||n._uniqueId)+"-input"}}return t.prototype.ngAfterContentInit=function(){this._slideRenderer=new d(this._elementRef)},t.prototype._onChangeEvent=function(t){t.stopPropagation(),this.disabled||this._slideRenderer.isDragging()||(this.toggle(),this._emitChangeEvent())},t.prototype._onInputClick=function(t){this.onTouched(),t.stopPropagation()},t.prototype._setMousedown=function(){var t=this;this._isMousedown=!0,setTimeout(function(){return t._isMousedown=!1},100)},t.prototype._onInputFocus=function(){this._isMousedown||(this._hasFocus=!0)},t.prototype._onInputBlur=function(){this._hasFocus=!1,this.onTouched()},t.prototype.writeValue=function(t){this.checked=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(t.prototype,"checked",{get:function(){return!!this._checked},set:function(t){this.checked!==!!t&&(this._checked=t,this.onChange(this._checked))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._updateColor(t)},enumerable:!0,configurable:!0}),t.prototype.toggle=function(){this.checked=!this.checked},t.prototype._updateColor=function(t){this._setElementColor(this._color,!1),this._setElementColor(t,!0),this._color=t},t.prototype._setElementColor=function(t,e){null!=t&&""!=t&&this._renderer.setElementClass(this._elementRef.nativeElement,"md-"+t,e)},t.prototype._emitChangeEvent=function(){var t=new p;t.source=this,t.checked=this.checked,this._change.emit(t)},t.prototype._onDragStart=function(){this._slideRenderer.startThumbDrag(this.checked)},t.prototype._onDrag=function(t){this._slideRenderer.updateThumbPosition(t.deltaX)},t.prototype._onDragEnd=function(){var t=this;setTimeout(function(){t.checked=t._slideRenderer.stopThumbDrag()},0)},u([n.i(r.Input)(),n.i(s.a)(),c("design:type",Boolean)],t.prototype,"disabled",void 0),u([n.i(r.Input)(),n.i(s.a)(),c("design:type",Boolean)],t.prototype,"required",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"name",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"id",void 0),u([n.i(r.Input)(),c("design:type",Number)],t.prototype,"tabIndex",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"ariaLabel",void 0),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"ariaLabelledby",void 0),u([n.i(r.Output)(),c("design:type",a.Observable)],t.prototype,"change",void 0),u([n.i(r.Input)(),c("design:type",Object)],t.prototype,"checked",null),u([n.i(r.Input)(),c("design:type",String)],t.prototype,"color",null),t=u([n.i(r.Component)({selector:"md-slide-toggle",host:{"[class.md-checked]":"checked","[class.md-disabled]":"disabled","[class.md-slide-toggle-focused]":"_hasFocus","(mousedown)":"_setMousedown()"},template:' ',styles:[':host { display: flex; height: 24px; margin: 16px 0; line-height: 24px; white-space: nowrap; user-select: none; outline: none; } :host.md-checked .md-slide-toggle-thumb-container { transform: translate3d(100%, 0, 0); } :host .md-ink-ripple { border-radius: 50%; opacity: 0; height: 48px; left: 50%; overflow: hidden; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -50%); transition: opacity ease 280ms, background-color ease 280ms; width: 48px; } :host.md-slide-toggle-focused .md-ink-ripple { opacity: 1; } :host.md-slide-toggle-disabled .md-ink-ripple { background-color: #000; } :host.md-disabled .md-slide-toggle-label, :host.md-disabled .md-slide-toggle-container { cursor: default; } .md-slide-toggle-content { font-size: 14px; font-family: Roboto, "Helvetica Neue", sans-serif; font-weight: 500; } .md-slide-toggle-label { display: flex; flex: 1; cursor: pointer; } .md-slide-toggle-container { cursor: grab; width: 36px; height: 24px; position: relative; user-select: none; margin-right: 8px; } .md-slide-toggle-thumb-container { position: absolute; top: 2px; left: 0; z-index: 1; width: 16px; transform: translate3d(0, 0, 0); transition: all 80ms linear; transition-property: transform; } .md-slide-toggle-thumb-container.md-dragging { transition-duration: 0ms; } .md-slide-toggle-thumb { position: absolute; margin: 0; left: 0; top: 0; height: 20px; width: 20px; border-radius: 50%; box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); } .md-slide-toggle-bar { position: absolute; left: 1px; top: 5px; width: 34px; height: 14px; border-radius: 8px; } .md-slide-toggle-input { bottom: 0; left: 10px; } .md-slide-toggle-bar, .md-slide-toggle-thumb { transition: all 80ms linear; transition-property: background-color; transition-delay: 50ms; } /*# sourceMappingURL=slide-toggle.css.map */ '],providers:[l],changeDetection:r.ChangeDetectionStrategy.OnPush}),c("design:paramtypes",[r.ElementRef,r.Renderer])],t)}(),d=function(){function t(t){this._elementRef=t,this._thumbEl=t.nativeElement.querySelector(".md-slide-toggle-thumb-container"),this._thumbBarEl=t.nativeElement.querySelector(".md-slide-toggle-bar")}return t.prototype.isDragging=function(){return!!this._thumbBarWidth},t.prototype.startThumbDrag=function(t){ -this._thumbBarWidth||(this._thumbBarWidth=this._thumbBarEl.clientWidth-this._thumbEl.clientWidth,this._checked=t,this._thumbEl.classList.add("md-dragging"))},t.prototype.stopThumbDrag=function(){if(this._thumbBarWidth)return this._thumbBarWidth=null,this._thumbEl.classList.remove("md-dragging"),n.i(s.d)(this._thumbEl,""),this._percentage>50},t.prototype.updateThumbPosition=function(t){this._thumbBarWidth&&(this._percentage=this._getThumbPercentage(t),n.i(s.d)(this._thumbEl,"translate3d("+this._percentage+"%, 0, 0)"))},t.prototype._getThumbPercentage=function(t){var e=t/this._thumbBarWidth*100;return this._checked&&(e+=100),Math.max(0,Math.min(e,100))},t}(),m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:i.c,useClass:s.e}]}},t=u([n.i(r.NgModule)({imports:[o.b],exports:[f],declarations:[f]}),c("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(71),o=n(81),s=n(8);n.d(e,"a",function(){return f});var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=30,l={provide:i.a,useExisting:n.i(r.forwardRef)(function(){return p}),multi:!0},p=function(){function t(t){this._renderer=null,this._sliderDimensions=null,this.disabled=!1,this.thumbLabel=!1,this._min=0,this._max=100,this._percent=0,this._controlValueAccessorChangeFn=function(t){},this.onTouched=function(){},this.step=1,this.isSliding=!1,this.isActive=!1,this._isInitialized=!1,this._value=0,this._renderer=new h(t)}return Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(t){this._min=Number(t),this._isInitialized||(this.value=this._min)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=Number(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){isNaN(parseFloat(t))||(this._value=Number(t),this._isInitialized=!0,this._controlValueAccessorChangeFn(this._value))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._sliderDimensions=this._renderer.getSliderDimensions(),this._controlValueAccessorChangeFn(this.value),this.snapThumbToValue(),this._updateTickSeparation()},t.prototype.onClick=function(t){this.disabled||(this.isActive=!0,this.isSliding=!1,this._renderer.addFocus(),this.updateValueFromPosition(t.clientX),this.snapThumbToValue())},t.prototype.onSlide=function(t){this.disabled||(t.preventDefault(),this.updateValueFromPosition(t.center.x))},t.prototype.onSlideStart=function(t){this.disabled||(t.preventDefault(),this.isSliding=!0,this.isActive=!0,this._renderer.addFocus(),this.updateValueFromPosition(t.center.x))},t.prototype.onSlideEnd=function(){this.isSliding=!1,this.snapThumbToValue()},t.prototype.onResize=function(){this.isSliding=!0,this._sliderDimensions=this._renderer.getSliderDimensions(),this._renderer.updateThumbAndFillPosition(this._percent,this._sliderDimensions.width)},t.prototype.onBlur=function(){this.isActive=!1,this.onTouched()},t.prototype.updatePercentFromValue=function(){this._percent=this.calculatePercentage(this.value)},t.prototype.updateValueFromPosition=function(t){var e=this._sliderDimensions.left,n=this._sliderDimensions.width;this._percent=this.clamp((t-e)/n);var r=this.calculateValue(this._percent),i=Math.round((r-this.min)/this.step)*this.step+this.min;this.value=this.clamp(i,this.min,this.max),this._renderer.updateThumbAndFillPosition(this._percent,this._sliderDimensions.width)},t.prototype.snapThumbToValue=function(){this.updatePercentFromValue(),this._renderer.updateThumbAndFillPosition(this._percent,this._sliderDimensions.width)},t.prototype._updateTickSeparation=function(){"auto"==this._tickInterval?this._updateAutoTickSeparation():Number(this._tickInterval)&&this._updateTickSeparationFromInterval()},t.prototype._updateAutoTickSeparation=function(){var t=this._sliderDimensions.width,e=this.max-this.min,n=e/t,r=n*c,i=Math.ceil(r/this.step),o=this.calculatePercentage(this.step*i+this.min);this._renderer.drawTicks(t*o)},t.prototype._updateTickSeparationFromInterval=function(){var t=this._tickInterval,e=this.step*t+this.min,n=this.calculatePercentage(e);this._renderer.drawTicks(this._sliderDimensions.width*n)},t.prototype.calculatePercentage=function(t){return(t-this.min)/(this.max-this.min)},t.prototype.calculateValue=function(t){return this.min+t*(this.max-this.min)},t.prototype.clamp=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.max(e,Math.min(t,n))},t.prototype.writeValue=function(t){this.value=t,this._sliderDimensions&&this.snapThumbToValue()},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},a([n.i(r.Input)(),n.i(s.a)(),n.i(r.HostBinding)("class.md-slider-disabled"),n.i(r.HostBinding)("attr.aria-disabled"),u("design:type",Boolean)],t.prototype,"disabled",void 0),a([n.i(r.Input)("thumb-label"),n.i(s.a)(),u("design:type",Boolean)],t.prototype,"thumbLabel",void 0),a([n.i(r.Input)(),u("design:type",Number)],t.prototype,"step",void 0),a([n.i(r.Input)("tick-interval"),u("design:type",Object)],t.prototype,"_tickInterval",void 0),a([n.i(r.Input)(),n.i(r.HostBinding)("attr.aria-valuemin"),u("design:type",Object)],t.prototype,"min",null),a([n.i(r.Input)(),n.i(r.HostBinding)("attr.aria-valuemax"),u("design:type",Object)],t.prototype,"max",null),a([n.i(r.Input)(),n.i(r.HostBinding)("attr.aria-valuenow"),u("design:type",Object)],t.prototype,"value",null),t=a([n.i(r.Component)({selector:"md-slider",providers:[l],host:{tabindex:"0","(click)":"onClick($event)","(slide)":"onSlide($event)","(slidestart)":"onSlideStart($event)","(slideend)":"onSlideEnd()","(window:resize)":"onResize()","(blur)":"onBlur()"},template:'
{{value}}
',styles:["md-slider { height: 48px; min-width: 128px; position: relative; padding: 0; display: inline-block; outline: none; vertical-align: middle; } md-slider *, md-slider *::after { box-sizing: border-box; } .md-slider-wrapper { width: 100%; height: 100%; padding-left: 8px; padding-right: 8px; } .md-slider-container { position: relative; } .md-slider-track-container { width: 100%; position: absolute; top: 23px; height: 2px; } .md-slider-track { position: absolute; left: 0; right: 0; height: 100%; } .md-slider-track-fill { transition-duration: 400ms; transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); transition-property: width, height; } .md-slider-tick-container, .md-slider-last-tick-container { position: absolute; left: 0; right: 0; height: 100%; } .md-slider-thumb-container { position: absolute; left: 0; top: 50%; transform: translate3d(-50%, -50%, 0); transition-duration: 400ms; transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); transition-property: left, bottom; } .md-slider-thumb-position { transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-slider-thumb { z-index: 1; position: absolute; top: 14px; left: -10px; width: 20px; height: 20px; border-radius: 20px; transform: scale(0.7); transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); } .md-slider-thumb::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 20px; border-width: 3px; border-style: solid; transition: inherit; } .md-slider-thumb-label { display: flex; align-items: center; justify-content: center; position: absolute; left: -14px; top: -17px; width: 28px; height: 28px; border-radius: 50%; transform: scale(0.4) translate3d(0, 67.5px, 0) rotate(45deg); transition: 300ms cubic-bezier(0.35, 0, 0.25, 1); transition-property: transform, border-radius; } .md-slider-thumb-label-text { z-index: 1; font-size: 12px; font-weight: bold; opacity: 0; transform: rotate(-45deg); transition: opacity 300ms cubic-bezier(0.35, 0, 0.25, 1); } .md-slider-container:not(.md-slider-thumb-label-showing) .md-slider-thumb-label { display: none; } .md-slider-active.md-slider-thumb-label-showing .md-slider-thumb { transform: scale(0); } .md-slider-sliding .md-slider-thumb-position, .md-slider-sliding .md-slider-track-fill { transition: none; cursor: default; } .md-slider-active .md-slider-thumb { transform: scale(1); } .md-slider-active .md-slider-thumb-label { border-radius: 50% 50% 0; transform: rotate(45deg); } .md-slider-active .md-slider-thumb-label-text { opacity: 1; } /*# sourceMappingURL=slider.css.map */ "],encapsulation:r.ViewEncapsulation.None}),u("design:paramtypes",[r.ElementRef])],t)}(),h=function(){function t(t){this._sliderElement=t.nativeElement}return t.prototype.getSliderDimensions=function(){var t=this._sliderElement.querySelector(".md-slider-track");return t.getBoundingClientRect()},t.prototype.updateThumbAndFillPosition=function(t,e){var r=this._sliderElement.querySelector(".md-slider-thumb-position"),i=this._sliderElement.querySelector(".md-slider-track-fill"),o=Math.round(t*e);i.style.width=o+"px",n.i(s.d)(r,"translateX("+o+"px)")},t.prototype.addFocus=function(){this._sliderElement.focus()},t.prototype.drawTicks=function(t){var e=this._sliderElement.querySelector(".md-slider-tick-container"),n=e.getBoundingClientRect().width,r=this._sliderElement.querySelector(".md-slider-last-tick-container");e.style.background="repeating-linear-gradient(to right, black, black 2px, "+("transparent 2px, transparent "+(t-1)+"px)"),r.style.background="linear-gradient(to left, black, black 2px, transparent 2px, transparent)",n%t=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t.prototype.dismiss=function(){this.snackBarRef.dismiss()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.action},enumerable:!0,configurable:!0}),t=i([n.i(r.Component)({selector:"simple-snack-bar",template:'{{message}} ',styles:["md-simple-snackbar { display: flex; justify-content: space-between; } .md-simple-snackbar-message { box-sizing: border-box; border: none; color: white; font-family: Roboto, 'Helvetica Neue', sans-serif; font-size: 14px; line-height: 20px; outline: none; text-decoration: none; word-break: break-all; } .md-simple-snackbar-action { box-sizing: border-box; color: white; float: right; font-weight: 600; line-height: 20px; margin: -5px 0 0 48px; min-width: initial; padding: 5px; text-transform: uppercase; } /*# sourceMappingURL=simple-snack-bar.css.map */ "]}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(8);n.d(e,"a",function(){return o});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.call(this,"Attempting to attach snack bar content after content is already attached")}return i(e,t),e}(r.f)},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(t,e){this._renderer=t,this._elementRef=e}return t.prototype.alignToElement=function(t){this._renderer.setElementStyle(this._elementRef.nativeElement,"left",this._getLeftPosition(t)),this._renderer.setElementStyle(this._elementRef.nativeElement,"width",this._getElementWidth(t))},t.prototype._getLeftPosition=function(t){return t?t.offsetLeft+"px":"0"},t.prototype._getElementWidth=function(t){return t?t.offsetWidth+"px":"0"},t=i([n.i(r.Directive)({selector:"md-ink-bar"}),o("design:paramtypes",[r.Renderer,r.ElementRef])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(8);n.d(e,"a",function(){return u});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(t){function e(e,n){t.call(this,e,n)}return o(e,t),e=s([n.i(r.Directive)({selector:"[md-tab-content]"}),a("design:paramtypes",[r.TemplateRef,r.ViewContainerRef])],e)}(i.t)},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return s});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(t){this.elementRef=t}return t.prototype.focus=function(){this.elementRef.nativeElement.focus()},t=i([n.i(r.Directive)({selector:"[md-tab-label-wrapper]"}),o("design:paramtypes",[r.ElementRef])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(8);n.d(e,"a",function(){return u});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(t){function e(e,n){t.call(this,e,n)}return o(e,t),e=s([n.i(r.Directive)({selector:"[md-tab-label]"}),a("design:paramtypes",[r.TemplateRef,r.ViewContainerRef])],e)}(i.t)},function(t,e,n){"use strict";var r=n(1),i=n(47),o=n(8),s=n(592),a=n(590),u=n(591),c=n(589),l=n(0),p=(n.n(l),n(249));n.n(p);n.d(e,"a",function(){return g});var h=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},f=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},d=0,m=function(){function t(){}return t}(),y=function(){function t(){this._disabled=!1}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=null!=t&&""+t!="false"},enumerable:!0,configurable:!0}),h([n.i(r.ContentChild)(s.a),f("design:type",s.a)],t.prototype,"label",void 0),h([n.i(r.ContentChild)(a.a),f("design:type",a.a)],t.prototype,"content",void 0),h([n.i(r.Input)("disabled"),f("design:type",Boolean),f("design:paramtypes",[Boolean])],t.prototype,"disabled",null),t=h([n.i(r.Directive)({selector:"md-tab"}),f("design:paramtypes",[])],t)}(),v=function(){function t(t){this._zone=t,this._isInitialized=!1,this._selectedIndex=0,this._onFocusChange=new r.EventEmitter,this._onSelectChange=new r.EventEmitter,this._focusIndex=0,this._groupId=d++}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t!=this._selectedIndex&&this.isValidIndex(t)&&(this._selectedIndex=t,this._isInitialized&&this._onSelectChange.emit(this._createChangeEvent(t)))},enumerable:!0,configurable:!0}),t.prototype.isValidIndex=function(t){if(this._tabs){var e=this._tabs.toArray()[t];return e&&!e.disabled}return!0},Object.defineProperty(t.prototype,"_selectedIndexChange",{get:function(){return this.selectChange.map(function(t){return t.index})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusChange",{get:function(){return this._onFocusChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectChange",{get:function(){return this._onSelectChange.asObservable()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){var t=this;this._zone.runOutsideAngular(function(){window.requestAnimationFrame(function(){t._updateInkBar()})}),this._isInitialized=!0},t.prototype._updateInkBar=function(){this._inkBar.toArray()[0].alignToElement(this._currentLabelWrapper)},Object.defineProperty(t.prototype,"_currentLabelWrapper",{get:function(){return this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._focusIndex},set:function(t){this.isValidIndex(t)&&(this._focusIndex=t,this._isInitialized&&this._onFocusChange.emit(this._createChangeEvent(t)),this._labelWrappers&&this._labelWrappers.length&&this._labelWrappers.toArray()[t].focus())},enumerable:!0,configurable:!0}),t.prototype._createChangeEvent=function(t){var e=new m;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},t.prototype._getTabLabelId=function(t){return"md-tab-label-"+this._groupId+"-"+t},t.prototype._getTabContentId=function(t){return"md-tab-content-"+this._groupId+"-"+t},t.prototype.handleKeydown=function(t){switch(t.keyCode){case o.u:this.focusNextTab();break;case o.v:this.focusPreviousTab();break;case o.w:this.selectedIndex=this.focusIndex}},t.prototype.moveFocus=function(t){if(this._labelWrappers)for(var e=this._tabs.toArray(),n=this.focusIndex+t;n=0;n+=t)if(this.isValidIndex(n))return void(this.focusIndex=n)},t.prototype.focusNextTab=function(){this.moveFocus(1)},t.prototype.focusPreviousTab=function(){this.moveFocus(-1)},h([n.i(r.ContentChildren)(y),f("design:type",r.QueryList)],t.prototype,"_tabs",void 0),h([n.i(r.ViewChildren)(u.a),f("design:type",r.QueryList)],t.prototype,"_labelWrappers",void 0),h([n.i(r.ViewChildren)(c.a),f("design:type",r.QueryList)],t.prototype,"_inkBar",void 0),h([n.i(r.Input)(),f("design:type",Number),f("design:paramtypes",[Number])],t.prototype,"selectedIndex",null),h([n.i(r.Output)("selectedIndexChange"),f("design:type",l.Observable)],t.prototype,"_selectedIndexChange",null),h([n.i(r.Output)("focusChange"),f("design:type",l.Observable)],t.prototype,"focusChange",null),h([n.i(r.Output)("selectChange"),f("design:type",l.Observable)],t.prototype,"selectChange",null),t=h([n.i(r.Component)({selector:"md-tab-group",template:'
',styles:[':host { display: flex; flex-direction: column; font-family: Roboto, "Helvetica Neue", sans-serif; } .md-tab-header { overflow: hidden; position: relative; display: flex; flex-direction: row; flex-shrink: 0; } .md-tab-label { line-height: 48px; height: 48px; padding: 0 12px; font-size: 14px; font-family: Roboto, "Helvetica Neue", sans-serif; font-weight: 500; cursor: pointer; box-sizing: border-box; color: currentColor; opacity: 0.6; min-width: 160px; text-align: center; } .md-tab-label:focus { outline: none; opacity: 1; } .md-tab-disabled { cursor: default; pointer-events: none; } .md-tab-body-wrapper { position: relative; overflow: hidden; flex-grow: 1; display: flex; } .md-tab-body { display: none; overflow: auto; box-sizing: border-box; flex-grow: 1; flex-shrink: 1; } .md-tab-body.md-tab-active { display: block; } md-ink-bar { position: absolute; bottom: 0; height: 2px; transition: 350ms ease-out; } /*# sourceMappingURL=tab-group.css.map */ ']}),f("design:paramtypes",[r.NgZone])],t)}(),g=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=h([n.i(r.NgModule)({imports:[i.b,o.s],exports:[v,s.a,a.a,y],declarations:[v,s.a,a.a,y,c.a,u.a]}),f("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1);n.d(e,"a",function(){return u});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},s=function(){function t(){}return t=i([n.i(r.Directive)({selector:"md-toolbar-row"}),o("design:paramtypes",[])],t)}(),a=function(){function t(t,e){this.elementRef=t,this.renderer=e}return Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._updateColor(t)},enumerable:!0,configurable:!0}),t.prototype._updateColor=function(t){this._setElementColor(this._color,!1),this._setElementColor(t,!0),this._color=t},t.prototype._setElementColor=function(t,e){null!=t&&""!=t&&this.renderer.setElementClass(this.elementRef.nativeElement,"md-"+t,e)},i([n.i(r.Input)(),o("design:type",String)],t.prototype,"color",null),t=i([n.i(r.Component)({selector:"md-toolbar",template:'
',styles:['md-toolbar { display: flex; box-sizing: border-box; width: 100%; min-height: 64px; font-size: 20px; font-weight: 400; font-family: Roboto, "Helvetica Neue", sans-serif; padding: 0 16px; flex-direction: column; } md-toolbar md-toolbar-row { display: flex; box-sizing: border-box; width: 100%; height: 64px; flex-direction: row; align-items: center; } /*# sourceMappingURL=toolbar.css.map */ '],changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None}),o("design:paramtypes",[r.ElementRef,r.Renderer])],t)}(),u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t=i([n.i(r.NgModule)({exports:[a,s],declarations:[a,s]}),o("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(1),i=n(8);n.d(e,"a",function(){return c});var o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t,e,n,r){this._overlay=t,this._elementRef=e,this._viewContainerRef=n,this._changeDetectionRef=r,this.visible=!1,this._position="below"}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._createOverlay(),this._updatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._message=t,this._updatePosition()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._createOverlay()},t.prototype._createOverlay=function(){if(this._overlayRef)this.visible?(this.hide(),this._createOverlay()):(this._overlayRef.dispose(),this._overlayRef=null,this._createOverlay());else{var t=this._getOrigin(),e=this._getOverlayPosition(),n=this._overlay.position().connectedTo(this._elementRef,t,e),r=new i.n;r.positionStrategy=n,this._overlayRef=this._overlay.create(r)}},t.prototype._getOrigin=function(){switch(this.position){case"before":return{originX:"start",originY:"center"};case"after":return{originX:"end",originY:"center"};case"above":return{originX:"center",originY:"top"};case"below":return{originX:"center",originY:"bottom"}}},t.prototype._getOverlayPosition=function(){switch(this.position){case"before":return{overlayX:"end",overlayY:"center"};case"after":return{overlayX:"start",overlayY:"center"};case"above":return{overlayX:"center",overlayY:"bottom"};case"below":return{overlayX:"center",overlayY:"top"}}},t.prototype._handleMouseEnter=function(t){this.show()},t.prototype._handleMouseLeave=function(t){this.hide()},t.prototype.show=function(){if(!this.visible&&this._overlayRef&&!this._overlayRef.hasAttached()){this.visible=!0;var t=new i.m(u,this._viewContainerRef),e=this._overlayRef.attach(t);e.instance.message=this.message,this._updatePosition()}},t.prototype.hide=function(){this.visible&&this._overlayRef&&this._overlayRef.hasAttached()&&(this.visible=!1,this._overlayRef.detach())},t.prototype.toggle=function(){this.visible?this.hide():this.show()},t.prototype._updatePosition=function(){this._overlayRef&&(this._changeDetectionRef.detectChanges(),this._overlayRef.updatePosition())},o([n.i(r.Input)("tooltip-position"),s("design:type",String)],t.prototype,"position",null),o([n.i(r.Input)("md-tooltip"),s("design:type",Object)],t.prototype,"message",null),t=o([n.i(r.Directive)({selector:"[md-tooltip]",host:{"(mouseenter)":"_handleMouseEnter($event)","(mouseleave)":"_handleMouseLeave($event)"}}),s("design:paramtypes",[i.o,r.ElementRef,r.ViewContainerRef,r.ChangeDetectorRef])],t)}(),u=function(){function t(){}return t=o([n.i(r.Component)({selector:"md-tooltip-component",template:'
{{message}}
',styles:[':host { pointer-events: none; } .md-tooltip { color: white; padding: 0 8px; border-radius: 2px; font-family: Roboto, "Helvetica Neue", sans-serif; font-size: 10px; margin: 14px; height: 22px; line-height: 22px; } /*# sourceMappingURL=tooltip.css.map */ ']}),s("design:paramtypes",[])],t)}(),c=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:i.q}},t=o([n.i(r.NgModule)({imports:[i.r],exports:[a,u],declarations:[a,u],entryComponents:[u]}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(598);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r;r="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:t:window;var i=r;i.assert=function(t){};Object.getPrototypeOf({}),function(){function t(){}return t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t}()}).call(e,n(59))},function(t,e,n){"use strict";var r=n(114),i=n(1),o=n(374),s=n(601);n(599);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=([{provide:r.a,useClass:s.a}],n.i(i.createPlatformFactory)(r.b,"browserDynamic",o.a))},function(t,e,n){"use strict";var r=n(374),i=n(375);({INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS:r.a,ResourceLoaderImpl:i.a})},function(t,e,n){"use strict";var r=n(81);n.d(e,"a",function(){return i});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var i=r.a.INTERNAL_BROWSER_PLATFORM_PROVIDERS;r.a.getDOM},function(t,e,n){"use strict";var r=n(114),i=n(597);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){if(t.call(this),this._cache=i.a.$templateCache,null==this._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.")}return o(e,t),e.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},e}(r.a)},function(t,e,n){"use strict";var r=n(19),i=n(34);n.d(e,"a",function(){return s});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){var e=this;t.call(this),this._animationPrefix=null,this._transitionEnd=null;try{var r=this.createElement("div",this.defaultDoc());if(n.i(i.a)(this.getStyle(r,"animationName")))this._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],s=0;s=h&&n<=f||n==d))return t.substring(e,t.length)}return""}function s(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var a=n(1),u=n(34),c=n(383),l=n(609);n.d(e,"a",function(){return p});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var p=function(){function t(){}return t.prototype.animate=function(t,e,i,o,s,a){var c=[],p={};if(n.i(u.a)(e)&&e.styles.length>0&&(p=r(t,e,{}),p.offset=0,c.push(p)),i.forEach(function(e){var n=r(t,e.styles,p);n.offset=e.offset,c.push(n)}),1==c.length){var h=c[0];h.offset=null,c=[h,h]}var f={duration:o,delay:s,fill:"both"};return a&&(f.easing=a),new l.a(t,c,f)},t}(),h=48,f=57,d=46},function(t,e,n){"use strict";function r(t,e){return n.i(s.a)().getComputedStyle(t)[e]}var i=n(1),o=n(34),s=n(19);n.d(e,"a",function(){return a});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var a=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._initialized=!1,this._started=!1,this.parentPlayer=null,this._duration=n.duration}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(o.a)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(e){var n={};return Object.keys(e).forEach(function(o){var s=e[o];n[o]=s==i.AUTO_STYLE?r(t.element,o):s}),n});this._player=this._triggerWebAnimation(this.element,e,this.options),this.reset(),this._player.onfinish=function(){return t._onFinish()}}},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.play=function(){this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._player.play()},t.prototype.pause=function(){this.init(),this._player.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this._player.finish()},t.prototype.reset=function(){this._player.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this.reset(),this._onFinish()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._duration},enumerable:!0,configurable:!0}),t.prototype.setPosition=function(t){this._player.currentTime=t*this.totalTime},t.prototype.getPosition=function(){return this._player.currentTime/this.totalTime},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var r="undefined"!=typeof window&&window||{};r.document,r.location,r.gc?function(){return r.gc()}:function(){return null},r.performance?r.performance:null,r.Event,r.MouseEvent,r.KeyboardEvent,r.EventTarget,r.History,r.Location,r.EventListener},function(t,e,n){"use strict";var r=n(376),i=(n(380),n(605),n(223),n(606),n(224),n(147),n(82),n(226)),o=(n(386),n(612));n.d(e,"d",function(){return r.d}),n.d(e,"c",function(){return i.b}),n.d(e,"b",function(){return i.c}),n.d(e,"a",function(){return o.a})},function(t,e,n){"use strict";var r=n(376),i=n(377),o=n(378),s=n(379),a=n(224),u=n(19),c=n(225),l=n(381),p=n(226),h=n(382),f=n(227);n.d(e,"a",function(){return d});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var d={BrowserPlatformLocation:o.a,DomAdapter:u.b,BrowserDomAdapter:i.a,BrowserGetTestability:s.a,getDOM:u.a,setRootDomAdapter:u.c,DomRootRenderer_:c.b,DomRootRenderer:c.a,DomSharedStylesHost:f.a,SharedStylesHost:f.b,ELEMENT_PROBE_PROVIDERS:a.a,DomEventsPlugin:l.a,KeyEventsPlugin:h.a,HammerGesturesPlugin:p.a,initDomAdapter:r.a,INTERNAL_BROWSER_PLATFORM_PROVIDERS:r.b,BROWSER_SANITIZATION_PROVIDERS:r.c}},function(t,e,n){"use strict";function r(){if(h)return h;f=n.i(l.a)();var t=f.createElement("template");if("content"in t)return t;var e=f.createHtmlDocument();if(h=f.querySelector(e,"body"),null==h){var r=f.createElement("html",e);h=f.createElement("body",e),f.appendChild(r,h),f.appendChild(e,r)}return h}function i(t){for(var e={},n=0,r=t.split(",");n/g,">")}function a(t){f.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||f.removeAttribute(t,n)});for(var e=0,n=f.childNodesAsList(t);e")):void(this.sanitizedSomething=!0)},t.prototype.endElement=function(t){var e=f.nodeName(t).toLowerCase();_.hasOwnProperty(e)&&!d.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(s(t))},t}(),O=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,k=/([^\#-~ |!])/g},function(t,e,n){"use strict";function r(t){for(var e=!0,n=!0,r=0;r (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var r=function(){function t(t){this.source=t}return t.prototype.subscribe=function(t){this.sub=this.source.onInterrupt.subscribe(t)},t.prototype.unsubscribe=function(){this.sub.unsubscribe(),this.sub=null},t.prototype.resume=function(){this.source.attach()},t.prototype.pause=function(){this.source.detach()},t}()},function(t,e,n){"use strict";var r=n(1),i=n(388),o=n(148),s=n(392);n.d(e,"a",function(){return c});/** - * @ng-idle/core - ng-idle for Angular 2 core module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a,{provide:o.a,useExisting:s.a},i.a]}},t=a([n.i(r.NgModule)(),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(230),i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)};(function(t){function e(e,n){void 0===n&&(n=500),t.call(this,window,e,n)}return i(e,t),e})(r.a)},function(t,e,n){"use strict";var r=n(1),i=n(229),o=n(394);n.d(e,"a",function(){return u});/** - * @ng-idle/keepalive - ng-idle for Angular 2 keepalive module - # @author Mike Grabski (http://mikegrabski.com/) - * @version v2.0.0-beta.2 - * @link https://github.com/HackedByChinese/ng2-idle.git#readme - * @license MIT - */ -var s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a,{provide:i.a,useExisting:o.a}]}},t=s([n.i(r.NgModule)({imports:[i.b.forRoot()]}),a("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=n(395);e.CalendarPipe=r.CalendarPipe;var i=n(396);e.DateFormatPipe=i.DateFormatPipe;var o=n(397);e.DifferencePipe=o.DifferencePipe;var s=n(398);e.DurationPipe=s.DurationPipe;var a=n(399);e.FromUnixPipe=a.FromUnixPipe;var u=n(620);e.MomentModule=u.MomentModule;var c=n(400);e.TimeAgoPipe=c.TimeAgoPipe},function(t,e,n){"use strict";var r=n(1),i=n(395),o=n(396),s=n(397),a=n(398),u=n(399),c=n(400),l=[i.CalendarPipe,o.DateFormatPipe,s.DifferencePipe,a.DurationPipe,u.FromUnixPipe,c.TimeAgoPipe],p=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{declarations:l,exports:l}]}],t.ctorParameters=[],t}();e.MomentModule=p},function(t,e,n){"use strict";var r=n(81),i=n(1),o=n(71),s=n(139),a=n(575),u=n(393),c=n(619),l=(n.n(c),n(401));n.d(e,"a",function(){return f});var p=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},f=function(){function t(){}return t=p([n.i(i.NgModule)({declarations:[l.a],imports:[r.d,o.b,s.d,c.MomentModule,a.a.forRoot(),u.b.forRoot()],providers:[],bootstrap:[l.a]}),h("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var r=(n(401),n(621));n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={production:!0}},function(t,e,n){"use strict";var r=n(638),i=(n.n(r),n(631)),o=(n.n(i),n(627)),s=(n.n(o),n(633)),a=(n.n(s),n(632)),u=(n.n(a),n(630)),c=(n.n(u),n(629)),l=(n.n(c),n(637)),p=(n.n(l),n(626)),h=(n.n(p),n(625)),f=(n.n(h),n(635)),d=(n.n(f),n(628)),m=(n.n(d),n(636)),y=(n.n(m),n(634)),v=(n.n(y),n(639)),g=(n.n(v),n(1051));n.n(g)},function(t,e,n){n(157),n(662),n(660),n(666),n(663),n(669),n(671),n(659),n(665),n(656),n(670),n(654),n(668),n(667),n(661),n(664),n(653),n(655),n(658),n(657),n(672),n(429),t.exports=n(16).Array},function(t,e,n){n(673),n(675),n(674),n(677),n(676),t.exports=Date},function(t,e,n){n(678),n(680),n(679),t.exports=n(16).Function},function(t,e,n){n(156),n(157),n(438),n(430),t.exports=n(16).Map},function(t,e,n){n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(690),n(691),n(692),n(693),n(694),n(695),n(696),n(697),t.exports=n(16).Math},function(t,e,n){n(698),n(708),n(709),n(699),n(700),n(701),n(702),n(703),n(704),n(705),n(706),n(707),t.exports=n(16).Number},function(t,e,n){n(437),n(711),n(713),n(712),n(715),n(717),n(722),n(716),n(714),n(724),n(723),n(719),n(720),n(718),n(710),n(721),n(725),n(156),t.exports=n(16).Object},function(t,e,n){n(726),t.exports=n(16).parseFloat},function(t,e,n){n(727),t.exports=n(16).parseInt},function(t,e,n){n(728),n(729),n(730),n(731),n(732),n(735),n(733),n(734),n(736),n(737),n(738),n(739),n(741),n(740),t.exports=n(16).Reflect},function(t,e,n){n(742),n(743),n(431),n(432),n(433),n(434),n(435),t.exports=n(16).RegExp},function(t,e,n){n(156),n(157),n(438),n(436),t.exports=n(16).Set},function(t,e,n){n(753),n(757),n(764),n(157),n(748),n(749),n(754),n(758),n(760),n(744),n(745),n(746),n(747),n(750),n(751),n(752),n(755),n(756),n(759),n(761),n(762),n(763),n(432),n(433),n(434),n(435),t.exports=n(16).String},function(t,e,n){n(437),n(156),t.exports=n(16).Symbol},function(t,e,n){n(766),n(767),n(769),n(768),n(771),n(770),n(772),n(773),n(774),t.exports=n(16).Reflect},function(t,e,n){"use strict";var r=n(41),i=n(106),o=n(35);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),u=i(e,s),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?s:i(c,s))-u,s-a),p=1;for(u0;)u in n?n[a]=n[u]:delete n[a],a+=p,u+=p;return n}},function(t,e,n){"use strict";var r=n(41),i=n(106),o=n(35);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>a;)e[a++]=t;return e}},function(t,e,n){var r=n(150);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(13),i=n(237),o=n(14)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){var r=n(643);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(243),i=n(65).getWeak,o=n(9),s=n(13),a=n(231),u=n(150),c=n(53),l=n(29),p=c(5),h=c(6),f=0,d=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},y=function(t,e){return p(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){a(t,c,e,"_i"),t._i=f++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!s(t))return!1;var e=i(t);return e===!0?d(this).delete(t):e&&l(e,this._i)&&delete e[this._i]},has:function(t){if(!s(t))return!1;var e=i(t);return e===!0?d(this).has(t):e&&l(e,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return r===!0?d(t).set(e,n):r[t._i]=n,t},ufstore:d}},function(t,e,n){"use strict";var r=n(9),i=n(76),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},function(t,e,n){var r=n(85),i=n(151),o=n(152);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(85),i=n(40);t.exports=function(t,e){for(var n,o=i(t),s=r(o),a=s.length,u=0;a>u;)if(o[n=s[u++]]===e)return n}},function(t,e,n){var r=n(105),i=n(151),o=n(9),s=n(17).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var r=n(17),i=n(16),o=n(240),s=n(427),a=n(20).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(2);r(r.P,"Array",{copyWithin:n(640)}),n(102)("copyWithin")},function(t,e,n){"use strict";var r=n(2),i=n(53)(4);r(r.P+r.F*!n(39)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(2);r(r.P,"Array",{fill:n(641)}),n(102)("fill")},function(t,e,n){"use strict";var r=n(2),i=n(53)(2);r(r.P+r.F*!n(39)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(2),i=n(53)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(102)(o)},function(t,e,n){"use strict";var r=n(2),i=n(53)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(102)(o)},function(t,e,n){"use strict";var r=n(2),i=n(53)(0),o=n(39)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(83),i=n(2),o=n(41),s=n(414),a=n(412),u=n(35),c=n(408),l=n(428);i(i.S+i.F*!n(416)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,p,h=o(t),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,y=void 0!==m,v=0,g=l(h);if(y&&(m=r(m,d>2?arguments[2]:void 0,2)),void 0==g||f==Array&&a(g))for(e=u(h.length),n=new f(e);e>v;v++)c(n,v,y?m(h[v],v):h[v]);else for(p=g.call(h),n=new f;!(i=p.next()).done;v++)c(n,v,y?s(p,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(2),i=n(403)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(39)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(2);r(r.S,"Array",{isArray:n(237)})},function(t,e,n){"use strict";var r=n(2),i=n(40),o=[].join;r(r.P+r.F*(n(103)!=Object||!n(39)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(2),i=n(40),o=n(86),s=n(35),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(39)(a)),"Array",{lastIndexOf:function(t){if(u)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){"use strict";var r=n(2),i=n(53)(1);r(r.P+r.F*!n(39)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(2),i=n(408);r(r.S+r.F*n(11)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(2),i=n(404);r(r.P+r.F*!n(39)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(2),i=n(404);r(r.P+r.F*!n(39)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(2),i=n(410),o=n(74),s=n(106),a=n(35),u=[].slice;r(r.P+r.F*n(11)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=s(t,n),c=s(e,n),l=a(c-i),p=Array(l),h=0;h9?t:"0"+t};r(r.P+r.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}})},function(t,e,n){"use strict";var r=n(2),i=n(41),o=n(76);r(r.P+r.F*n(11)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(14)("toPrimitive"),i=Date.prototype;r in i||n(55)(i,r,n(646))},function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n(30)(r,o,function(){var t=a.call(this);return t===t?s.call(this):i})},function(t,e,n){var r=n(2);r(r.P,"Function",{bind:n(405)})},function(t,e,n){"use strict";var r=n(13),i=n(57),o=n(14)("hasInstance"),s=Function.prototype;o in s||n(20).f(s,o,{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}})},function(t,e,n){var r=n(20).f,i=n(75),o=n(29),s=Function.prototype,a=/^\s*function ([^ (]*)/,u="name",c=Object.isExtensible||function(){return!0};u in s||n(25)&&r(s,u,{configurable:!0,get:function(){try{var t=this,e=(""+t).match(a)[1];return o(t,u)||!c(t)||r(t,u,i(5,e)),e}catch(t){return""}}})},function(t,e,n){var r=n(2),i=n(418),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(2),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(2),i=n(242);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(2);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(2),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(2),i=n(241);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(2),i=n(242),o=Math.pow,s=o(2,-52),a=o(2,-23),u=o(2,127)*(2-a),c=o(2,-126),l=function(t){return t+1/s-1/s};r(r.S,"Math",{fround:function(t){var e,n,r=Math.abs(t),o=i(t);return ru||n!=n?o*(1/0):o*n)}})},function(t,e,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(11)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(2);r(r.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var r=n(2);r(r.S,"Math",{log1p:n(418)})},function(t,e,n){var r=n(2);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(2);r(r.S,"Math",{sign:n(242)})},function(t,e,n){var r=n(2),i=n(241),o=Math.exp;r(r.S+r.F*n(11)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(2),i=n(241),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(2);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(17),i=n(29),o=n(74),s=n(236),a=n(76),u=n(11),c=n(105).f,l=n(66).f,p=n(20).f,h=n(155).trim,f="Number",d=r[f],m=d,y=d.prototype,v=o(n(84)(y))==f,g="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=g?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(v?u(function(){y.valueOf.call(n)}):o(n)!=f)?s(new m(b(e)),n,d):b(e)};for(var _,w=n(25)?c(m):"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;w.length>x;x++)i(m,_=w[x])&&!i(d,_)&&p(d,_,l(m,_));d.prototype=y,y.constructor=d,n(30)(r,f,d)}},function(t,e,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(2),i=n(17).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(2);r(r.S,"Number",{isInteger:n(413)})},function(t,e,n){var r=n(2);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(2),i=n(413),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(2),i=n(423);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(2),i=n(424);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){"use strict";var r=n(2),i=n(86),o=n(402),s=n(426),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p="0",h=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call(p,7-n.length)+n}return e},m=function(t,e,n){return 0===e?n:e%2===1?m(t,e-1,n*t):m(t*t,e/2,n)},y=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(11)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,l),c=i(t),v="",g=p;if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(e=y(u*m(2,69,1))-69,n=e<0?u*m(2,-e,1):u/m(2,e,1),n*=4503599627370496,e=52-e,e>0){for(h(0,n),r=c;r>=7;)h(1e7,0),r-=7;for(h(m(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<0?(a=g.length,g=v+(a<=c?"0."+s.call(p,c-a)+g:g.slice(0,a-c)+"."+g.slice(a-c))):g=v+g,g}})},function(t,e,n){"use strict";var r=n(2),i=n(11),o=n(402),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(419)})},function(t,e,n){var r=n(2);r(r.S,"Object",{create:n(84)})},function(t,e,n){var r=n(2);r(r.S+r.F*!n(25),"Object",{defineProperties:n(420)})},function(t,e,n){var r=n(2);r(r.S+r.F*!n(25),"Object",{defineProperty:n(20).f})},function(t,e,n){var r=n(13),i=n(65).onFreeze;n(45)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(40),i=n(66).f;n(45)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){n(45)("getOwnPropertyNames",function(){return n(421).f})},function(t,e,n){var r=n(41),i=n(57);n(45)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(13);n(45)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(13);n(45)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(13);n(45)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(2);r(r.S,"Object",{is:n(651)})},function(t,e,n){var r=n(41),i=n(85);n(45)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(13),i=n(65).onFreeze;n(45)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(13),i=n(65).onFreeze;n(45)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(244).set})},function(t,e,n){var r=n(2),i=n(423);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(2),i=n(424);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(2),i=n(73),o=n(9),s=(n(17).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(11)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return s?s(r,e,u):a.call(r,e,u)}})},function(t,e,n){var r=n(2),i=n(84),o=n(73),s=n(9),a=n(13),u=n(11),c=n(405),l=(n(17).Reflect||{}).construct,p=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!u(function(){l(function(){})});r(r.S+r.F*(p||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(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(c.apply(t,r))}var u=n.prototype,f=i(a(u)?u:Object.prototype),d=Function.apply.call(t,f,e);return a(d)?d:f}})},function(t,e,n){var r=n(20),i=n(2),o=n(9),s=n(76);i(i.S+i.F*n(11)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(2),i=n(66).f,o=n(9);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(2),i=n(9),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(415)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(66),i=n(2),o=n(9);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(2),i=n(57),o=n(9);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){function r(t,e){var n,a,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(a=o(t))?r(a,e,l):void 0}var i=n(66),o=n(57),s=n(29),a=n(2),u=n(13),c=n(9);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(2);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(2),i=n(9),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(650)})},function(t,e,n){var r=n(2),i=n(9),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(2),i=n(244);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,h,f=arguments.length<4?t:arguments[3],d=o.f(l(t),e);if(!d){if(p(h=s(t)))return r(h,e,n,f);d=c(0)}return a(d,"value")?!(d.writable===!1||!p(f))&&(u=o.f(f,e)||c(0),u.value=n,i.f(f,e,u),!0):void 0!==d.set&&(d.set.call(f,n),!0)}var i=n(20),o=n(66),s=n(57),a=n(29),u=n(2),c=n(75),l=n(9),p=n(13);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(17),i=n(236),o=n(20).f,s=n(105).f,a=n(238),u=n(235),c=r.RegExp,l=c,p=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(25)&&(!d||n(11)(function(){return f[n(14)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")}))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(d?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:p,c)};for(var m=(function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}),y=s(l),v=0;y.length>v;)m(y[v++]);p.constructor=c,c.prototype=p,n(30)(r,"RegExp",c)}n(245)("RegExp")},function(t,e,n){"use strict";n(431);var r=n(9),i=n(235),o=n(25),s="toString",a=/./[s],u=function(t){n(30)(RegExp.prototype,s,t,!0)};n(11)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):a.name!=s&&u(function(){return a.call(this)})},function(t,e,n){"use strict";n(31)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(31)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(31)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(31)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var r=n(2),i=n(425)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(2),i=n(35),o=n(247),s="endsWith",a=""[s];r(r.P+r.F*n(234)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),u=void 0===n?r:Math.min(i(n),r),c=String(t);return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){"use strict";n(31)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(31)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(31)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var r=n(2),i=n(106),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(2),i=n(247),o="includes";r(r.P+r.F*n(234)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(31)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(31)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(2),i=n(40),o=n(35);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(31)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(31)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(31)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(155)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r,i=n(53)(0),o=n(30),s=n(65),a=n(419),u=n(645),c=n(13),l=s.getWeak,p=Object.isExtensible,h=u.ufstore,f={},d=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(c(t)){var e=l(t);return e===!0?h(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},y=t.exports=n(232)("WeakMap",d,m,u,!0,!0);7!=(new y).set((Object.freeze||Object)(f),7).get(f)&&(r=u.getConstructor(d),a(r.prototype,m),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=y.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!p(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){var r=n(56),i=n(9),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(56),i=n(9),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=a.get(e);return u.delete(n),!!u.size||a.delete(e)}})},function(t,e,n){var r=n(436),i=n(642),o=n(56),s=n(9),a=n(57),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e),o=a(t);if(null===o)return n;var s=l(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return l(s(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(56),i=n(9),o=n(57),s=r.has,a=r.get,u=r.key,c=function(t,e,n){var r=s(t,e,n);if(r)return a(t,e,n);var i=o(e);return null!==i?c(t,i,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(56),i=n(9),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(56),i=n(9),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(56),i=n(9),o=n(57),s=r.has,a=r.key,u=function(t,e,n){var r=s(t,e,n);if(r)return!0;var i=o(e);return null!==i&&u(t,i,n)};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(56),i=n(9),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(56),i=n(9),o=n(73),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},,,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function s(){m&&f&&(m=!1,f.length?d=f.concat(d):y=-1,d.length&&a())}function a(){if(!m){var t=i(s);m=!0;for(var e=d.length;e;){for(f=d,d=[];++y1)for(var n=1;n\n @ng-idle Example\n \n\n
\n \n

Example

\n

Once you go idle, a timeout will start. Click, scroll, or press a key to interrupt it. If you time out, click the Reset button to start the demo again.

\n

{{idleState}}

\n

Last keepalive ping {{lastPing | amTimeAgo}}

\n \n
\n\n \n

Getting Started

\n

This example shows you how to create a project using TypeScript and angular-cli, and includes the optional @ng-idle/keepalive module. It also uses angular2-moment to provide additional pipes for formatting the last ping time.

\n

Install TypeScript

\n

You will get best results with TypeScript 2 or later. If you do not have this installed, run:

\n \n npm install -g typescript@2.0.0\n \n

Create a project with Angular CLI

\n

In this example, we'll use Angular CLI to create, test, and serve your application. If you do not have Angular CLI installed, run:

\n \nnpm uninstall -g angular-cli
\nnpm cache clean
\nnpm install -g angular-cli
\n
\n

Run the following commands to create your project:

\n \nng new my-idle-app
\ncd my-idle-app\n
\n

Install @ng-idle

\n

@ng-idle is available via NPM. Install it by running:

\n \n npm install --save @ng-idle/core @ng-idle/keepalive angular2-moment\n \n

Set up your application module

\n

Open src/app/app.module.ts and import the Ng2IdleModule using

\n
\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { HttpModule } from '@angular/http';\n\nimport { NgIdleKeepaliveModule } from '@ng-idle/keepalive'; // this includes the core NgIdleModule but includes keepalive providers for easy wireup\n\nimport { MomentModule } from 'angular2-moment'; // optional, provides moment-style pipes for date formatting\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    FormsModule,\n    HttpModule,\n    MomentModule,\n    NgIdleKeepaliveModule.forRoot()\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n    
\n

Extend your app component

\n

Open src/app/app.component.ts and add a constructor. This is where we will configure the Idle service and start watching. By placing this code in the AppComponent constructor, the application will immediately start watching for idleness. This example also uses the default interrupt source by watching the document for common user input events. We also subscribe to various events to handle idle state. This is only an example; you can tailor your initialization and handling for your application's purposes.

\n
\nimport { Component } from '@angular/core';\n\nimport {Idle, DEFAULT_INTERRUPTSOURCES} from '@ng-idle/core';\nimport {Keepalive} from '@ng-idle/keepalive';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n  idleState = 'Not started.';\n  timedOut = false;\n  lastPing?: Date = null;\n\n  constructor(private idle: Idle, private keepalive: Keepalive) {\n    // sets an idle timeout of 5 seconds, for testing purposes.\n    idle.setIdle(5);\n    // sets a timeout period of 5 seconds. after 10 seconds of inactivity, the user will be considered timed out.\n    idle.setTimeout(5);\n    // sets the default interrupts, in this case, things like clicks, scrolls, touches to the document\n    idle.setInterrupts(DEFAULT_INTERRUPTSOURCES);\n\n    idle.onIdleEnd.subscribe(() => this.idleState = 'No longer idle.');\n    idle.onTimeout.subscribe(() => {\n      this.idleState = 'Timed out!';\n      this.timedOut = true;\n    });\n    idle.onIdleStart.subscribe(() => this.idleState = 'You\\'ve gone idle!');\n    idle.onTimeoutWarning.subscribe((countdown) => this.idleState = 'You will time out in ' + countdown + ' seconds!');\n\n    // sets the ping interval to 15 seconds\n    keepalive.interval(15);\n\n    keepalive.onPing.subscribe(() => this.lastPing = new Date());\n\n    this.reset();\n  }\n\n  reset() {\n    this.idle.watch();\n    this.idleState = 'Started.';\n    this.timedOut = false;\n  }\n}\n    
\n

We'll also add a simple status label and button to show the component is working, and to reset the demo if you time out. Open src/app/app.component.html

\n
\n<p><strong>{{idleState}}</strong></p>\n<p *ngIf=\"lastPing\"><small>Last keepalive ping <strong>{{lastPing | amTimeAgo}}</strong></small></p>\n<button (click)=\"reset()\" *ngIf=\"timedOut\">Restart</button>\n    
\n

Run your project

\n

Execute ng serve to serve your project at http://localhost:4200

\n
\n
\n"},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(3),o=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(i.Subscriber);e.InnerSubscriber=o},function(t,e){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";var r=n(12);e.Subject=r.Subject;var i=n(0);e.Observable=i.Observable,n(785),n(786),n(787),n(788),n(789),n(792),n(441),n(793),n(794),n(795),n(796),n(797),n(798),n(799),n(800),n(804),n(801),n(442),n(802),n(803),n(805),n(808),n(806),n(807),n(809),n(790),n(791),n(812),n(813),n(814),n(815),n(816),n(817),n(443),n(818),n(819),n(820),n(821),n(822),n(823),n(824),n(830),n(825),n(826),n(827),n(828),n(829),n(831),n(832),n(833),n(834),n(444),n(837),n(838),n(839),n(835),n(445),n(446),n(840),n(841),n(447),n(842),n(843),n(844),n(810),n(811),n(845),n(846),n(836),n(249),n(847),n(848),n(849),n(850),n(851),n(852),n(853),n(854),n(855),n(856),n(857),n(858),n(859),n(860),n(861),n(862),n(863),n(865),n(864),n(866),n(867),n(868),n(869),n(870),n(871),n(872),n(873),n(874),n(875),n(448),n(876),n(877),n(878),n(879),n(880),n(881),n(882),n(883),n(884),n(885),n(886),n(887),n(888),n(889),n(890),n(891),n(892),n(893),n(894),n(895),n(896),n(897),n(898),n(899),n(900),n(901),n(902),n(903),n(904);var o=n(21);e.Subscription=o.Subscription;var s=n(3);e.Subscriber=s.Subscriber;var a=n(158);e.AsyncSubject=a.AsyncSubject;var u=n(159);e.ReplaySubject=u.ReplaySubject;var c=n(440);e.BehaviorSubject=c.BehaviorSubject;var l=n(450);e.MulticastObservable=l.MulticastObservable;var p=n(250);e.ConnectableObservable=p.ConnectableObservable;var h=n(108);e.Notification=h.Notification;var f=n(164);e.EmptyError=f.EmptyError;var d=n(163);e.ArgumentOutOfRangeError=d.ArgumentOutOfRangeError;var m=n(258);e.ObjectUnsubscribedError=m.ObjectUnsubscribedError;var y=n(471);e.UnsubscriptionError=y.UnsubscriptionError;var v=n(463);e.TimeInterval=v.TimeInterval;var g=n(464);e.Timestamp=g.Timestamp;var b=n(1039);e.TestScheduler=b.TestScheduler;var _=n(466);e.VirtualTimeScheduler=_.VirtualTimeScheduler;var w=n(452);e.AjaxResponse=w.AjaxResponse,e.AjaxError=w.AjaxError,e.AjaxTimeoutError=w.AjaxTimeoutError;var x=n(467),E=n(27),S=n(468),C=n(1036),O=n(162),k=n(111),P=n(161),T={asap:x.asap,queue:S.queue,animationFrame:C.animationFrame,async:E.async};e.Scheduler=T;var A={rxSubscriber:O.$$rxSubscriber,observable:P.$$observable,iterator:k.$$iterator};e.Symbol=A},function(t,e){"use strict";var n=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=n},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(21),o=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);n!==-1&&e.splice(n,1)}}},e}(i.Subscription);e.SubjectSubscription=o},function(t,e,n){"use strict";var r=n(0),i=n(923);r.Observable.bindCallback=i.bindCallback},function(t,e,n){"use strict";var r=n(0),i=n(924);r.Observable.bindNodeCallback=i.bindNodeCallback},function(t,e,n){"use strict";var r=n(0),i=n(925);r.Observable.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(0),i=n(926);r.Observable.concat=i.concat},function(t,e,n){"use strict";var r=n(0),i=n(927);r.Observable.defer=i.defer},function(t,e,n){"use strict";var r=n(0),i=n(929);r.Observable.ajax=i.ajax},function(t,e,n){"use strict";var r=n(0),i=n(930);r.Observable.webSocket=i.webSocket},function(t,e,n){"use strict";var r=n(0),i=n(931);r.Observable.empty=i.empty},function(t,e,n){"use strict";var r=n(0),i=n(933);r.Observable.from=i.from},function(t,e,n){"use strict";var r=n(0),i=n(934);r.Observable.fromEvent=i.fromEvent},function(t,e,n){"use strict";var r=n(0),i=n(935);r.Observable.fromEventPattern=i.fromEventPattern},function(t,e,n){"use strict";var r=n(0),i=n(453);r.Observable.fromPromise=i.fromPromise},function(t,e,n){"use strict";var r=n(0),i=n(913);r.Observable.generate=i.GenerateObservable.create},function(t,e,n){"use strict";var r=n(0),i=n(936);r.Observable.if=i._if},function(t,e,n){"use strict";var r=n(0),i=n(937);r.Observable.interval=i.interval},function(t,e,n){"use strict";var r=n(0),i=n(938);r.Observable.merge=i.merge},function(t,e,n){"use strict";var r=n(0),i=n(939);r.Observable.never=i.never},function(t,e,n){"use strict";var r=n(0),i=n(461);r.Observable.onErrorResumeNext=i.onErrorResumeNextStatic},function(t,e,n){"use strict";var r=n(0),i=n(941);r.Observable.pairs=i.pairs},function(t,e,n){"use strict";var r=n(0),i=n(462);r.Observable.race=i.raceStatic},function(t,e,n){"use strict";var r=n(0),i=n(942);r.Observable.range=i.range},function(t,e,n){"use strict";var r=n(0),i=n(943);r.Observable.throw=i._throw},function(t,e,n){"use strict";var r=n(0),i=n(944);r.Observable.timer=i.timer},function(t,e,n){"use strict";var r=n(0),i=n(945);r.Observable.using=i.using},function(t,e,n){"use strict";var r=n(0),i=n(946);r.Observable.zip=i.zip},function(t,e,n){"use strict";var r=n(0),i=n(947);r.Observable.prototype.audit=i.audit},function(t,e,n){"use strict";var r=n(0),i=n(948);r.Observable.prototype.auditTime=i.auditTime},function(t,e,n){"use strict";var r=n(0),i=n(949);r.Observable.prototype.buffer=i.buffer},function(t,e,n){"use strict";var r=n(0),i=n(950);r.Observable.prototype.bufferCount=i.bufferCount},function(t,e,n){"use strict";var r=n(0),i=n(951);r.Observable.prototype.bufferTime=i.bufferTime},function(t,e,n){"use strict";var r=n(0),i=n(952);r.Observable.prototype.bufferToggle=i.bufferToggle},function(t,e,n){"use strict";var r=n(0),i=n(953);r.Observable.prototype.bufferWhen=i.bufferWhen},function(t,e,n){"use strict";var r=n(0),i=n(954);r.Observable.prototype.cache=i.cache},function(t,e,n){"use strict";var r=n(0),i=n(956);r.Observable.prototype.combineAll=i.combineAll},function(t,e,n){"use strict";var r=n(0),i=n(252);r.Observable.prototype.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(0),i=n(253);r.Observable.prototype.concat=i.concat},function(t,e,n){"use strict";var r=n(0),i=n(957);r.Observable.prototype.concatAll=i.concatAll},function(t,e,n){"use strict";var r=n(0),i=n(958);r.Observable.prototype.concatMap=i.concatMap},function(t,e,n){"use strict";var r=n(0),i=n(959);r.Observable.prototype.concatMapTo=i.concatMapTo},function(t,e,n){"use strict";var r=n(0),i=n(960);r.Observable.prototype.count=i.count},function(t,e,n){"use strict";var r=n(0),i=n(961);r.Observable.prototype.debounce=i.debounce},function(t,e,n){"use strict";var r=n(0),i=n(962);r.Observable.prototype.debounceTime=i.debounceTime},function(t,e,n){"use strict";var r=n(0),i=n(963);r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},function(t,e,n){"use strict";var r=n(0),i=n(964);r.Observable.prototype.delay=i.delay},function(t,e,n){"use strict";var r=n(0),i=n(965);r.Observable.prototype.delayWhen=i.delayWhen},function(t,e,n){"use strict";var r=n(0),i=n(966);r.Observable.prototype.dematerialize=i.dematerialize},function(t,e,n){"use strict";var r=n(0),i=n(454);r.Observable.prototype.distinct=i.distinct},function(t,e,n){"use strict";var r=n(0),i=n(967);r.Observable.prototype.distinctKey=i.distinctKey},function(t,e,n){"use strict";var r=n(0),i=n(455);r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},function(t,e,n){"use strict";var r=n(0),i=n(968);r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},function(t,e,n){"use strict";var r=n(0),i=n(970);r.Observable.prototype.elementAt=i.elementAt},function(t,e,n){"use strict";var r=n(0),i=n(971);r.Observable.prototype.every=i.every},function(t,e,n){"use strict";var r=n(0),i=n(972);r.Observable.prototype.exhaust=i.exhaust},function(t,e,n){"use strict";var r=n(0),i=n(973);r.Observable.prototype.exhaustMap=i.exhaustMap},function(t,e,n){"use strict";var r=n(0),i=n(974);r.Observable.prototype.expand=i.expand},function(t,e,n){"use strict";var r=n(0),i=n(457);r.Observable.prototype.find=i.find},function(t,e,n){"use strict";var r=n(0),i=n(976);r.Observable.prototype.findIndex=i.findIndex},function(t,e,n){"use strict";var r=n(0),i=n(978);r.Observable.prototype.groupBy=i.groupBy},function(t,e,n){"use strict";var r=n(0),i=n(979);r.Observable.prototype.ignoreElements=i.ignoreElements},function(t,e,n){"use strict";var r=n(0),i=n(980);r.Observable.prototype.isEmpty=i.isEmpty},function(t,e,n){"use strict";var r=n(0),i=n(981);r.Observable.prototype.last=i.last},function(t,e,n){"use strict";var r=n(0),i=n(982);r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},function(t,e,n){"use strict";var r=n(0),i=n(983);r.Observable.prototype.mapTo=i.mapTo},function(t,e,n){"use strict";var r=n(0),i=n(984);r.Observable.prototype.materialize=i.materialize},function(t,e,n){"use strict";var r=n(0),i=n(985);r.Observable.prototype.max=i.max},function(t,e,n){"use strict";var r=n(0),i=n(458);r.Observable.prototype.merge=i.merge},function(t,e,n){"use strict";var r=n(0),i=n(160);r.Observable.prototype.mergeAll=i.mergeAll},function(t,e,n){"use strict";var r=n(0),i=n(459);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,n){"use strict";var r=n(0),i=n(460);r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},function(t,e,n){"use strict";var r=n(0),i=n(986);r.Observable.prototype.mergeScan=i.mergeScan},function(t,e,n){"use strict";var r=n(0),i=n(987);r.Observable.prototype.min=i.min},function(t,e,n){"use strict";var r=n(0),i=n(88);r.Observable.prototype.multicast=i.multicast},function(t,e,n){"use strict";var r=n(0),i=n(255);r.Observable.prototype.observeOn=i.observeOn},function(t,e,n){"use strict";var r=n(0),i=n(461);r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},function(t,e,n){"use strict";var r=n(0),i=n(988);r.Observable.prototype.pairwise=i.pairwise},function(t,e,n){"use strict";var r=n(0),i=n(989);r.Observable.prototype.partition=i.partition},function(t,e,n){"use strict";var r=n(0),i=n(990);r.Observable.prototype.pluck=i.pluck},function(t,e,n){"use strict";var r=n(0),i=n(991);r.Observable.prototype.publish=i.publish},function(t,e,n){"use strict";var r=n(0),i=n(992);r.Observable.prototype.publishBehavior=i.publishBehavior},function(t,e,n){"use strict";var r=n(0),i=n(993);r.Observable.prototype.publishLast=i.publishLast},function(t,e,n){"use strict";var r=n(0),i=n(994);r.Observable.prototype.publishReplay=i.publishReplay},function(t,e,n){"use strict";var r=n(0),i=n(462);r.Observable.prototype.race=i.race},function(t,e,n){"use strict";var r=n(0),i=n(256);r.Observable.prototype.reduce=i.reduce},function(t,e,n){"use strict";var r=n(0),i=n(995);r.Observable.prototype.repeat=i.repeat},function(t,e,n){"use strict";var r=n(0),i=n(996);r.Observable.prototype.repeatWhen=i.repeatWhen},function(t,e,n){"use strict";var r=n(0),i=n(997);r.Observable.prototype.retry=i.retry},function(t,e,n){"use strict";var r=n(0),i=n(998);r.Observable.prototype.retryWhen=i.retryWhen},function(t,e,n){"use strict";var r=n(0),i=n(999);r.Observable.prototype.sample=i.sample},function(t,e,n){"use strict";var r=n(0),i=n(1e3);r.Observable.prototype.sampleTime=i.sampleTime},function(t,e,n){"use strict";var r=n(0),i=n(1001);r.Observable.prototype.scan=i.scan},function(t,e,n){"use strict";var r=n(0),i=n(1002);r.Observable.prototype.sequenceEqual=i.sequenceEqual},function(t,e,n){"use strict";var r=n(0),i=n(1004);r.Observable.prototype.single=i.single},function(t,e,n){"use strict";var r=n(0),i=n(1005);r.Observable.prototype.skip=i.skip},function(t,e,n){"use strict";var r=n(0),i=n(1006);r.Observable.prototype.skipUntil=i.skipUntil},function(t,e,n){"use strict";var r=n(0),i=n(1007);r.Observable.prototype.skipWhile=i.skipWhile},function(t,e,n){"use strict";var r=n(0),i=n(1008);r.Observable.prototype.startWith=i.startWith},function(t,e,n){"use strict";var r=n(0),i=n(1009);r.Observable.prototype.subscribeOn=i.subscribeOn},function(t,e,n){"use strict";var r=n(0),i=n(1010);r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},function(t,e,n){"use strict";var r=n(0),i=n(1011);r.Observable.prototype.switchMap=i.switchMap},function(t,e,n){"use strict";var r=n(0),i=n(1012);r.Observable.prototype.switchMapTo=i.switchMapTo},function(t,e,n){"use strict";var r=n(0),i=n(1013);r.Observable.prototype.take=i.take},function(t,e,n){"use strict";var r=n(0),i=n(1014);r.Observable.prototype.takeLast=i.takeLast},function(t,e,n){"use strict";var r=n(0),i=n(1015);r.Observable.prototype.takeUntil=i.takeUntil},function(t,e,n){"use strict";var r=n(0),i=n(1016);r.Observable.prototype.takeWhile=i.takeWhile},function(t,e,n){"use strict";var r=n(0),i=n(1017);r.Observable.prototype.throttle=i.throttle},function(t,e,n){"use strict";var r=n(0),i=n(1018);r.Observable.prototype.throttleTime=i.throttleTime},function(t,e,n){"use strict";var r=n(0),i=n(463);r.Observable.prototype.timeInterval=i.timeInterval},function(t,e,n){"use strict";var r=n(0),i=n(1019);r.Observable.prototype.timeout=i.timeout},function(t,e,n){"use strict";var r=n(0),i=n(1020);r.Observable.prototype.timeoutWith=i.timeoutWith},function(t,e,n){"use strict";var r=n(0),i=n(464);r.Observable.prototype.timestamp=i.timestamp},function(t,e,n){"use strict";var r=n(0),i=n(1021);r.Observable.prototype.toArray=i.toArray},function(t,e,n){"use strict";var r=n(0),i=n(465);r.Observable.prototype.toPromise=i.toPromise},function(t,e,n){"use strict";var r=n(0),i=n(1022);r.Observable.prototype.window=i.window},function(t,e,n){"use strict";var r=n(0),i=n(1023);r.Observable.prototype.windowCount=i.windowCount},function(t,e,n){"use strict";var r=n(0),i=n(1024);r.Observable.prototype.windowTime=i.windowTime},function(t,e,n){"use strict";var r=n(0),i=n(1025);r.Observable.prototype.windowToggle=i.windowToggle},function(t,e,n){"use strict";var r=n(0),i=n(1026);r.Observable.prototype.windowWhen=i.windowWhen},function(t,e,n){"use strict";var r=n(0),i=n(1027);r.Observable.prototype.withLatestFrom=i.withLatestFrom},function(t,e,n){"use strict";var r=n(0),i=n(257);r.Observable.prototype.zip=i.zipProto},function(t,e,n){"use strict";var r=n(0),i=n(1028);r.Observable.prototype.zipAll=i.zipAll},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(251),s=n(67),a=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new o.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,i=t.subscriber;if(!i.closed){if(n>=r)return void i.complete();i.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=0,r=this,i=r.arrayLike,o=r.scheduler,s=i.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:i,index:n,length:s,subscriber:t});for(var a=0;ad?d:e):e}function o(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(26),c=n(0),l=n(111),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,i=t.subscriber;if(n)return void i.error(t.error);var o=r.next();return o.done?void i.complete():(i.next(o.value),t.index=e+1,void(i.closed||this.schedule(t)))},e.prototype._subscribe=function(t){var n=0,r=this,i=r.iterator,o=r.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,iterator:i,subscriber:t});for(;;){var s=i.next();if(s.done){t.complete();break}if(t.next(s.value),t.closed)break}},e}(c.Observable);e.IteratorObservable=p;var h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.$$iterator]=function(){return this},t.prototype.next=function(){return this.idx=r?void i.complete():(i.next(e),void(i.closed||(t.index=n+1,t.start=e+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:r,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable);e.RangeObservable=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(467),s=n(260),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return e.subscribe(n)},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source,i=this.scheduler;return i.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.Observable);e.SubscribeOnObservable=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(260),o=n(0),s=n(27),a=n(68),u=n(165),c=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(r=n),a.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=u.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber,i=this;if(r.next(e),!r.closed){if(n===-1)return r.complete();t.index=e+1,i.schedule(t,n)}},e.prototype._subscribe=function(t){var n=0,r=this,i=r.period,o=r.dueTime,s=r.scheduler;return s.schedule(e.dispatch,o,{index:n,period:i,subscriber:t})},e}(o.Observable);e.TimerObservable=c},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(6),s=n(5),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,r=n.resourceFactory,i=n.observableFactory;try{return e=r(),new u(t,e,i)}catch(e){t.error(e)}},e}(i.Observable);e.UsingObservable=a;var u=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(906);e.bindCallback=r.BoundCallbackObservable.create},function(t,e,n){"use strict";var r=n(907);e.bindNodeCallback=r.BoundNodeCallbackObservable.create},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){var e=arguments.length,n=u.async;l.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),this.lift(new p(t,r,i,n))}function i(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext(),a=this;r.closed||(r.add(o.closeAction=i.schedule(s,n,{subscriber:r,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(27),c=n(3),l=n(68);e.bufferTime=r;var p=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e._subscribe(new f(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),h=function(){function t(){this.buffer=[]}return t}(),f=function(t){function e(e,n,r,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var c=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var l={subscriber:this,context:c,bufferTimeSpan:n};this.add(c.closeAction=u.schedule(i,n,l))}else{var p={subscriber:this,context:c},h={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:u};this.add(c.closeAction=u.schedule(s,n,p)),this.add(u.schedule(o,r,h))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i0;){var i=n.shift();r.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(i,n,r))}},e.prototype.openContext=function(){var t=new h;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts,n=e?e.indexOf(t):-1;n>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),s=n(6),a=n(5);e.bufferToggle=r;var u=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.openings,this.closingSelector))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new o.Subscription,i={buffer:n,subscription:r};e.push(i);var a=s.subscribeToResult(this,t,i);!a||a.closed?this.closeBuffer(i):(a.context=i,this.add(a),r.add(a))},e}(a.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),s=n(23),a=n(22),u=n(5),c=n(6);e.bufferWhen=r;var l=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.closingSelector))},t}(),p=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(c.subscribeToResult(this,n)),this.subscribing=!1)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY);var r,s,a=this,u=0,c=function(){return r=new o.ReplaySubject(t,e,n)};return new i.Observable(function(t){r||(r=c(),s=a.subscribe(function(t){return r.next(t)},function(t){var e=r;r=null,e.error(t)},function(){return r.complete()})),u++,r||(r=c());var e=r.subscribe(t);return function(){u--,e&&e.unsubscribe(),0===u&&s.unsubscribe()}})}var i=n(0),o=n(159);e.cache=r},function(t,e,n){"use strict";function r(t){var e=new a(t),n=this.lift(e);return e.caught=n}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e._catch=r;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return i(e,t),e.prototype.error=function(t){if(!this.isStopped){var e=void 0;try{e=this.selector(t,this.caught)}catch(t){return void this.destination.error(t)}this.unsubscribe(),this.destination.remove(this),s.subscribeToResult(this,e)}},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new i.CombineLatestOperator(t))}var i=n(252);e.combineAll=r},function(t,e,n){"use strict";function r(){return this.lift(new i.MergeAllOperator(1))}var i=n(160);e.concatAll=r},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapOperator(t,e,1))}var i=n(459);e.concatMap=r},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapToOperator(t,e,1))}var i=n(460);e.concatMapTo=r},function(t,e,n){"use strict";function r(t){return this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.count=r;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.count=0,this.index=0}return i(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.debounce=r;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return i(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(3),a=n(27);e.debounceTime=r;var u=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new c(r,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(27),s=n(165),a=n(3),u=n(108);e.delay=r;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(this.errored!==!0){var e=this.scheduler,n=new p(e.now()+this.delay,t);this.queue.push(n),this.active===!1&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t, -this.notification=e}return t}()},function(t,e,n){"use strict";function r(t,e){return e?new p(this,e).lift(new c(t)):this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(0),a=n(5),u=n(6);e.delayWhen=r;var c=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.delayDurationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return e!==-1&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=u.subscribeToResult(this,t,e);this.add(n),this.delayNotifierSubscriptions.push(n),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),p=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return i(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new h(t,this.source))},e}(s.Observable),h=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return i(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return i.distinct.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]},n)}var i=n(454);e.distinctKey=r},function(t,e,n){"use strict";function r(t,e){return i.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var i=n(455);e.distinctUntilKeyChanged=r},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e);var s=new o.Subscriber(n,r,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(163);e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.index,this.defaultValue))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return i(e,t),e.prototype._next=function(t){0===this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&("undefined"!=typeof this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.every=r;var s=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.thisArg,this.source))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=i,this.index=0,this.thisArg=r||this}return i(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.exhaust=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return i(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.exhaustMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,r):a.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(t,e,n,r);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new c(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(23),s=n(22),a=n(5),u=n(6);e.expand=r;var c=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=c;var l=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=l},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(21);e._finally=r;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return i(e,t),e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.FindValueOperator(t,this,!0,e))}var i=n(457);e.findIndex=r},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new a(t,e,n,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(164);e.first=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.index=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){return this.resultSelector?void this._tryResultSelector(t,e):void this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;e.next(t),e.complete(),this.hasCompleted=!0},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||"undefined"==typeof this.defaultValue?this.hasCompleted||t.error(new s.EmptyError):(t.next(this.defaultValue),t.complete())},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new p(this,t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(21),a=n(0),u=n(12),c=n(1043),l=n(1041);e.groupBy=r;var p=function(){function t(t,e,n,r){this.source=t,this.keySelector=e,this.elementSelector=n,this.durationSelector=r}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.keySelector,this.elementSelector,this.durationSelector))},t}(),h=function(t){function e(e,n,r,i){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new l.FastMap:new c.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){n.set(e,i=new u.Subject);var o=new d(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new f(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||this.attemptedToUnsubscribe||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),f=function(t){function e(e,n,r){t.call(this),this.key=e,this.group=n,this.parent=r}return i(e,t),e.prototype._next=function(t){this._complete()},e.prototype._error=function(t){var e=this.group;e.closed||e.error(t),this.parent.removeGroup(this.key)},e.prototype._complete=function(){var t=this.group;t.closed||t.complete(),this.parent.removeGroup(this.key)},e}(o.Subscriber),d=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return i(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,r=n.refCountSubscription,i=n.groupSubject;return r&&!r.closed&&e.add(new m(r)),e.add(i.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var m=function(t){function e(e){t.call(this),this.parent=e,e.count++}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(474);e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.isEmpty=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new a(t,e,n,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(164);e.last=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.hasValue=!1,this.index=0,"undefined"!=typeof i&&(this.lastValue=i,this.hasValue=!0)}return i(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},function(t,e){"use strict";function n(t){return t(this)}e.letProto=n},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.mapTo=r;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return i(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(108);e.materialize=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n(256);e.max=r},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new c(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(23),s=n(22),a=n(6),u=n(5);e.mergeScan=r;var c=function(){function t(t,e,n){this.project=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.project,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var l=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(this.hasValue===!1&&this.destination.next(this.acc),this.destination.complete())},e}(u.OuterSubscriber);e.MergeScanSubscriber=l},function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t-1&&(this.count=r-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,n.subscribe(this)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(12),s=n(23),a=n(22),u=n(5),c=n(6);e.repeatWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.notifications,n=this.retries,r=this.retriesSubscription;if(n)this.notifications=null,this.retriesSubscription=null;else{if(e=new o.Subject,n=s.tryCatch(this.notifier)(e),n===a.errorObject)return t.prototype.complete.call(this);r=c.subscribeToResult(this,n)}this.unsubscribe(),this.closed=!1,this.notifications=e,this.retries=n,this.retriesSubscription=r,e.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.notifications,a=o.retries,u=o.retriesSubscription;this.notifications=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.notifications=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,i=n.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,r.subscribe(this)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(12),s=n(23),a=n(22),u=n(5),c=n(6);e.retryWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,r=s.tryCatch(this.notifier)(n),r===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,r)}this.unsubscribe(),this.closed=!1,this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.errors,a=o.retries,u=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.sample=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(3),a=n(27);e.sampleTime=r;var u=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.period,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(i,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.scan=r;var s=function(){function t(t,e){this.accumulator=t,this.seed=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.accumulator,this.seed))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.accumulator=n,this.index=0,this.accumulatorSet=!1,this.seed=r,this.accumulatorSet="undefined"!=typeof r}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.accumulatorSet=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){return this.accumulatorSet?this._tryNext(t):(this.seed=t,void this.destination.next(t))},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(23),a=n(22);e.sequenceEqual=r;var u=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=u;var c=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new l(e,this)))}return i(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparor;e.length>0&&n.length>0;){ -var i=e.shift(),o=n.shift(),u=!1;r?(u=s.tryCatch(r)(i,o),u===a.errorObject&&this.destination.error(a.errorObject.e)):u=i===o,u||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=c;var l=function(t){function e(e,n){t.call(this,e),this.parent=n}return i(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return new s.Subject}function i(){return o.multicast.call(this,r).refCount()}var o=n(88),s=n(12);e.share=i},function(t,e,n){"use strict";function r(t){return this.lift(new a(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(164);e.single=r;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.source))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return i(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.predicate;this.index++,e?this.tryNext(t):this.applySingleValue(t)},e.prototype.tryNext=function(t){try{var e=this.predicate(t,this.index,this.source);e&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.skipUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3);e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1?a.concatStatic(new i.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var i=n(58),o=n(251),s=n(67),a=n(253),u=n(68);e.startWith=r},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),new i.SubscribeOnObservable(this,e,t)}var i=n(920);e.subscribeOn=r},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(5),s=n(6);e.switchMapTo=r;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.observable,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.inner=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.tryResultSelector(t,e,n,r):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,r){var i,o=this,s=o.resultSelector,a=o.destination;try{i=s(t,e,n,r)}catch(t){return void a.error(t)}a.next(i)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(163),a=n(67);e.take=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total;++this.count<=e&&(this.destination.next(t),this.count===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(3),s=n(163),a=n(67);e.takeLast=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a=0&&u%e===0&&!this.closed&&i.shift().complete(),++this.count%e===0&&!this.closed){var c=new s.Subject;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=c.async),this.lift(new p(t,e,n))}function i(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&r.complete(),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),a=this,u={action:a,subscription:null},c={subscriber:n,window:o,context:u};u.subscription=r.schedule(s,e,c),a.add(u.subscription),a.schedule(t,i)}function s(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(12),c=n(27),l=n(3);e.windowTime=r;var p=function(){function t(t,e,n){this.windowTimeSpan=t,this.windowCreationInterval=e,this.scheduler=n}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.windowTimeSpan,this.windowCreationInterval,this.scheduler))},t}(),h=function(t){function e(e,n,r,a){if(t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=r,this.scheduler=a,this.windows=[],null!==r&&r>=0){var u=this.openWindow(),c={subscriber:this,window:u,context:null},l={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:a};this.add(a.schedule(s,n,c)),this.add(a.schedule(o,r,l))}else{var p=this.openWindow(),h={subscriber:this,window:p,windowTimeSpan:n};this.add(a.schedule(i,n,h))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new u.Subject;this.windows.push(t);var e=this.destination;return e.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(l.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new p(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(12),s=n(21),a=n(23),u=n(22),c=n(5),l=n(6);e.windowToggle=r;var p=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.openings,this.closingSelector))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,n,n))}return i(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0){var s=o.indexOf(n);s!==-1&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new i.ZipOperator(t))}var i=n(257);e.zipAll=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(21),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(109),o=n(1040),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.recycleAsyncId.call(this,e,n,r):void(0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0))},e}(i.AsyncAction);e.AnimationFrameAction=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(110),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,r=e.length,i=e.shift();do if(t=i.execute(i.state,i.delay))break;while(++n0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.recycleAsyncId.call(this,e,n,r):void(0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0))},e}(o.AsyncAction);e.AsapAction=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(110),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,r=e.length,i=e.shift();do if(t=i.execute(i.state,i.delay))break;while(++n0?t.prototype.schedule.call(this,e,n):(this.delay=n, -this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(i.AsyncAction);e.QueueAction=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(110),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler);e.QueueScheduler=o},function(t,e,n){"use strict";var r=n(1030),i=n(1031);e.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(0),o=n(21),s=n(470),a=n(472),u=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o-1?n:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),t.indexOf("!")!==-1)throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],u=t.indexOf("^"),c=u===-1?0:u*-this.frameTimeFactor,l="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},p=-1,h=0;h-1?p:f,notification:d})}return a},e}(c.VirtualTimeScheduler);e.TestScheduler=p},function(t,e,n){"use strict";var r=n(26),i=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},function(t,e){"use strict";var n=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=n},function(t,e,n){"use strict";var r=n(26),i=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n=0;n--)"function"==typeof t[n]&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function r(t,e){for(var r=t.constructor.name,i=function(i){var o=e[i],s=t[o];s&&(t[o]=function(t){return function(){return t.apply(this,n(arguments,r+"."+o))}}(s))},o=0;o1?new e(t,n):new e(t),s=Object.getOwnPropertyDescriptor(i,"onmessage");return s&&s.configurable===!1?(r=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return i[t].apply(i,arguments)}})):r=i,o(r,["close","error","message","open"]),r};for(var n in e)t.WebSocket[n]=e[n]}function x(t){if(!A){var e="undefined"!=typeof WebSocket;E()?(I&&o(HTMLElement.prototype,W),o(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(o(IDBIndex.prototype,null),o(IDBRequest.prototype,null),o(IDBOpenDBRequest.prototype,null),o(IDBDatabase.prototype,null),o(IDBTransaction.prototype,null),o(IDBCursor.prototype,null)),e&&o(WebSocket.prototype,null)):(S(),p("XMLHttpRequest"),e&&w(t))}}function E(){if(I&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});var e=new XMLHttpRequest,n=!!e.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),n}function S(){for(var t=function(t){var e=W[t],n="on"+e;self.addEventListener(e,function(t){var e,r,i=t.target;for(r=i?i.constructor.name+"."+n:"unknown."+n;i;)i[n]&&!i[n][G]&&(e=Zone.current.wrap(i[n],r),e[G]=i[n],i[n]=e),i=i.parentElement},!0)},e=0;e",this._properties=e&&e.properties||{},this._zoneDelegate=new m(this,this._parent&&this._parent._zoneDelegate,e)}return n.assertZonePatched=function(){if(t.Promise!==R)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(n,"current",{get:function(){return _},enumerable:!0,configurable:!0}),Object.defineProperty(n,"currentTask",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),n.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},n.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},n.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},n.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)}},n.prototype.run=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=_;_=this;try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{_=i}},n.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=_;_=this;try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{_=i}},n.prototype.runTask=function(t,e,n){if(t.runCount++,t.zone!=this)throw new Error("A task can only be run in the zone which created it! (Creation: "+t.zone.name+"; Execution: "+this.name+")");var r=w;w=t;var i=_;_=this;try{"macroTask"==t.type&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{_=i,w=r}},n.prototype.scheduleMicroTask=function(t,e,n,r){return this._zoneDelegate.scheduleTask(this,new y("microTask",this,t,e,n,r,null))},n.prototype.scheduleMacroTask=function(t,e,n,r,i){return this._zoneDelegate.scheduleTask(this,new y("macroTask",this,t,e,n,r,i))},n.prototype.scheduleEventTask=function(t,e,n,r,i){return this._zoneDelegate.scheduleTask(this,new y("eventTask",this,t,e,n,r,i))},n.prototype.cancelTask=function(t){var e=this._zoneDelegate.cancelTask(this,t);return t.runCount=-1,t.cancelFn=null,e},n.__symbol__=e,n}(),m=function(){function t(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._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:e._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?e:e._hasTaskDlgt)}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new d(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,t,e,n,r,i):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,t,e)},t.prototype.scheduleTask=function(t,e){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,t,e);if(e.scheduleFn)e.scheduleFn(e);else{if("microTask"!=e.type)throw new Error("Task is missing scheduleFn.");r(e)}return e}finally{t==this.zone&&this._updateTaskCount(e.type,1)}},t.prototype.invokeTask=function(t,e,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,t,e,n,r):e.callback.apply(n,r)}finally{t!=this.zone||"eventTask"==e.type||e.data&&e.data.isPeriodic||this._updateTaskCount(e.type,-1)}},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,t,e);else{if(!e.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");n=e.cancelFn(e)}return t==this.zone&&this._updateTaskCount(e.type,-1),n},t.prototype.hasTask=function(t,e){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,t,e)},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],i=n[t]=r+e;if(i<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==i){var o={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};try{this.hasTask(this.zone,o)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(t,e)}}},t}(),y=function(){function t(t,e,n,r,i,s,a){this.runCount=0,this.type=t,this.zone=e,this.source=n,this.data=i,this.scheduleFn=s,this.cancelFn=a,this.callback=r;var u=this;this.invoke=function(){C++;try{return e.runTask(u,this,arguments)}finally{1==C&&o(),C--}}}return t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t}(),v=e("setTimeout"),g=e("Promise"),b=e("then"),_=new d(null,null),w=null,x=[],E=!1,S=[],C=0,O=e("state"),k=e("value"),P="Promise.then",T=null,A=!0,I=!1,M=0,R=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[O]=T,n[k]=[];try{e&&e(c(n,A),c(n,I))}catch(t){l(n,!1,t)}}return t.resolve=function(t){return l(new this(null),A,t)},t.reject=function(t){return l(new this(null),I,t)},t.race=function(t){function e(t){o&&(o=r(t))}function n(t){o&&(o=i(t))}for(var r,i,o=new this(function(t,e){n=[t,e],r=n[0],i=n[1];var n}),a=0,u=t;a\n */\nvar Observable = (function () {\n /**\n * @constructor\n * @param {Function} subscribe the function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n /**\n * Creates a new Observable, with this Observable as the source, and the passed\n * operator defined as the new observable's operator.\n * @method lift\n * @param {Operator} operator the operator defining the operation to take on the observable\n * @return {Observable} a new observable with the Operator applied\n */\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n /**\n * Registers handlers for handling emitted values, error and completions from the observable, and\n * executes the observable's subscriber function, which will take action to set up the underlying data stream\n * @method subscribe\n * @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,\n * or the first of three possible handlers, which is the handler for each value emitted from the observable.\n * @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown as unhandled\n * @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.\n * @return {ISubscription} a subscription reference to the registered handlers\n */\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n if (operator) {\n operator.call(sink, this);\n }\n else {\n sink.add(this._subscribe(sink));\n }\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n return sink;\n };\n /**\n * @method forEach\n * @param {Function} next a handler for each value emitted by the observable\n * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n * @return {Promise} a promise that either resolves on observable completion or\n * rejects with the handled error\n */\n Observable.prototype.forEach = function (next, PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n }\n else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function (resolve, reject) {\n var subscription = _this.subscribe(function (value) {\n if (subscription) {\n // if there is a subscription, then we can surmise\n // the next handling is asynchronous. Any errors thrown\n // need to be rejected explicitly and unsubscribe must be\n // called manually\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n }\n else {\n // if there is NO subscription, then we're getting a nexted\n // value synchronously during subscription. We can just call it.\n // If it errors, Observable's `subscribe` will ensure the\n // unsubscription logic is called, then synchronously rethrow the error.\n // After that, Promise will trap the error and send it\n // down the rejection path.\n next(value);\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n return this.source.subscribe(subscriber);\n };\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @method Symbol.observable\n * @return {Observable} this instance of the observable\n */\n Observable.prototype[observable_1.$$observable] = function () {\n return this;\n };\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new cold Observable by calling the Observable constructor\n * @static true\n * @owner Observable\n * @method create\n * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n * @return {Observable} a new cold observable\n */\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexports.Observable = Observable;\n//# sourceMappingURL=Observable.js.map\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_core__ = __webpack_require__(530);\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"assertPlatform\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_25\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"destroyPlatform\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_26\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"getPlatform\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_27\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"createPlatform\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_28\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ApplicationRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_13\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"enableProdMode\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_29\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"isDevMode\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"c\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"createPlatformFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_2\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"PlatformRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_30\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"APP_ID\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_31\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"PACKAGE_ROOT_URL\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"y\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"APP_BOOTSTRAP_LISTENER\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_32\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"PLATFORM_INITIALIZER\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_5\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ApplicationInitStatus\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_33\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"APP_INITIALIZER\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_34\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"DebugElement\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_35\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"DebugNode\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_36\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"asNativeElements\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_37\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"getDebugNode\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_14\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Testability\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_18\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"TestabilityRegistry\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_38\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"setTestabilityGetter\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_11\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"TRANSLATIONS\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Z\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"TRANSLATIONS_FORMAT\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"u\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"LOCALE_ID\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"t\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ApplicationModule\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_19\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"wtfCreateScope\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_39\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"wtfLeave\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_40\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"wtfStartTimeRange\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_41\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"wtfEndTimeRange\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_42\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Type\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"U\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"EventEmitter\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_6\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ErrorHandler\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_17\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationTransitionEvent\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_43\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationPlayer\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_44\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Sanitizer\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_16\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"SecurityContext\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"s\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Attribute\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"T\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ContentChild\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_23\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ContentChildren\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_22\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Query\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"E\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ViewChild\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_21\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ViewChildren\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_24\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ANALYZE_FOR_ENTRY_COMPONENTS\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"f\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Component\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"F\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Directive\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"G\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"HostBinding\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"C\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"HostListener\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"D\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Input\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"A\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Output\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"B\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Pipe\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"I\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"OnDestroy\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_45\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AfterContentInit\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_46\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AfterViewChecked\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_47\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AfterViewInit\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_48\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"DoCheck\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_49\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"OnChanges\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_50\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AfterContentChecked\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_51\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"OnInit\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_52\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"CUSTOM_ELEMENTS_SCHEMA\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Y\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NO_ERRORS_SCHEMA\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"X\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NgModule\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"H\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ViewEncapsulation\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"a\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Class\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_53\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"forwardRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_20\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"resolveForwardRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"z\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Injector\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"p\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ReflectiveInjector\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_0\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ResolvedReflectiveFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_54\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ReflectiveKey\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_55\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"OpaqueToken\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"v\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NgZone\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_12\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"RenderComponentType\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"j\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Renderer\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"q\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"RootRenderer\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_15\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"COMPILER_OPTIONS\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_1\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"CompilerFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_4\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ModuleWithComponentFactories\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"V\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Compiler\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"W\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ComponentFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"n\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ComponentRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_56\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ComponentFactoryResolver\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"m\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ElementRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"g\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NgModuleFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"o\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NgModuleRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_57\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"NgModuleFactoryLoader\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_58\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"getModuleFactory\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_59\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"QueryList\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"k\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"SystemJsNgModuleLoader\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_60\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"SystemJsNgModuleLoaderConfig\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_61\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"TemplateRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"l\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ViewContainerRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"h\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"EmbeddedViewRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_62\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ViewRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_63\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ChangeDetectionStrategy\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"b\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"ChangeDetectorRef\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"i\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"CollectionChangeRecord\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_64\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"DefaultIterableDiffer\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_65\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"IterableDiffers\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_7\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"KeyValueChangeRecord\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_66\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"KeyValueDiffers\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_8\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"SimpleChange\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"r\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"WrappedValue\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_9\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"platformCore\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_3\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"__core_private__\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"e\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AUTO_STYLE\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_10\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationEntryMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_67\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationStateMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_68\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationStateDeclarationMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"J\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationStateTransitionMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"K\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_69\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationKeyframesSequenceMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"M\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationStyleMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"L\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationAnimateMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"N\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationWithStepsMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"O\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationSequenceMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_70\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"AnimationGroupMetadata\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"P\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"animate\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_71\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"group\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_72\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"sequence\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_73\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"style\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_74\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"state\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_75\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"keyframes\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_76\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"transition\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_77\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"trigger\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_78\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Inject\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"x\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Optional\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"w\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Injectable\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"d\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Self\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"R\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"SkipSelf\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"S\"]; });\n/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, \"Host\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Q\"]; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @module\n * @description\n * Entry point for all public APIs of the core package.\n */\n\n//# sourceMappingURL=index.js.map\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(17)\n , core = __webpack_require__(16)\n , hide = __webpack_require__(55)\n , redefine = __webpack_require__(30)\n , ctx = __webpack_require__(83)\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n , key, own, out, exp;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if(target)redefine(target, key, out, type & $export.U);\n // export\n if(exports[key] != out)hide(exports, key, exp);\n if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isFunction_1 = __webpack_require__(259);\nvar Subscription_1 = __webpack_require__(21);\nvar Observer_1 = __webpack_require__(781);\nvar rxSubscriber_1 = __webpack_require__(162);\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n *\n * @class Subscriber\n */\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n /**\n * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n * defined Observer or a `next` callback function.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n */\n function Subscriber(destinationOrNext, error, complete) {\n _super.call(this);\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = Observer_1.empty;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = Observer_1.empty;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.destination = destinationOrNext;\n this.destination.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return this; };\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n * @return {Subscriber} A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n */\n Subscriber.create = function (next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param {T} [value] The `next` value.\n * @return {void}\n */\n Subscriber.prototype.next = function (value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached {@link Error}. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param {any} [err] The `error` exception.\n * @return {void}\n */\n Subscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n * @return {void}\n */\n Subscriber.prototype.complete = function () {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function () {\n this.destination.complete();\n this.unsubscribe();\n };\n return Subscriber;\n}(Subscription_1.Subscription));\nexports.Subscriber = Subscriber;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(_parent, observerOrNext, error, complete) {\n _super.call(this);\n this._parent = _parent;\n var next;\n var context = this;\n if (isFunction_1.isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n context = observerOrNext;\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (isFunction_1.isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n SafeSubscriber.prototype.next = function (value) {\n if (!this.isStopped && this._next) {\n var _parent = this._parent;\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parent, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._error) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parent.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n }\n else {\n _parent.syncErrorValue = err;\n _parent.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function () {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._complete) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._complete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._complete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n throw err;\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function () {\n var _parent = this._parent;\n this._context = null;\n this._parent = null;\n _parent.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n//# sourceMappingURL=Subscriber.js.map\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"e\"] = isBlank;\n/* harmony export (immutable) */ exports[\"d\"] = isStrictStringMap;\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"i\"] = stringify;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return NumberWrapper; });\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"b\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"c\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"f\"] = isPrimitive;\n/* harmony export (immutable) */ exports[\"h\"] = escapeRegExp;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new Error('Invalid integer literal when parsing ' + text + ' in base ' + radix);\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = __webpack_require__(3);\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar OuterSubscriber = (function (_super) {\n __extends(OuterSubscriber, _super);\n function OuterSubscriber() {\n _super.apply(this, arguments);\n }\n OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.destination.next(innerValue);\n };\n OuterSubscriber.prototype.notifyError = function (error, innerSub) {\n this.destination.error(error);\n };\n OuterSubscriber.prototype.notifyComplete = function (innerSub) {\n this.destination.complete();\n };\n return OuterSubscriber;\n}(Subscriber_1.Subscriber));\nexports.OuterSubscriber = OuterSubscriber;\n//# sourceMappingURL=OuterSubscriber.js.map\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar root_1 = __webpack_require__(26);\nvar isArray_1 = __webpack_require__(46);\nvar isPromise_1 = __webpack_require__(473);\nvar Observable_1 = __webpack_require__(0);\nvar iterator_1 = __webpack_require__(111);\nvar InnerSubscriber_1 = __webpack_require__(780);\nvar observable_1 = __webpack_require__(161);\nfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex) {\n var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex);\n if (destination.closed) {\n return null;\n }\n if (result instanceof Observable_1.Observable) {\n if (result._isScalar) {\n destination.next(result.value);\n destination.complete();\n return null;\n }\n else {\n return result.subscribe(destination);\n }\n }\n if (isArray_1.isArray(result)) {\n for (var i = 0, len = result.length; i < len && !destination.closed; i++) {\n destination.next(result[i]);\n }\n if (!destination.closed) {\n destination.complete();\n }\n }\n else if (isPromise_1.isPromise(result)) {\n result.then(function (value) {\n if (!destination.closed) {\n destination.next(value);\n destination.complete();\n }\n }, function (err) { return destination.error(err); })\n .then(null, function (err) {\n // Escaping the Promise trap: globally throw unhandled errors\n root_1.root.setTimeout(function () { throw err; });\n });\n return destination;\n }\n else if (typeof result[iterator_1.$$iterator] === 'function') {\n var iterator = result[iterator_1.$$iterator]();\n do {\n var item = iterator.next();\n if (item.done) {\n destination.complete();\n break;\n }\n destination.next(item.value);\n if (destination.closed) {\n break;\n }\n } while (true);\n }\n else if (typeof result[observable_1.$$observable] === 'function') {\n var obs = result[observable_1.$$observable]();\n if (typeof obs.subscribe !== 'function') {\n destination.error(new Error('invalid observable'));\n }\n else {\n return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex));\n }\n }\n else {\n destination.error(new TypeError('unknown type returned'));\n }\n return null;\n}\nexports.subscribeToResult = subscribeToResult;\n//# sourceMappingURL=subscribeToResult.js.map\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (immutable) */ exports[\"l\"] = scheduleMicroTask;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return _global; });\n/* harmony export (immutable) */ exports[\"j\"] = getTypeNameForDebugging;\n/* harmony export (immutable) */ exports[\"d\"] = isPresent;\n/* harmony export (immutable) */ exports[\"c\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"b\"] = stringify;\n/* unused harmony export NumberWrapper */\n/* harmony export (immutable) */ exports[\"i\"] = looseIdentical;\n/* harmony export (immutable) */ exports[\"e\"] = isJsObject;\n/* harmony export (immutable) */ exports[\"g\"] = print;\n/* harmony export (immutable) */ exports[\"h\"] = warn;\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"f\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"k\"] = isPrimitive;\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new Error('Invalid integer literal when parsing ' + text + ' in base ' + radix);\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__core_index__ = __webpack_require__(337);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"b\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"c\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"c\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"d\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"d\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"e\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"e\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"f\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"f\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"g\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"g\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"h\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"h\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"i\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"i\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"j\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"j\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"k\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"k\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"l\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"l\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"m\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"m\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"n\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"n\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"o\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"o\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"p\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"p\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"q\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"q\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"r\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"r\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"s\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"s\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"t\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"t\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"u\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"u\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"v\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"v\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"w\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"w\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"x\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"x\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"y\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"y\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"z\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"z\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"A\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"A\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"B\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"B\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"C\", function() { return __WEBPACK_IMPORTED_MODULE_0__core_index__[\"C\"]; });\n\n\n//# sourceMappingURL=core.js.map\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(13);\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return TypeModifier; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"P\", function() { return Type; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"Q\", function() { return BuiltinTypeName; });\n/* unused harmony export BuiltinType */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"L\", function() { return ExternalType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return ArrayType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return MapType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return DYNAMIC_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"C\", function() { return BOOL_TYPE; });\n/* unused harmony export INT_TYPE */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"N\", function() { return NUMBER_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"M\", function() { return STRING_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"K\", function() { return FUNCTION_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return BinaryOperator; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"E\", function() { return Expression; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"F\", function() { return BuiltinVar; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return ReadVarExpr; });\n/* unused harmony export WriteVarExpr */\n/* unused harmony export WriteKeyExpr */\n/* unused harmony export WritePropExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"H\", function() { return BuiltinMethod; });\n/* unused harmony export InvokeMethodExpr */\n/* unused harmony export InvokeFunctionExpr */\n/* unused harmony export InstantiateExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"D\", function() { return LiteralExpr; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"R\", function() { return ExternalExpr; });\n/* unused harmony export ConditionalExpr */\n/* unused harmony export NotExpr */\n/* unused harmony export CastExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return FnParam; });\n/* unused harmony export FunctionExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return BinaryOperatorExpr; });\n/* unused harmony export ReadPropExpr */\n/* unused harmony export ReadKeyExpr */\n/* unused harmony export LiteralArrayExpr */\n/* unused harmony export LiteralMapExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return THIS_EXPR; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"z\", function() { return SUPER_EXPR; });\n/* unused harmony export CATCH_ERROR_VAR */\n/* unused harmony export CATCH_STACK_VAR */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return NULL_EXPR; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return StmtModifier; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"O\", function() { return Statement; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return DeclareVarStmt; });\n/* unused harmony export DeclareFunctionStmt */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"y\", function() { return ExpressionStatement; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return ReturnStatement; });\n/* unused harmony export AbstractClassPart */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return ClassField; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"A\", function() { return ClassMethod; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"J\", function() { return ClassGetter; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"B\", function() { return ClassStmt; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return IfStmt; });\n/* unused harmony export CommentStmt */\n/* unused harmony export TryCatchStmt */\n/* unused harmony export ThrowStmt */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"G\", function() { return ExpressionTransformer; });\n/* unused harmony export RecursiveExpressionVisitor */\n/* harmony export (immutable) */ exports[\"I\"] = replaceVarInExpression;\n/* harmony export (immutable) */ exports[\"q\"] = findReadVarNames;\n/* harmony export (immutable) */ exports[\"a\"] = variable;\n/* harmony export (immutable) */ exports[\"d\"] = importExpr;\n/* harmony export (immutable) */ exports[\"k\"] = importType;\n/* harmony export (immutable) */ exports[\"e\"] = literalArr;\n/* harmony export (immutable) */ exports[\"b\"] = literalMap;\n/* harmony export (immutable) */ exports[\"u\"] = not;\n/* harmony export (immutable) */ exports[\"h\"] = fn;\n/* harmony export (immutable) */ exports[\"c\"] = literal;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n//// Types\nvar TypeModifier;\n(function (TypeModifier) {\n TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n})(TypeModifier || (TypeModifier = {}));\nvar Type = (function () {\n function Type(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Type;\n}());\nvar BuiltinTypeName;\n(function (BuiltinTypeName) {\n BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n})(BuiltinTypeName || (BuiltinTypeName = {}));\nvar BuiltinType = (function (_super) {\n __extends(BuiltinType, _super);\n function BuiltinType(name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n }\n BuiltinType.prototype.visitType = function (visitor, context) {\n return visitor.visitBuiltintType(this, context);\n };\n return BuiltinType;\n}(Type));\nvar ExternalType = (function (_super) {\n __extends(ExternalType, _super);\n function ExternalType(value, typeParams, modifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalType.prototype.visitType = function (visitor, context) {\n return visitor.visitExternalType(this, context);\n };\n return ExternalType;\n}(Type));\nvar ArrayType = (function (_super) {\n __extends(ArrayType, _super);\n function ArrayType(of, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.of = of;\n }\n ArrayType.prototype.visitType = function (visitor, context) {\n return visitor.visitArrayType(this, context);\n };\n return ArrayType;\n}(Type));\nvar MapType = (function (_super) {\n __extends(MapType, _super);\n function MapType(valueType, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.valueType = valueType;\n }\n MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); };\n return MapType;\n}(Type));\nvar DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\nvar BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\nvar INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\nvar NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\nvar STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\nvar FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\n///// Expressions\nvar BinaryOperator;\n(function (BinaryOperator) {\n BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\n BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\n BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\n BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\n})(BinaryOperator || (BinaryOperator = {}));\nvar Expression = (function () {\n function Expression(type) {\n this.type = type;\n }\n Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); };\n Expression.prototype.key = function (index, type) {\n if (type === void 0) { type = null; }\n return new ReadKeyExpr(this, index, type);\n };\n Expression.prototype.callMethod = function (name, params) {\n return new InvokeMethodExpr(this, name, params);\n };\n Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); };\n Expression.prototype.instantiate = function (params, type) {\n if (type === void 0) { type = null; }\n return new InstantiateExpr(this, params, type);\n };\n Expression.prototype.conditional = function (trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = null; }\n return new ConditionalExpr(this, trueCase, falseCase);\n };\n Expression.prototype.equals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\n };\n Expression.prototype.notEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\n };\n Expression.prototype.identical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\n };\n Expression.prototype.notIdentical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\n };\n Expression.prototype.minus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\n };\n Expression.prototype.plus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\n };\n Expression.prototype.divide = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\n };\n Expression.prototype.multiply = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\n };\n Expression.prototype.modulo = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\n };\n Expression.prototype.and = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\n };\n Expression.prototype.or = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\n };\n Expression.prototype.lower = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\n };\n Expression.prototype.lowerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\n };\n Expression.prototype.bigger = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\n };\n Expression.prototype.biggerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\n };\n Expression.prototype.isBlank = function () {\n // Note: We use equals by purpose here to compare to null and undefined in JS.\n return this.equals(NULL_EXPR);\n };\n Expression.prototype.cast = function (type) { return new CastExpr(this, type); };\n Expression.prototype.toStmt = function () { return new ExpressionStatement(this); };\n return Expression;\n}());\nvar BuiltinVar;\n(function (BuiltinVar) {\n BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n})(BuiltinVar || (BuiltinVar = {}));\nvar ReadVarExpr = (function (_super) {\n __extends(ReadVarExpr, _super);\n function ReadVarExpr(name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n if (typeof name === 'string') {\n this.name = name;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = name;\n }\n }\n ReadVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadVarExpr(this, context);\n };\n ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); };\n return ReadVarExpr;\n}(Expression));\nvar WriteVarExpr = (function (_super) {\n __extends(WriteVarExpr, _super);\n function WriteVarExpr(name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.name = name;\n this.value = value;\n }\n WriteVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteVarExpr(this, context);\n };\n WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareVarStmt(this.name, this.value, type, modifiers);\n };\n return WriteVarExpr;\n}(Expression));\nvar WriteKeyExpr = (function (_super) {\n __extends(WriteKeyExpr, _super);\n function WriteKeyExpr(receiver, index, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.index = index;\n this.value = value;\n }\n WriteKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteKeyExpr(this, context);\n };\n return WriteKeyExpr;\n}(Expression));\nvar WritePropExpr = (function (_super) {\n __extends(WritePropExpr, _super);\n function WritePropExpr(receiver, name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n WritePropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWritePropExpr(this, context);\n };\n return WritePropExpr;\n}(Expression));\nvar BuiltinMethod;\n(function (BuiltinMethod) {\n BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n})(BuiltinMethod || (BuiltinMethod = {}));\nvar InvokeMethodExpr = (function (_super) {\n __extends(InvokeMethodExpr, _super);\n function InvokeMethodExpr(receiver, method, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.args = args;\n if (typeof method === 'string') {\n this.name = method;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = method;\n }\n }\n InvokeMethodExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeMethodExpr(this, context);\n };\n return InvokeMethodExpr;\n}(Expression));\nvar InvokeFunctionExpr = (function (_super) {\n __extends(InvokeFunctionExpr, _super);\n function InvokeFunctionExpr(fn, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.fn = fn;\n this.args = args;\n }\n InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeFunctionExpr(this, context);\n };\n return InvokeFunctionExpr;\n}(Expression));\nvar InstantiateExpr = (function (_super) {\n __extends(InstantiateExpr, _super);\n function InstantiateExpr(classExpr, args, type) {\n _super.call(this, type);\n this.classExpr = classExpr;\n this.args = args;\n }\n InstantiateExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInstantiateExpr(this, context);\n };\n return InstantiateExpr;\n}(Expression));\nvar LiteralExpr = (function (_super) {\n __extends(LiteralExpr, _super);\n function LiteralExpr(value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.value = value;\n }\n LiteralExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralExpr(this, context);\n };\n return LiteralExpr;\n}(Expression));\nvar ExternalExpr = (function (_super) {\n __extends(ExternalExpr, _super);\n function ExternalExpr(value, type, typeParams) {\n if (type === void 0) { type = null; }\n if (typeParams === void 0) { typeParams = null; }\n _super.call(this, type);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitExternalExpr(this, context);\n };\n return ExternalExpr;\n}(Expression));\nvar ConditionalExpr = (function (_super) {\n __extends(ConditionalExpr, _super);\n function ConditionalExpr(condition, trueCase, falseCase, type) {\n if (falseCase === void 0) { falseCase = null; }\n if (type === void 0) { type = null; }\n _super.call(this, type || trueCase.type);\n this.condition = condition;\n this.falseCase = falseCase;\n this.trueCase = trueCase;\n }\n ConditionalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitConditionalExpr(this, context);\n };\n return ConditionalExpr;\n}(Expression));\nvar NotExpr = (function (_super) {\n __extends(NotExpr, _super);\n function NotExpr(condition) {\n _super.call(this, BOOL_TYPE);\n this.condition = condition;\n }\n NotExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitNotExpr(this, context);\n };\n return NotExpr;\n}(Expression));\nvar CastExpr = (function (_super) {\n __extends(CastExpr, _super);\n function CastExpr(value, type) {\n _super.call(this, type);\n this.value = value;\n }\n CastExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitCastExpr(this, context);\n };\n return CastExpr;\n}(Expression));\nvar FnParam = (function () {\n function FnParam(name, type) {\n if (type === void 0) { type = null; }\n this.name = name;\n this.type = type;\n }\n return FnParam;\n}());\nvar FunctionExpr = (function (_super) {\n __extends(FunctionExpr, _super);\n function FunctionExpr(params, statements, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.params = params;\n this.statements = statements;\n }\n FunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitFunctionExpr(this, context);\n };\n FunctionExpr.prototype.toDeclStmt = function (name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\n };\n return FunctionExpr;\n}(Expression));\nvar BinaryOperatorExpr = (function (_super) {\n __extends(BinaryOperatorExpr, _super);\n function BinaryOperatorExpr(operator, lhs, rhs, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || lhs.type);\n this.operator = operator;\n this.rhs = rhs;\n this.lhs = lhs;\n }\n BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitBinaryOperatorExpr(this, context);\n };\n return BinaryOperatorExpr;\n}(Expression));\nvar ReadPropExpr = (function (_super) {\n __extends(ReadPropExpr, _super);\n function ReadPropExpr(receiver, name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.name = name;\n }\n ReadPropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadPropExpr(this, context);\n };\n ReadPropExpr.prototype.set = function (value) {\n return new WritePropExpr(this.receiver, this.name, value);\n };\n return ReadPropExpr;\n}(Expression));\nvar ReadKeyExpr = (function (_super) {\n __extends(ReadKeyExpr, _super);\n function ReadKeyExpr(receiver, index, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.index = index;\n }\n ReadKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadKeyExpr(this, context);\n };\n ReadKeyExpr.prototype.set = function (value) {\n return new WriteKeyExpr(this.receiver, this.index, value);\n };\n return ReadKeyExpr;\n}(Expression));\nvar LiteralArrayExpr = (function (_super) {\n __extends(LiteralArrayExpr, _super);\n function LiteralArrayExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n }\n LiteralArrayExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralArrayExpr(this, context);\n };\n return LiteralArrayExpr;\n}(Expression));\nvar LiteralMapExpr = (function (_super) {\n __extends(LiteralMapExpr, _super);\n function LiteralMapExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n this.valueType = null;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isPresent */])(type)) {\n this.valueType = type.valueType;\n }\n }\n LiteralMapExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralMapExpr(this, context);\n };\n return LiteralMapExpr;\n}(Expression));\nvar THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\nvar SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\nvar CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\nvar CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\nvar NULL_EXPR = new LiteralExpr(null, null);\n//// Statements\nvar StmtModifier;\n(function (StmtModifier) {\n StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n})(StmtModifier || (StmtModifier = {}));\nvar Statement = (function () {\n function Statement(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Statement;\n}());\nvar DeclareVarStmt = (function (_super) {\n __extends(DeclareVarStmt, _super);\n function DeclareVarStmt(name, value, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.value = value;\n this.type = type || value.type;\n }\n DeclareVarStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareVarStmt(this, context);\n };\n return DeclareVarStmt;\n}(Statement));\nvar DeclareFunctionStmt = (function (_super) {\n __extends(DeclareFunctionStmt, _super);\n function DeclareFunctionStmt(name, params, statements, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.params = params;\n this.statements = statements;\n this.type = type;\n }\n DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareFunctionStmt(this, context);\n };\n return DeclareFunctionStmt;\n}(Statement));\nvar ExpressionStatement = (function (_super) {\n __extends(ExpressionStatement, _super);\n function ExpressionStatement(expr) {\n _super.call(this);\n this.expr = expr;\n }\n ExpressionStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitExpressionStmt(this, context);\n };\n return ExpressionStatement;\n}(Statement));\nvar ReturnStatement = (function (_super) {\n __extends(ReturnStatement, _super);\n function ReturnStatement(value) {\n _super.call(this);\n this.value = value;\n }\n ReturnStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitReturnStmt(this, context);\n };\n return ReturnStatement;\n}(Statement));\nvar AbstractClassPart = (function () {\n function AbstractClassPart(type, modifiers) {\n if (type === void 0) { type = null; }\n this.type = type;\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return AbstractClassPart;\n}());\nvar ClassField = (function (_super) {\n __extends(ClassField, _super);\n function ClassField(name, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n }\n return ClassField;\n}(AbstractClassPart));\nvar ClassMethod = (function (_super) {\n __extends(ClassMethod, _super);\n function ClassMethod(name, params, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.params = params;\n this.body = body;\n }\n return ClassMethod;\n}(AbstractClassPart));\nvar ClassGetter = (function (_super) {\n __extends(ClassGetter, _super);\n function ClassGetter(name, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.body = body;\n }\n return ClassGetter;\n}(AbstractClassPart));\nvar ClassStmt = (function (_super) {\n __extends(ClassStmt, _super);\n function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.parent = parent;\n this.fields = fields;\n this.getters = getters;\n this.constructorMethod = constructorMethod;\n this.methods = methods;\n }\n ClassStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareClassStmt(this, context);\n };\n return ClassStmt;\n}(Statement));\nvar IfStmt = (function (_super) {\n __extends(IfStmt, _super);\n function IfStmt(condition, trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = []; }\n _super.call(this);\n this.condition = condition;\n this.trueCase = trueCase;\n this.falseCase = falseCase;\n }\n IfStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitIfStmt(this, context);\n };\n return IfStmt;\n}(Statement));\nvar CommentStmt = (function (_super) {\n __extends(CommentStmt, _super);\n function CommentStmt(comment) {\n _super.call(this);\n this.comment = comment;\n }\n CommentStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitCommentStmt(this, context);\n };\n return CommentStmt;\n}(Statement));\nvar TryCatchStmt = (function (_super) {\n __extends(TryCatchStmt, _super);\n function TryCatchStmt(bodyStmts, catchStmts) {\n _super.call(this);\n this.bodyStmts = bodyStmts;\n this.catchStmts = catchStmts;\n }\n TryCatchStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitTryCatchStmt(this, context);\n };\n return TryCatchStmt;\n}(Statement));\nvar ThrowStmt = (function (_super) {\n __extends(ThrowStmt, _super);\n function ThrowStmt(error) {\n _super.call(this);\n this.error = error;\n }\n ThrowStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitThrowStmt(this, context);\n };\n return ThrowStmt;\n}(Statement));\nvar ExpressionTransformer = (function () {\n function ExpressionTransformer() {\n }\n ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) {\n return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) {\n return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) {\n return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) {\n var method = ast.builtin || ast.name;\n return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) {\n return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) {\n return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) {\n return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitNotExpr = function (ast, context) {\n return new NotExpr(ast.condition.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCastExpr = function (ast, context) {\n return new CastExpr(ast.value.visitExpression(this, context), context);\n };\n ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) {\n // Don't descend into nested functions\n return ast;\n };\n ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) {\n return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) {\n return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\n };\n ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) {\n return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) {\n return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\n };\n ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n var entries = ast.entries.map(function (entry) { return [entry[0], entry[1].visitExpression(_this, context),]; });\n return new LiteralMapExpr(entries);\n };\n ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n return exprs.map(function (expr) { return expr.visitExpression(_this, context); });\n };\n ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) {\n return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\n };\n ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) {\n return new ExpressionStatement(stmt.expr.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) {\n return new ReturnStatement(stmt.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) {\n return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\n };\n ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) {\n return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\n };\n ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) {\n return new ThrowStmt(stmt.error.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return ExpressionTransformer;\n}());\nvar RecursiveExpressionVisitor = (function () {\n function RecursiveExpressionVisitor() {\n }\n RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) {\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.index.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) {\n ast.fn.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) {\n ast.classExpr.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n ast.trueCase.visitExpression(this, context);\n ast.falseCase.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) {\n ast.value.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) {\n ast.lhs.visitExpression(this, context);\n ast.rhs.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n ast.index.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) {\n this.visitAllExpressions(ast.entries, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n ast.entries.forEach(function (entry) { return entry[1].visitExpression(_this, context); });\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n exprs.forEach(function (expr) { return expr.visitExpression(_this, context); });\n };\n RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) {\n stmt.expr.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) {\n stmt.condition.visitExpression(this, context);\n this.visitAllStatements(stmt.trueCase, context);\n this.visitAllStatements(stmt.falseCase, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) {\n this.visitAllStatements(stmt.bodyStmts, context);\n this.visitAllStatements(stmt.catchStmts, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) {\n stmt.error.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return RecursiveExpressionVisitor;\n}());\nfunction replaceVarInExpression(varName, newValue, expression) {\n var transformer = new _ReplaceVariableTransformer(varName, newValue);\n return expression.visitExpression(transformer, null);\n}\nvar _ReplaceVariableTransformer = (function (_super) {\n __extends(_ReplaceVariableTransformer, _super);\n function _ReplaceVariableTransformer(_varName, _newValue) {\n _super.call(this);\n this._varName = _varName;\n this._newValue = _newValue;\n }\n _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) {\n return ast.name == this._varName ? this._newValue : ast;\n };\n return _ReplaceVariableTransformer;\n}(ExpressionTransformer));\nfunction findReadVarNames(stmts) {\n var finder = new _VariableFinder();\n finder.visitAllStatements(stmts, null);\n return finder.varNames;\n}\nvar _VariableFinder = (function (_super) {\n __extends(_VariableFinder, _super);\n function _VariableFinder() {\n _super.apply(this, arguments);\n this.varNames = new Set();\n }\n _VariableFinder.prototype.visitReadVarExpr = function (ast, context) {\n this.varNames.add(ast.name);\n return null;\n };\n return _VariableFinder;\n}(RecursiveExpressionVisitor));\nfunction variable(name, type) {\n if (type === void 0) { type = null; }\n return new ReadVarExpr(name, type);\n}\nfunction importExpr(id, typeParams) {\n if (typeParams === void 0) { typeParams = null; }\n return new ExternalExpr(id, null, typeParams);\n}\nfunction importType(id, typeParams, typeModifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (typeModifiers === void 0) { typeModifiers = null; }\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isPresent */])(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\n}\nfunction literalArr(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralArrayExpr(values, type);\n}\nfunction literalMap(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralMapExpr(values, type);\n}\nfunction not(expr) {\n return new NotExpr(expr);\n}\nfunction fn(params, body, type) {\n if (type === void 0) { type = null; }\n return new FunctionExpr(params, body, type);\n}\nfunction literal(value, type) {\n if (type === void 0) { type = null; }\n return new LiteralExpr(value, type);\n}\n//# sourceMappingURL=output_ast.js.map\n\n/***/ },\n/* 11 */\n/***/ function(module, exports) {\n\nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = __webpack_require__(0);\nvar Subscriber_1 = __webpack_require__(3);\nvar Subscription_1 = __webpack_require__(21);\nvar ObjectUnsubscribedError_1 = __webpack_require__(258);\nvar SubjectSubscription_1 = __webpack_require__(784);\nvar rxSubscriber_1 = __webpack_require__(162);\n/**\n * @class SubjectSubscriber\n */\nvar SubjectSubscriber = (function (_super) {\n __extends(SubjectSubscriber, _super);\n function SubjectSubscriber(destination) {\n _super.call(this, destination);\n this.destination = destination;\n }\n return SubjectSubscriber;\n}(Subscriber_1.Subscriber));\nexports.SubjectSubscriber = SubjectSubscriber;\n/**\n * @class Subject\n */\nvar Subject = (function (_super) {\n __extends(Subject, _super);\n function Subject() {\n _super.call(this);\n this.observers = [];\n this.closed = false;\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function () {\n return new SubjectSubscriber(this);\n };\n Subject.prototype.lift = function (operator) {\n var subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.next = function (value) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n };\n Subject.prototype.error = function (err) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n };\n Subject.prototype.complete = function () {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n };\n Subject.prototype.unsubscribe = function () {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n };\n Subject.prototype._subscribe = function (subscriber) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription_1.Subscription.EMPTY;\n }\n else if (this.isStopped) {\n subscriber.complete();\n return Subscription_1.Subscription.EMPTY;\n }\n else {\n this.observers.push(subscriber);\n return new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n }\n };\n Subject.prototype.asObservable = function () {\n var observable = new Observable_1.Observable();\n observable.source = this;\n return observable;\n };\n Subject.create = function (destination, source) {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n}(Observable_1.Observable));\nexports.Subject = Subject;\n/**\n * @class AnonymousSubject\n */\nvar AnonymousSubject = (function (_super) {\n __extends(AnonymousSubject, _super);\n function AnonymousSubject(destination, source) {\n _super.call(this);\n this.destination = destination;\n this.source = source;\n }\n AnonymousSubject.prototype.next = function (value) {\n var destination = this.destination;\n if (destination && destination.next) {\n destination.next(value);\n }\n };\n AnonymousSubject.prototype.error = function (err) {\n var destination = this.destination;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n };\n AnonymousSubject.prototype.complete = function () {\n var destination = this.destination;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n };\n AnonymousSubject.prototype._subscribe = function (subscriber) {\n var source = this.source;\n if (source) {\n return this.source.subscribe(subscriber);\n }\n else {\n return Subscription_1.Subscription.EMPTY;\n }\n };\n return AnonymousSubject;\n}(Subject));\nexports.AnonymousSubject = AnonymousSubject;\n//# sourceMappingURL=Subject.js.map\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(154)('wks')\n , uid = __webpack_require__(107)\n , Symbol = __webpack_require__(17).Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compile_metadata__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__private_import_core__ = __webpack_require__(18);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Identifiers; });\n/* unused harmony export assetUrl */\n/* harmony export (immutable) */ exports[\"d\"] = resolveIdentifier;\n/* harmony export (immutable) */ exports[\"c\"] = identifierToken;\n/* harmony export (immutable) */ exports[\"a\"] = resolveIdentifierToken;\n/* harmony export (immutable) */ exports[\"e\"] = resolveEnumIdentifier;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\nvar APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view');\nvar VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils');\nvar CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection');\nvar ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util');\nvar Identifiers = (function () {\n function Identifiers() {\n }\n Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n moduleUrl: assetUrl('core', 'metadata/di'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ANALYZE_FOR_ENTRY_COMPONENTS\"]\n };\n Identifiers.ViewUtils = {\n name: 'ViewUtils',\n moduleUrl: assetUrl('core', 'linker/view_utils'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].ViewUtils\n };\n Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"b\" /* AppView */] };\n Identifiers.DebugAppView = {\n name: 'DebugAppView',\n moduleUrl: APP_VIEW_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"c\" /* DebugAppView */]\n };\n Identifiers.AppElement = {\n name: 'AppElement',\n moduleUrl: assetUrl('core', 'linker/element'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"d\" /* AppElement */]\n };\n Identifiers.ElementRef = {\n name: 'ElementRef',\n moduleUrl: assetUrl('core', 'linker/element_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ElementRef\"]\n };\n Identifiers.ViewContainerRef = {\n name: 'ViewContainerRef',\n moduleUrl: assetUrl('core', 'linker/view_container_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ViewContainerRef\"]\n };\n Identifiers.ChangeDetectorRef = {\n name: 'ChangeDetectorRef',\n moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ChangeDetectorRef\"]\n };\n Identifiers.RenderComponentType = {\n name: 'RenderComponentType',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"RenderComponentType\"]\n };\n Identifiers.QueryList = {\n name: 'QueryList',\n moduleUrl: assetUrl('core', 'linker/query_list'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"QueryList\"]\n };\n Identifiers.TemplateRef = {\n name: 'TemplateRef',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"TemplateRef\"]\n };\n Identifiers.TemplateRef_ = {\n name: 'TemplateRef_',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"e\" /* TemplateRef_ */]\n };\n Identifiers.CodegenComponentFactoryResolver = {\n name: 'CodegenComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"f\" /* CodegenComponentFactoryResolver */]\n };\n Identifiers.ComponentFactoryResolver = {\n name: 'ComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ComponentFactoryResolver\"]\n };\n Identifiers.ComponentFactory = {\n name: 'ComponentFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ComponentFactory\"],\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.NgModuleFactory = {\n name: 'NgModuleFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"NgModuleFactory\"],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.NgModuleInjector = {\n name: 'NgModuleInjector',\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"g\" /* NgModuleInjector */],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.RegisterModuleFactoryFn = {\n name: 'registerModuleFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"h\" /* registerModuleFactory */],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader')\n };\n Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"i\" /* ValueUnwrapper */] };\n Identifiers.Injector = {\n name: 'Injector',\n moduleUrl: assetUrl('core', 'di/injector'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"Injector\"]\n };\n Identifiers.ViewEncapsulation = {\n name: 'ViewEncapsulation',\n moduleUrl: assetUrl('core', 'metadata/view'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ViewEncapsulation\"]\n };\n Identifiers.ViewType = {\n name: 'ViewType',\n moduleUrl: assetUrl('core', 'linker/view_type'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"j\" /* ViewType */]\n };\n Identifiers.ChangeDetectionStrategy = {\n name: 'ChangeDetectionStrategy',\n moduleUrl: CD_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ChangeDetectionStrategy\"]\n };\n Identifiers.StaticNodeDebugInfo = {\n name: 'StaticNodeDebugInfo',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"k\" /* StaticNodeDebugInfo */]\n };\n Identifiers.DebugContext = {\n name: 'DebugContext',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"l\" /* DebugContext */]\n };\n Identifiers.Renderer = {\n name: 'Renderer',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"Renderer\"]\n };\n Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"SimpleChange\"] };\n Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"m\" /* UNINITIALIZED */] };\n Identifiers.ChangeDetectorStatus = {\n name: 'ChangeDetectorStatus',\n moduleUrl: CD_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"n\" /* ChangeDetectorStatus */]\n };\n Identifiers.checkBinding = {\n name: 'checkBinding',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].checkBinding\n };\n Identifiers.flattenNestedViewRenderNodes = {\n name: 'flattenNestedViewRenderNodes',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].flattenNestedViewRenderNodes\n };\n Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"o\" /* devModeEqual */] };\n Identifiers.interpolate = {\n name: 'interpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].interpolate\n };\n Identifiers.castByValue = {\n name: 'castByValue',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].castByValue\n };\n Identifiers.EMPTY_ARRAY = {\n name: 'EMPTY_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_ARRAY\n };\n Identifiers.EMPTY_MAP = {\n name: 'EMPTY_MAP',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_MAP\n };\n Identifiers.createRenderElement = {\n name: 'createRenderElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].createRenderElement\n };\n Identifiers.selectOrCreateRenderHostElement = {\n name: 'selectOrCreateRenderHostElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].selectOrCreateRenderHostElement\n };\n Identifiers.pureProxies = [\n null,\n { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy1 },\n { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy2 },\n { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy3 },\n { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy4 },\n { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy5 },\n { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy6 },\n { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy7 },\n { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy8 },\n { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy9 },\n { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy10 },\n ];\n Identifiers.SecurityContext = {\n name: 'SecurityContext',\n moduleUrl: assetUrl('core', 'security'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"SecurityContext\"],\n };\n Identifiers.AnimationKeyframe = {\n name: 'AnimationKeyframe',\n moduleUrl: assetUrl('core', 'animation/animation_keyframe'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"p\" /* AnimationKeyframe */]\n };\n Identifiers.AnimationStyles = {\n name: 'AnimationStyles',\n moduleUrl: assetUrl('core', 'animation/animation_styles'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"q\" /* AnimationStyles */]\n };\n Identifiers.NoOpAnimationPlayer = {\n name: 'NoOpAnimationPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"r\" /* NoOpAnimationPlayer */]\n };\n Identifiers.AnimationGroupPlayer = {\n name: 'AnimationGroupPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_group_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"s\" /* AnimationGroupPlayer */]\n };\n Identifiers.AnimationSequencePlayer = {\n name: 'AnimationSequencePlayer',\n moduleUrl: assetUrl('core', 'animation/animation_sequence_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"t\" /* AnimationSequencePlayer */]\n };\n Identifiers.prepareFinalAnimationStyles = {\n name: 'prepareFinalAnimationStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"u\" /* prepareFinalAnimationStyles */]\n };\n Identifiers.balanceAnimationKeyframes = {\n name: 'balanceAnimationKeyframes',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"v\" /* balanceAnimationKeyframes */]\n };\n Identifiers.clearStyles = {\n name: 'clearStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"w\" /* clearStyles */]\n };\n Identifiers.renderStyles = {\n name: 'renderStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"x\" /* renderStyles */]\n };\n Identifiers.collectAndResolveStyles = {\n name: 'collectAndResolveStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"y\" /* collectAndResolveStyles */]\n };\n Identifiers.LOCALE_ID = {\n name: 'LOCALE_ID',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"LOCALE_ID\"]\n };\n Identifiers.TRANSLATIONS_FORMAT = {\n name: 'TRANSLATIONS_FORMAT',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"TRANSLATIONS_FORMAT\"]\n };\n Identifiers.setBindingDebugInfo = {\n name: 'setBindingDebugInfo',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].setBindingDebugInfo\n };\n Identifiers.setBindingDebugInfoForChanges = {\n name: 'setBindingDebugInfoForChanges',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].setBindingDebugInfoForChanges\n };\n Identifiers.AnimationTransition = {\n name: 'AnimationTransition',\n moduleUrl: assetUrl('core', 'animation/animation_transition'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"z\" /* AnimationTransition */]\n };\n // This is just the interface!\n Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null };\n Identifiers.inlineArrays = [\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray2 },\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray2 },\n { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray4 },\n { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray8 },\n { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray16 },\n ];\n Identifiers.EMPTY_INLINE_ARRAY = {\n name: 'EMPTY_INLINE_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_INLINE_ARRAY\n };\n Identifiers.InlineArrayDynamic = {\n name: 'InlineArrayDynamic',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArrayDynamic\n };\n return Identifiers;\n}());\nfunction assetUrl(pkg, path, type) {\n if (path === void 0) { path = null; }\n if (type === void 0) { type = 'src'; }\n if (path == null) {\n return \"asset:@angular/lib/\" + pkg + \"/index\";\n }\n else {\n return \"asset:@angular/lib/\" + pkg + \"/src/\" + path;\n }\n}\nfunction resolveIdentifier(identifier) {\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"a\" /* CompileIdentifierMetadata */]({\n name: identifier.name,\n moduleUrl: identifier.moduleUrl,\n reference: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"A\" /* reflector */].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime)\n });\n}\nfunction identifierToken(identifier) {\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"b\" /* CompileTokenMetadata */]({ identifier: identifier });\n}\nfunction resolveIdentifierToken(identifier) {\n return identifierToken(resolveIdentifier(identifier));\n}\nfunction resolveEnumIdentifier(enumType, name) {\n var resolvedEnum = __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"A\" /* reflector */].resolveEnum(enumType.reference, name);\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"a\" /* CompileIdentifierMetadata */]({ name: enumType.name + \".\" + name, moduleUrl: enumType.moduleUrl, reference: resolvedEnum });\n}\n//# sourceMappingURL=identifiers.js.map\n\n/***/ },\n/* 16 */\n/***/ function(module, exports) {\n\nvar core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"H\", function() { return isDefaultChangeDetectionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return ChangeDetectorStatus; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"G\", function() { return LifecycleHooks; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"J\", function() { return LIFECYCLE_HOOKS_VALUES; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"I\", function() { return ReflectorReader; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return AppElement; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return CodegenComponentFactoryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return AppView; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return DebugAppView; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return NgModuleInjector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return registerModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return ViewType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return view_utils; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return DebugContext; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return StaticNodeDebugInfo; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return devModeEqual; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return UNINITIALIZED; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return ValueUnwrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return TemplateRef_; });\n/* unused harmony export RenderDebugInfo */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"B\", function() { return Console; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"A\", function() { return reflector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"L\", function() { return Reflector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"M\", function() { return ReflectionCapabilities; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return NoOpAnimationPlayer; });\n/* unused harmony export AnimationPlayer */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return AnimationSequencePlayer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return AnimationGroupPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return AnimationKeyframe; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"q\", function() { return AnimationStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"C\", function() { return ANY_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"D\", function() { return DEFAULT_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"E\", function() { return EMPTY_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"F\", function() { return FILL_STYLE_FLAG; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"u\", function() { return prepareFinalAnimationStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return balanceAnimationKeyframes; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return clearStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"y\", function() { return collectAndResolveStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return renderStyles; });\n/* unused harmony export ViewMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"K\", function() { return ComponentStillLoadingError; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"z\", function() { return AnimationTransition; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar isDefaultChangeDetectionStrategy = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].isDefaultChangeDetectionStrategy;\nvar ChangeDetectorStatus = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ChangeDetectorStatus;\nvar LifecycleHooks = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].LifecycleHooks;\nvar LIFECYCLE_HOOKS_VALUES = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].LIFECYCLE_HOOKS_VALUES;\nvar ReflectorReader = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ReflectorReader;\nvar AppElement = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AppElement;\nvar CodegenComponentFactoryResolver = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].CodegenComponentFactoryResolver;\nvar AppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AppView;\nvar DebugAppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].DebugAppView;\nvar NgModuleInjector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].NgModuleInjector;\nvar registerModuleFactory = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].registerModuleFactory;\nvar ViewType = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ViewType;\nvar view_utils = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].view_utils;\nvar DebugContext = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].DebugContext;\nvar StaticNodeDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].StaticNodeDebugInfo;\nvar devModeEqual = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].devModeEqual;\nvar UNINITIALIZED = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].UNINITIALIZED;\nvar ValueUnwrapper = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ValueUnwrapper;\nvar TemplateRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].TemplateRef_;\nvar RenderDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].RenderDebugInfo;\nvar Console = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].Console;\nvar reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].reflector;\nvar Reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].Reflector;\nvar ReflectionCapabilities = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ReflectionCapabilities;\nvar NoOpAnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].NoOpAnimationPlayer;\nvar AnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationPlayer;\nvar AnimationSequencePlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationSequencePlayer;\nvar AnimationGroupPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationGroupPlayer;\nvar AnimationKeyframe = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationKeyframe;\nvar AnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationStyles;\nvar ANY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ANY_STATE;\nvar DEFAULT_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].DEFAULT_STATE;\nvar EMPTY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].EMPTY_STATE;\nvar FILL_STYLE_FLAG = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].FILL_STYLE_FLAG;\nvar prepareFinalAnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].prepareFinalAnimationStyles;\nvar balanceAnimationKeyframes = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].balanceAnimationKeyframes;\nvar clearStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].clearStyles;\nvar collectAndResolveStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].collectAndResolveStyles;\nvar renderStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].renderStyles;\nvar ViewMetadata = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ViewMetadata;\nvar ComponentStillLoadingError = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].ComponentStillLoadingError;\nvar AnimationTransition = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"__core_private__\"].AnimationTransition;\n//# sourceMappingURL=private_import_core.js.map\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ exports[\"a\"] = getDOM;\n/* unused harmony export setDOM */\n/* harmony export (immutable) */ exports[\"c\"] = setRootDomAdapter;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return DomAdapter; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nfunction setDOM(adapter) {\n _DOM = adapter;\n}\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nvar DomAdapter = (function () {\n function DomAdapter() {\n this.resourceLoaderType = null;\n }\n Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\n /**\n * Maps attribute names to their corresponding property names for cases\n * where attribute name doesn't match property name.\n */\n get: function () { return this._attrToPropMap; },\n set: function (value) { this._attrToPropMap = value; },\n enumerable: true,\n configurable: true\n });\n ;\n ;\n return DomAdapter;\n}());\n//# sourceMappingURL=dom_adapter.js.map\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(9)\n , IE8_DOM_DEFINE = __webpack_require__(411)\n , toPrimitive = __webpack_require__(76)\n , dP = Object.defineProperty;\n\nexports.f = __webpack_require__(25) ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar isArray_1 = __webpack_require__(46);\nvar isObject_1 = __webpack_require__(1046);\nvar isFunction_1 = __webpack_require__(259);\nvar tryCatch_1 = __webpack_require__(23);\nvar errorObject_1 = __webpack_require__(22);\nvar UnsubscriptionError_1 = __webpack_require__(471);\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n *\n * @class Subscription\n */\nvar Subscription = (function () {\n /**\n * @param {function(): void} [unsubscribe] A function describing how to\n * perform the disposal of resources when the `unsubscribe` method is called.\n */\n function Subscription(unsubscribe) {\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n * @type {boolean}\n */\n this.closed = false;\n if (unsubscribe) {\n this._unsubscribe = unsubscribe;\n }\n }\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n * @return {void}\n */\n Subscription.prototype.unsubscribe = function () {\n var hasErrors = false;\n var errors;\n if (this.closed) {\n return;\n }\n this.closed = true;\n var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;\n this._subscriptions = null;\n if (isFunction_1.isFunction(_unsubscribe)) {\n var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n (errors = errors || []).push(errorObject_1.errorObject.e);\n }\n }\n if (isArray_1.isArray(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (isObject_1.isObject(sub)) {\n var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n errors = errors || [];\n var err = errorObject_1.errorObject.e;\n if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n errors = errors.concat(err.errors);\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n }\n if (hasErrors) {\n throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n }\n };\n /**\n * Adds a tear down to be called during the unsubscribe() of this\n * Subscription.\n *\n * If the tear down being added is a subscription that is already\n * unsubscribed, is the same reference `add` is being called on, or is\n * `Subscription.EMPTY`, it will not be added.\n *\n * If this subscription is already in an `closed` state, the passed\n * tear down logic will be executed immediately.\n *\n * @param {TeardownLogic} teardown The additional logic to execute on\n * teardown.\n * @return {Subscription} Returns the Subscription used or created to be\n * added to the inner subscriptions list. This Subscription can be used with\n * `remove()` to remove the passed teardown logic from the inner subscriptions\n * list.\n */\n Subscription.prototype.add = function (teardown) {\n if (!teardown || (teardown === Subscription.EMPTY)) {\n return Subscription.EMPTY;\n }\n if (teardown === this) {\n return this;\n }\n var sub = teardown;\n switch (typeof teardown) {\n case 'function':\n sub = new Subscription(teardown);\n case 'object':\n if (sub.closed || typeof sub.unsubscribe !== 'function') {\n break;\n }\n else if (this.closed) {\n sub.unsubscribe();\n }\n else {\n (this._subscriptions || (this._subscriptions = [])).push(sub);\n }\n break;\n default:\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n return sub;\n };\n /**\n * Removes a Subscription from the internal list of subscriptions that will\n * unsubscribe during the unsubscribe process of this Subscription.\n * @param {Subscription} subscription The subscription to remove.\n * @return {void}\n */\n Subscription.prototype.remove = function (subscription) {\n // HACK: This might be redundant because of the logic in `add()`\n if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n return;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function (empty) {\n empty.closed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n}());\nexports.Subscription = Subscription;\n//# sourceMappingURL=Subscription.js.map\n\n/***/ },\n/* 22 */\n/***/ function(module, exports) {\n\n\"use strict\";\n\"use strict\";\n// typeof any so that it we don't have to cast when comparing a result to the error object\nexports.errorObject = { e: {} };\n//# sourceMappingURL=errorObject.js.map\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar errorObject_1 = __webpack_require__(22);\nvar tryCatchTarget;\nfunction tryCatcher() {\n try {\n return tryCatchTarget.apply(this, arguments);\n }\n catch (e) {\n errorObject_1.errorObject.e = e;\n return errorObject_1.errorObject;\n }\n}\nfunction tryCatch(fn) {\n tryCatchTarget = fn;\n return tryCatcher;\n}\nexports.tryCatch = tryCatch;\n;\n//# sourceMappingURL=tryCatch.js.map\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_collection__ = __webpack_require__(36);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__selector__ = __webpack_require__(118);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__util__ = __webpack_require__(62);\n/* unused harmony export CompileMetadataWithIdentifier */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return CompileAnimationEntryMetadata; });\n/* unused harmony export CompileAnimationStateMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return CompileAnimationStateDeclarationMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return CompileAnimationStateTransitionMetadata; });\n/* unused harmony export CompileAnimationMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return CompileAnimationKeyframesSequenceMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return CompileAnimationStyleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return CompileAnimationAnimateMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return CompileAnimationWithStepsMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return CompileAnimationSequenceMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return CompileAnimationGroupMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CompileIdentifierMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return CompileDiDependencyMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return CompileProviderMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return CompileFactoryMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return CompileTokenMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return CompileTypeMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"y\", function() { return CompileQueryMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return CompileStylesheetMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return CompileTemplateMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"q\", function() { return CompileDirectiveMetadata; });\n/* harmony export (immutable) */ exports[\"n\"] = createHostComponentMeta;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return CompilePipeMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return CompileNgModuleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"u\", function() { return TransitiveCompileNgModuleMetadata; });\n/* harmony export (immutable) */ exports[\"f\"] = removeIdentifierDuplicates;\n/* harmony export (immutable) */ exports[\"z\"] = isStaticSymbol;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return ProviderMeta; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n\n\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\n// group 0: \"[prop] or (event) or @trigger\"\n// group 1: \"prop\" from \"[prop]\"\n// group 2: \"event\" from \"(event)\"\n// group 3: \"@trigger\" from \"@trigger\"\nvar HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\nvar CompileMetadataWithIdentifier = (function () {\n function CompileMetadataWithIdentifier() {\n }\n Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return CompileMetadataWithIdentifier;\n}());\nvar CompileAnimationEntryMetadata = (function () {\n function CompileAnimationEntryMetadata(name, definitions) {\n if (name === void 0) { name = null; }\n if (definitions === void 0) { definitions = null; }\n this.name = name;\n this.definitions = definitions;\n }\n return CompileAnimationEntryMetadata;\n}());\nvar CompileAnimationStateMetadata = (function () {\n function CompileAnimationStateMetadata() {\n }\n return CompileAnimationStateMetadata;\n}());\nvar CompileAnimationStateDeclarationMetadata = (function (_super) {\n __extends(CompileAnimationStateDeclarationMetadata, _super);\n function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) {\n _super.call(this);\n this.stateNameExpr = stateNameExpr;\n this.styles = styles;\n }\n return CompileAnimationStateDeclarationMetadata;\n}(CompileAnimationStateMetadata));\nvar CompileAnimationStateTransitionMetadata = (function (_super) {\n __extends(CompileAnimationStateTransitionMetadata, _super);\n function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) {\n _super.call(this);\n this.stateChangeExpr = stateChangeExpr;\n this.steps = steps;\n }\n return CompileAnimationStateTransitionMetadata;\n}(CompileAnimationStateMetadata));\nvar CompileAnimationMetadata = (function () {\n function CompileAnimationMetadata() {\n }\n return CompileAnimationMetadata;\n}());\nvar CompileAnimationKeyframesSequenceMetadata = (function (_super) {\n __extends(CompileAnimationKeyframesSequenceMetadata, _super);\n function CompileAnimationKeyframesSequenceMetadata(steps) {\n if (steps === void 0) { steps = []; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationKeyframesSequenceMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationStyleMetadata = (function (_super) {\n __extends(CompileAnimationStyleMetadata, _super);\n function CompileAnimationStyleMetadata(offset, styles) {\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.offset = offset;\n this.styles = styles;\n }\n return CompileAnimationStyleMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationAnimateMetadata = (function (_super) {\n __extends(CompileAnimationAnimateMetadata, _super);\n function CompileAnimationAnimateMetadata(timings, styles) {\n if (timings === void 0) { timings = 0; }\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.timings = timings;\n this.styles = styles;\n }\n return CompileAnimationAnimateMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationWithStepsMetadata = (function (_super) {\n __extends(CompileAnimationWithStepsMetadata, _super);\n function CompileAnimationWithStepsMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationWithStepsMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationSequenceMetadata = (function (_super) {\n __extends(CompileAnimationSequenceMetadata, _super);\n function CompileAnimationSequenceMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationSequenceMetadata;\n}(CompileAnimationWithStepsMetadata));\nvar CompileAnimationGroupMetadata = (function (_super) {\n __extends(CompileAnimationGroupMetadata, _super);\n function CompileAnimationGroupMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationGroupMetadata;\n}(CompileAnimationWithStepsMetadata));\nvar CompileIdentifierMetadata = (function () {\n function CompileIdentifierMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, value = _b.value;\n this.reference = reference;\n this.name = name;\n this.prefix = prefix;\n this.moduleUrl = moduleUrl;\n this.value = value;\n }\n Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n return CompileIdentifierMetadata;\n}());\nvar CompileDiDependencyMetadata = (function () {\n function CompileDiDependencyMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, isAttribute = _b.isAttribute, isSelf = _b.isSelf, isHost = _b.isHost, isSkipSelf = _b.isSkipSelf, isOptional = _b.isOptional, isValue = _b.isValue, query = _b.query, viewQuery = _b.viewQuery, token = _b.token, value = _b.value;\n this.isAttribute = !!isAttribute;\n this.isSelf = !!isSelf;\n this.isHost = !!isHost;\n this.isSkipSelf = !!isSkipSelf;\n this.isOptional = !!isOptional;\n this.isValue = !!isValue;\n this.query = query;\n this.viewQuery = viewQuery;\n this.token = token;\n this.value = value;\n }\n return CompileDiDependencyMetadata;\n}());\nvar CompileProviderMetadata = (function () {\n function CompileProviderMetadata(_a) {\n var token = _a.token, useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.deps = deps || null;\n this.multi = !!multi;\n }\n return CompileProviderMetadata;\n}());\nvar CompileFactoryMetadata = (function (_super) {\n __extends(CompileFactoryMetadata, _super);\n function CompileFactoryMetadata(_a) {\n var reference = _a.reference, name = _a.name, moduleUrl = _a.moduleUrl, prefix = _a.prefix, diDeps = _a.diDeps, value = _a.value;\n _super.call(this, { reference: reference, name: name, prefix: prefix, moduleUrl: moduleUrl, value: value });\n this.diDeps = _normalizeArray(diDeps);\n }\n return CompileFactoryMetadata;\n}(CompileIdentifierMetadata));\nvar CompileTokenMetadata = (function () {\n function CompileTokenMetadata(_a) {\n var value = _a.value, identifier = _a.identifier, identifierIsInstance = _a.identifierIsInstance;\n this.value = value;\n this.identifier = identifier;\n this.identifierIsInstance = !!identifierIsInstance;\n }\n Object.defineProperty(CompileTokenMetadata.prototype, \"reference\", {\n get: function () {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(this.identifier)) {\n return this.identifier.reference;\n }\n else {\n return this.value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\n get: function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(this.value) ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"a\" /* sanitizeIdentifier */])(this.value) : this.identifier.name;\n },\n enumerable: true,\n configurable: true\n });\n return CompileTokenMetadata;\n}());\n/**\n * Metadata regarding compilation of a type.\n */\nvar CompileTypeMetadata = (function (_super) {\n __extends(CompileTypeMetadata, _super);\n function CompileTypeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, isHost = _b.isHost, value = _b.value, diDeps = _b.diDeps, lifecycleHooks = _b.lifecycleHooks;\n _super.call(this, { reference: reference, name: name, moduleUrl: moduleUrl, prefix: prefix, value: value });\n this.isHost = !!isHost;\n this.diDeps = _normalizeArray(diDeps);\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n }\n return CompileTypeMetadata;\n}(CompileIdentifierMetadata));\nvar CompileQueryMetadata = (function () {\n function CompileQueryMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, selectors = _b.selectors, descendants = _b.descendants, first = _b.first, propertyName = _b.propertyName, read = _b.read;\n this.selectors = selectors;\n this.descendants = !!descendants;\n this.first = !!first;\n this.propertyName = propertyName;\n this.read = read;\n }\n return CompileQueryMetadata;\n}());\n/**\n * Metadata about a stylesheet\n */\nvar CompileStylesheetMetadata = (function () {\n function CompileStylesheetMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls;\n this.moduleUrl = moduleUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n }\n return CompileStylesheetMetadata;\n}());\n/**\n * Metadata regarding compilation of a template.\n */\nvar CompileTemplateMetadata = (function () {\n function CompileTemplateMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation;\n this.encapsulation = encapsulation;\n this.template = template;\n this.templateUrl = templateUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n this.externalStylesheets = _normalizeArray(externalStylesheets);\n this.animations = animations ? __WEBPACK_IMPORTED_MODULE_1__facade_collection__[\"a\" /* ListWrapper */].flatten(animations) : [];\n this.ngContentSelectors = ngContentSelectors || [];\n if (interpolation && interpolation.length != 2) {\n throw new Error(\"'interpolation' should have a start and an end symbol.\");\n }\n this.interpolation = interpolation;\n }\n return CompileTemplateMetadata;\n}());\n/**\n * Metadata regarding compilation of a directive.\n */\nvar CompileDirectiveMetadata = (function () {\n function CompileDirectiveMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n this.type = type;\n this.isComponent = isComponent;\n this.selector = selector;\n this.exportAs = exportAs;\n this.changeDetection = changeDetection;\n this.inputs = inputs;\n this.outputs = outputs;\n this.hostListeners = hostListeners;\n this.hostProperties = hostProperties;\n this.hostAttributes = hostAttributes;\n this.providers = _normalizeArray(providers);\n this.viewProviders = _normalizeArray(viewProviders);\n this.queries = _normalizeArray(queries);\n this.viewQueries = _normalizeArray(viewQueries);\n this.entryComponents = _normalizeArray(entryComponents);\n this.template = template;\n }\n CompileDirectiveMetadata.create = function (_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n var hostListeners = {};\n var hostProperties = {};\n var hostAttributes = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(host)) {\n Object.keys(host).forEach(function (key) {\n var value = host[key];\n var matches = key.match(HOST_REG_EXP);\n if (matches === null) {\n hostAttributes[key] = value;\n }\n else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(matches[1])) {\n hostProperties[matches[1]] = value;\n }\n else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(matches[2])) {\n hostListeners[matches[2]] = value;\n }\n });\n }\n var inputsMap = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(inputs)) {\n inputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"b\" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]);\n inputsMap[parts[0]] = parts[1];\n });\n }\n var outputsMap = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isPresent */])(outputs)) {\n outputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"b\" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]);\n outputsMap[parts[0]] = parts[1];\n });\n }\n return new CompileDirectiveMetadata({\n type: type,\n isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection,\n inputs: inputsMap,\n outputs: outputsMap,\n hostListeners: hostListeners,\n hostProperties: hostProperties,\n hostAttributes: hostAttributes,\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries,\n entryComponents: entryComponents,\n template: template,\n });\n };\n Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n return CompileDirectiveMetadata;\n}());\n/**\n * Construct {@link CompileDirectiveMetadata} from {@link ComponentTypeMetadata} and a selector.\n */\nfunction createHostComponentMeta(compMeta) {\n var template = __WEBPACK_IMPORTED_MODULE_3__selector__[\"a\" /* CssSelector */].parse(compMeta.selector)[0].getMatchingElementTemplate();\n return CompileDirectiveMetadata.create({\n type: new CompileTypeMetadata({\n reference: Object,\n name: compMeta.type.name + \"_Host\",\n moduleUrl: compMeta.type.moduleUrl,\n isHost: true\n }),\n template: new CompileTemplateMetadata({\n encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ViewEncapsulation\"].None,\n template: template,\n templateUrl: '',\n styles: [],\n styleUrls: [],\n ngContentSelectors: [],\n animations: []\n }),\n changeDetection: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"ChangeDetectionStrategy\"].Default,\n inputs: [],\n outputs: [],\n host: {},\n isComponent: true,\n selector: '*',\n providers: [],\n viewProviders: [],\n queries: [],\n viewQueries: []\n });\n}\nvar CompilePipeMetadata = (function () {\n function CompilePipeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure;\n this.type = type;\n this.name = name;\n this.pure = !!pure;\n }\n Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n return CompilePipeMetadata;\n}());\n/**\n * Metadata regarding compilation of a module.\n */\nvar CompileNgModuleMetadata = (function () {\n function CompileNgModuleMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id;\n this.type = type;\n this.declaredDirectives = _normalizeArray(declaredDirectives);\n this.exportedDirectives = _normalizeArray(exportedDirectives);\n this.declaredPipes = _normalizeArray(declaredPipes);\n this.exportedPipes = _normalizeArray(exportedPipes);\n this.providers = _normalizeArray(providers);\n this.entryComponents = _normalizeArray(entryComponents);\n this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n this.importedModules = _normalizeArray(importedModules);\n this.exportedModules = _normalizeArray(exportedModules);\n this.schemas = _normalizeArray(schemas);\n this.id = id;\n this.transitiveModule = transitiveModule;\n }\n Object.defineProperty(CompileNgModuleMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n return CompileNgModuleMetadata;\n}());\nvar TransitiveCompileNgModuleMetadata = (function () {\n function TransitiveCompileNgModuleMetadata(modules, providers, entryComponents, directives, pipes) {\n var _this = this;\n this.modules = modules;\n this.providers = providers;\n this.entryComponents = entryComponents;\n this.directives = directives;\n this.pipes = pipes;\n this.directivesSet = new Set();\n this.pipesSet = new Set();\n directives.forEach(function (dir) { return _this.directivesSet.add(dir.type.reference); });\n pipes.forEach(function (pipe) { return _this.pipesSet.add(pipe.type.reference); });\n }\n return TransitiveCompileNgModuleMetadata;\n}());\nfunction removeIdentifierDuplicates(items) {\n var map = new Map();\n items.forEach(function (item) {\n if (!map.get(item.identifier.reference)) {\n map.set(item.identifier.reference, item);\n }\n });\n return __WEBPACK_IMPORTED_MODULE_1__facade_collection__[\"b\" /* MapWrapper */].values(map);\n}\nfunction _normalizeArray(obj) {\n return obj || [];\n}\nfunction isStaticSymbol(value) {\n return typeof value === 'object' && value !== null && value['name'] && value['filePath'];\n}\nvar ProviderMeta = (function () {\n function ProviderMeta(token, _a) {\n var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.dependencies = deps;\n this.multi = !!multi;\n }\n return ProviderMeta;\n}());\n//# sourceMappingURL=compile_metadata.js.map\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(11)(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\nvar objectTypes = {\n 'boolean': false,\n 'function': true,\n 'object': true,\n 'number': false,\n 'string': false,\n 'undefined': false\n};\nexports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\nvar freeGlobal = objectTypes[typeof global] && global;\nif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n exports.root = freeGlobal;\n}\n//# sourceMappingURL=root.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar AsyncAction_1 = __webpack_require__(109);\nvar AsyncScheduler_1 = __webpack_require__(110);\nexports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);\n//# sourceMappingURL=async.js.map\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* harmony export (immutable) */ exports[\"e\"] = getTypeNameForDebugging;\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"b\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* harmony export (immutable) */ exports[\"h\"] = isDate;\n/* harmony export (immutable) */ exports[\"f\"] = stringify;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return NumberWrapper; });\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"c\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"d\"] = getSymbolIterator;\n/* unused harmony export isPrimitive */\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new Error('Invalid integer literal when parsing ' + text + ' in base ' + radix);\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 29 */\n/***/ function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(17)\n , hide = __webpack_require__(55)\n , has = __webpack_require__(29)\n , SRC = __webpack_require__(107)('src')\n , TO_STRING = 'toString'\n , $toString = Function[TO_STRING]\n , TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(16).inspectSource = function(it){\n return $toString.call(it);\n};\n\n(module.exports = function(O, key, val, safe){\n var isFunction = typeof val == 'function';\n if(isFunction)has(val, 'name') || hide(val, 'name', key);\n if(O[key] === val)return;\n if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if(O === global){\n O[key] = val;\n } else {\n if(!safe){\n delete O[key];\n hide(O, key, val);\n } else {\n if(O[key])O[key] = val;\n else hide(O, key, val);\n }\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString(){\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(2)\n , fails = __webpack_require__(11)\n , defined = __webpack_require__(54)\n , quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function(string, tag, attribute, value) {\n var S = String(defined(string))\n , p1 = '<' + tag;\n if(attribute !== '')p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function(NAME, exec){\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function(){\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ exports[\"a\"] = unimplemented;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return BaseError; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return WrappedError; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\n/**\n * @stable\n */\nvar BaseError = (function (_super) {\n __extends(BaseError, _super);\n function BaseError(message) {\n // Errors don't use current this, instead they create a new instance.\n // We have to do forward all of our api to the nativeInstance.\n var nativeError = _super.call(this, message);\n this._nativeError = nativeError;\n }\n Object.defineProperty(BaseError.prototype, \"message\", {\n get: function () { return this._nativeError.message; },\n set: function (message) { this._nativeError.message = message; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"name\", {\n get: function () { return this._nativeError.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"stack\", {\n get: function () { return this._nativeError.stack; },\n set: function (value) { this._nativeError.stack = value; },\n enumerable: true,\n configurable: true\n });\n BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n return BaseError;\n}(Error));\n/**\n * @stable\n */\nvar WrappedError = (function (_super) {\n __extends(WrappedError, _super);\n function WrappedError(message, error) {\n _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n this.originalError = error;\n }\n Object.defineProperty(WrappedError.prototype, \"stack\", {\n get: function () {\n return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n .stack;\n },\n enumerable: true,\n configurable: true\n });\n return WrappedError;\n}(BaseError));\n//# sourceMappingURL=errors.js.map\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"d\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* unused harmony export stringify */\n/* unused harmony export NumberWrapper */\n/* harmony export (immutable) */ exports[\"f\"] = looseIdentical;\n/* harmony export (immutable) */ exports[\"b\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"c\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"e\"] = isPrimitive;\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new Error('Invalid integer literal when parsing ' + text + ' in base ' + radix);\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return _global; });\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"b\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"g\"] = stringify;\n/* unused harmony export NumberWrapper */\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"e\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* harmony export (immutable) */ exports[\"c\"] = setValueOnPath;\n/* harmony export (immutable) */ exports[\"f\"] = getSymbolIterator;\n/* unused harmony export isPrimitive */\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new Error('Invalid integer literal when parsing ' + text + ' in base ' + radix);\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(59)))\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(86)\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return MapWrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return StringMapWrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ListWrapper; });\n/* unused harmony export isListLikeIterable */\n/* unused harmony export areIterablesEqual */\n/* unused harmony export iterateListLike */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// Safari doesn't implement MapIterator.next(), which is used is Traceur's polyfill of Array.from\n// TODO(mlaval): remove the work around once we have a working polyfill of Array.from\nvar _arrayFromMap = (function () {\n try {\n if ((new Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n }\n catch (e) {\n }\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = new Array(m.size), i = 0;\n m.forEach(function (v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function () {\n function MapWrapper() {\n }\n MapWrapper.createFromStringMap = function (stringMap) {\n var result = new Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.keys = function (m) { return _arrayFromMap(m, false); };\n MapWrapper.values = function (m) { return _arrayFromMap(m, true); };\n return MapWrapper;\n}());\n/**\n * Wraps Javascript Objects\n */\nvar StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nvar ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.maximum = function (list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (candidate == null) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function (list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n return ListWrapper;\n}());\nfunction _flattenArray(source, target) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"a\" /* isPresent */])(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (Array.isArray(item)) {\n _flattenArray(item, target);\n }\n else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"b\" /* isJsObject */])(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) &&\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"c\" /* getSymbolIterator */])() in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"c\" /* getSymbolIterator */])()]();\n var iterator2 = b[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"c\" /* getSymbolIterator */])()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nfunction iterateListLike(obj, fn) {\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n }\n else {\n var iterator = obj[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"c\" /* getSymbolIterator */])()]();\n var item = void 0;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\n//# sourceMappingURL=collection.js.map\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return ParseLocation; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return ParseSourceFile; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ParseSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return ParseErrorLevel; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ParseError; });\n\nvar ParseLocation = (function () {\n function ParseLocation(file, offset, line, col) {\n this.file = file;\n this.offset = offset;\n this.line = line;\n this.col = col;\n }\n ParseLocation.prototype.toString = function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isPresent */])(this.offset) ? this.file.url + \"@\" + this.line + \":\" + this.col : this.file.url;\n };\n return ParseLocation;\n}());\nvar ParseSourceFile = (function () {\n function ParseSourceFile(content, url) {\n this.content = content;\n this.url = url;\n }\n return ParseSourceFile;\n}());\nvar ParseSourceSpan = (function () {\n function ParseSourceSpan(start, end, details) {\n if (details === void 0) { details = null; }\n this.start = start;\n this.end = end;\n this.details = details;\n }\n ParseSourceSpan.prototype.toString = function () {\n return this.start.file.content.substring(this.start.offset, this.end.offset);\n };\n return ParseSourceSpan;\n}());\nvar ParseErrorLevel;\n(function (ParseErrorLevel) {\n ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\n})(ParseErrorLevel || (ParseErrorLevel = {}));\nvar ParseError = (function () {\n function ParseError(span, msg, level) {\n if (level === void 0) { level = ParseErrorLevel.FATAL; }\n this.span = span;\n this.msg = msg;\n this.level = level;\n }\n ParseError.prototype.toString = function () {\n var source = this.span.start.file.content;\n var ctxStart = this.span.start.offset;\n var contextStr = '';\n var details = '';\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isPresent */])(ctxStart)) {\n if (ctxStart > source.length - 1) {\n ctxStart = source.length - 1;\n }\n var ctxEnd = ctxStart;\n var ctxLen = 0;\n var ctxLines = 0;\n while (ctxLen < 100 && ctxStart > 0) {\n ctxStart--;\n ctxLen++;\n if (source[ctxStart] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n ctxLen = 0;\n ctxLines = 0;\n while (ctxLen < 100 && ctxEnd < source.length - 1) {\n ctxEnd++;\n ctxLen++;\n if (source[ctxEnd] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\n source.substring(this.span.start.offset, ctxEnd + 1);\n contextStr = \" (\\\"\" + context + \"\\\")\";\n }\n if (this.span.details) {\n details = \", \" + this.span.details;\n }\n return \"\" + this.msg + contextStr + \": \" + this.span.start + details;\n };\n return ParseError;\n}());\n//# sourceMappingURL=parse_util.js.map\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__di_metadata__ = __webpack_require__(126);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__ = __webpack_require__(190);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__di_injector__ = __webpack_require__(125);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__di_reflective_injector__ = __webpack_require__(533);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__di_reflective_provider__ = __webpack_require__(193);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__di_reflective_key__ = __webpack_require__(192);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__di_opaque_token__ = __webpack_require__(191);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"c\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"b\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"d\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"c\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"e\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"f\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"i\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"e\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"j\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"d\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"k\", function() { return __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__[\"b\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"h\", function() { return __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"g\", function() { return __WEBPACK_IMPORTED_MODULE_2__di_injector__[\"b\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"f\", function() { return __WEBPACK_IMPORTED_MODULE_3__di_reflective_injector__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"l\", function() { return __WEBPACK_IMPORTED_MODULE_4__di_reflective_provider__[\"c\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"m\", function() { return __WEBPACK_IMPORTED_MODULE_5__di_reflective_key__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_6__di_opaque_token__[\"a\"]; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @module\n * @description\n * The `di` module provides dependency injection container services.\n */\n\n\n\n\n\n\n\n//# sourceMappingURL=di.js.map\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(11);\n\nmodule.exports = function(method, arg){\n return !!method && fails(function(){\n arg ? method.call(null, function(){}, 1) : method.call(null);\n });\n};\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(103)\n , defined = __webpack_require__(54);\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(54);\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__assertions__ = __webpack_require__(269);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return InterpolationConfig; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DEFAULT_INTERPOLATION_CONFIG; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar InterpolationConfig = (function () {\n function InterpolationConfig(start, end) {\n this.start = start;\n this.end = end;\n }\n InterpolationConfig.fromArray = function (markers) {\n if (!markers) {\n return DEFAULT_INTERPOLATION_CONFIG;\n }\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__assertions__[\"a\" /* assertInterpolationSymbols */])('interpolation', markers);\n return new InterpolationConfig(markers[0], markers[1]);\n };\n ;\n return InterpolationConfig;\n}());\nvar DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n//# sourceMappingURL=interpolation_config.js.map\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NG_VALUE_ACCESSOR; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Used to provide a {@link ControlValueAccessor} for form controls.\n *\n * See {@link DefaultValueAccessor} for how to implement one.\n * @stable\n */\nvar NG_VALUE_ACCESSOR = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"OpaqueToken\"]('NgValueAccessor');\n//# sourceMappingURL=control_value_accessor.js.map\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__ = __webpack_require__(465);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_collection__ = __webpack_require__(137);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__facade_lang__ = __webpack_require__(33);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__private_import_core__ = __webpack_require__(324);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return NG_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return NG_ASYNC_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Validators; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\nfunction isEmptyInputValue(value) {\n return value == null || typeof value === 'string' && value.length === 0;\n}\n/**\n * Providers for validators to be used for {@link FormControl}s in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * ### Example\n *\n * {@example core/forms/ts/ng_validators/ng_validators.ts region='ng_validators'}\n * @stable\n */\nvar NG_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"OpaqueToken\"]('NgValidators');\n/**\n * Providers for asynchronous validators to be used for {@link FormControl}s\n * in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * See {@link NG_VALIDATORS} for more details.\n *\n * @stable\n */\nvar NG_ASYNC_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"OpaqueToken\"]('NgAsyncValidators');\n/**\n * Provides a set of validators used by form controls.\n *\n * A validator is a function that processes a {@link FormControl} or collection of\n * controls and returns a map of errors. A null map means that validation has passed.\n *\n * ### Example\n *\n * ```typescript\n * var loginControl = new FormControl(\"\", Validators.required)\n * ```\n *\n * @stable\n */\nvar Validators = (function () {\n function Validators() {\n }\n /**\n * Validator that requires controls to have a non-empty value.\n */\n Validators.required = function (control) {\n return isEmptyInputValue(control.value) ? { 'required': true } : null;\n };\n /**\n * Validator that requires controls to have a value of a minimum length.\n */\n Validators.minLength = function (minLength) {\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length < minLength ?\n { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires controls to have a value of a maximum length.\n */\n Validators.maxLength = function (maxLength) {\n return function (control) {\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length > maxLength ?\n { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires a control to match a regex to its value.\n */\n Validators.pattern = function (pattern) {\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var regex = new RegExp(\"^\" + pattern + \"$\");\n var value = control.value;\n return regex.test(value) ?\n null :\n { 'pattern': { 'requiredPattern': \"^\" + pattern + \"$\", 'actualValue': value } };\n };\n };\n /**\n * No-op validator.\n */\n Validators.nullValidator = function (c) { return null; };\n /**\n * Compose multiple validators into a single function that returns the union\n * of the individual error maps.\n */\n Validators.compose = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"a\" /* isPresent */]);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n return _mergeErrors(_executeValidators(control, presentValidators));\n };\n };\n Validators.composeAsync = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"a\" /* isPresent */]);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\n return Promise.all(promises).then(_mergeErrors);\n };\n };\n return Validators;\n}());\nfunction _convertToPromise(obj) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__private_import_core__[\"a\" /* isPromise */])(obj) ? obj : __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__[\"toPromise\"].call(obj);\n}\nfunction _executeValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n}\nfunction _executeAsyncValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n}\nfunction _mergeErrors(arrayOfErrors) {\n var res = arrayOfErrors.reduce(function (res, errors) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"a\" /* isPresent */])(errors) ? __WEBPACK_IMPORTED_MODULE_2__facade_collection__[\"a\" /* StringMapWrapper */].merge(res, errors) : res;\n }, {});\n return Object.keys(res).length === 0 ? null : res;\n}\n//# sourceMappingURL=validators.js.map\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(2)\n , core = __webpack_require__(16)\n , fails = __webpack_require__(11);\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n/***/ },\n/* 46 */\n/***/ function(module, exports) {\n\n\"use strict\";\n\"use strict\";\nexports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n//# sourceMappingURL=isArray.js.map\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_location__ = __webpack_require__(486);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_localization__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_common_module__ = __webpack_require__(478);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_directives_index__ = __webpack_require__(261);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_pipes_index__ = __webpack_require__(265);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_location__[\"a\"]; });\n/* unused harmony reexport NgLocalization */\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_2__src_common_module__[\"a\"]; });\n/* unused harmony reexport NgClass */\n/* unused harmony reexport NgFor */\n/* unused harmony reexport NgIf */\n/* unused harmony reexport NgPlural */\n/* unused harmony reexport NgPluralCase */\n/* unused harmony reexport NgStyle */\n/* unused harmony reexport NgSwitch */\n/* unused harmony reexport NgSwitchCase */\n/* unused harmony reexport NgSwitchDefault */\n/* unused harmony reexport NgTemplateOutlet */\n/* unused harmony reexport LowerCasePipe */\n/* unused harmony reexport DatePipe */\n/* unused harmony reexport I18nPluralPipe */\n/* unused harmony reexport I18nSelectPipe */\n/* unused harmony reexport JsonPipe */\n/* unused harmony reexport AsyncPipe */\n/* unused harmony reexport CurrencyPipe */\n/* unused harmony reexport DecimalPipe */\n/* unused harmony reexport PercentPipe */\n/* unused harmony reexport SlicePipe */\n/* unused harmony reexport UpperCasePipe */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__identifiers__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__output_output_ast__ = __webpack_require__(10);\n/* harmony export (immutable) */ exports[\"c\"] = createDiTokenExpression;\n/* harmony export (immutable) */ exports[\"d\"] = createInlineArray;\n/* harmony export (immutable) */ exports[\"a\"] = createPureProxy;\n/* harmony export (immutable) */ exports[\"b\"] = createEnumExpression;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\nfunction createDiTokenExpression(token) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isPresent */])(token.value)) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"c\" /* literal */](token.value);\n }\n else if (token.identifierIsInstance) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](token.identifier)\n .instantiate([], __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"k\" /* importType */](token.identifier, [], [__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"m\" /* TypeModifier */].Const]));\n }\n else {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](token.identifier);\n }\n}\nfunction createInlineArray(values) {\n if (values.length === 0) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].EMPTY_INLINE_ARRAY));\n }\n var log2 = Math.log(values.length) / Math.log(2);\n var index = Math.ceil(log2);\n var identifierSpec = index < __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].inlineArrays.length ? __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].inlineArrays[index] :\n __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].InlineArrayDynamic;\n var identifier = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(identifierSpec);\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](identifier).instantiate([\n __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"c\" /* literal */](values.length)\n ].concat(values));\n}\nfunction createPureProxy(fn, argCount, pureProxyProp, builder) {\n builder.fields.push(new __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"n\" /* ClassField */](pureProxyProp.name, null));\n var pureProxyId = argCount < __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].pureProxies.length ? __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].pureProxies[argCount] : null;\n if (!pureProxyId) {\n throw new Error(\"Unsupported number of argument for pure functions: \" + argCount);\n }\n builder.ctorStmts.push(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */].prop(pureProxyProp.name)\n .set(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(pureProxyId)).callFn([fn]))\n .toStmt());\n}\nfunction createEnumExpression(enumType, enumValue) {\n var enumName = Object.keys(enumType.runtime).find(function (propName) { return enumType.runtime[propName] === enumValue; });\n if (!enumName) {\n throw new Error(\"Unknown enum value \" + enumValue + \" in \" + enumType.name);\n }\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"e\" /* resolveEnumIdentifier */])(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(enumType), enumName));\n}\n//# sourceMappingURL=identifier_util.js.map\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return TextAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return BoundTextAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return AttrAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return BoundElementPropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return BoundEventAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return ReferenceAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return VariableAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return ElementAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return EmbeddedTemplateAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return BoundDirectivePropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return DirectiveAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return ProviderAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ProviderAstType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return NgContentAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return PropertyBindingType; });\n/* harmony export (immutable) */ exports[\"g\"] = templateVisitAll;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A segment of text within the template.\n */\nvar TextAst = (function () {\n function TextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return TextAst;\n}());\n/**\n * A bound expression within the text of a template.\n */\nvar BoundTextAst = (function () {\n function BoundTextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n BoundTextAst.prototype.visit = function (visitor, context) {\n return visitor.visitBoundText(this, context);\n };\n return BoundTextAst;\n}());\n/**\n * A plain attribute on an element.\n */\nvar AttrAst = (function () {\n function AttrAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\n return AttrAst;\n}());\n/**\n * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n * `[@trigger]=\"stateExp\"`)\n */\nvar BoundElementPropertyAst = (function () {\n function BoundElementPropertyAst(name, type, securityContext, needsRuntimeSecurityContext, value, unit, sourceSpan) {\n this.name = name;\n this.type = type;\n this.securityContext = securityContext;\n this.needsRuntimeSecurityContext = needsRuntimeSecurityContext;\n this.value = value;\n this.unit = unit;\n this.sourceSpan = sourceSpan;\n }\n BoundElementPropertyAst.prototype.visit = function (visitor, context) {\n return visitor.visitElementProperty(this, context);\n };\n Object.defineProperty(BoundElementPropertyAst.prototype, \"isAnimation\", {\n get: function () { return this.type === PropertyBindingType.Animation; },\n enumerable: true,\n configurable: true\n });\n return BoundElementPropertyAst;\n}());\n/**\n * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n * `(@trigger.phase)=\"callback($event)\"`).\n */\nvar BoundEventAst = (function () {\n function BoundEventAst(name, target, phase, handler, sourceSpan) {\n this.name = name;\n this.target = target;\n this.phase = phase;\n this.handler = handler;\n this.sourceSpan = sourceSpan;\n }\n BoundEventAst.prototype.visit = function (visitor, context) {\n return visitor.visitEvent(this, context);\n };\n Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\n get: function () {\n if (this.target) {\n return this.target + \":\" + this.name;\n }\n else {\n return this.name;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BoundEventAst.prototype, \"isAnimation\", {\n get: function () { return !!this.phase; },\n enumerable: true,\n configurable: true\n });\n return BoundEventAst;\n}());\n/**\n * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n */\nvar ReferenceAst = (function () {\n function ReferenceAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n ReferenceAst.prototype.visit = function (visitor, context) {\n return visitor.visitReference(this, context);\n };\n return ReferenceAst;\n}());\n/**\n * A variable declaration on a