diff --git a/.travis.yml b/.travis.yml index cca44205..c09453f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,36 @@ language: go go: - - 1.8 - - 1.9 + - "1.8" + - "1.9" + - "1.10" + +env: + - SKYCOIN_ADDR=http://172.17.0.2:6420 + +services: + - docker + +addons: + apt: + sources: + - google-chrome + packages: + - google-chrome-stable + +before_install: + - nvm install 8.9 install: - go get -t ./... - make install-linters + - npm install script: - make check + - make build-ng + - make check-ui + +notifications: + # https://github.com/kvld/travisci-telegram TravisCI Telegram Bot integration + webhooks: https://fathomless-fjord-24024.herokuapp.com/notify diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..a066d479 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- Add support to ARM architecture in Docker Cloud builds + +### Fixed + +### Changed + +### Removed + diff --git a/CUSTOMIZATION.md b/CUSTOMIZATION.md index 1a4a6a7e..d80e1aaa 100644 --- a/CUSTOMIZATION.md +++ b/CUSTOMIZATION.md @@ -6,6 +6,12 @@ The explorer is designed in such a way that it is possible to make simple custom To simplify copying addresses with mobile devices, the explorer shows qr codes. The qr codes contain the addresses prefixed with the name of the coin, in this way: `skycoin:abcd...` (More information in this link: https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki). If needed, the `skycoin:` prefix can be changed by modifying the value of `QrConfig.prefix`, inside [app.config.ts](src/app/app.config.ts). +## Search functionality + +The explorer is integrated with the browser's search functionality. This means that the user can search for elements of the blockchain directly from the search functionality of the browser. For this to work properly, you must modify the [search.xml](src/search.xml) file. Simply replace the `https://explorer.skycoin.net/` prefix of all URLs with the URL where the browser will reside (it is not necessary to replace the text that may be to the right of that prefix). Also, replace the `ShortName` and `Description` as deemed necessary. + +You can find more information about the file format in [opensearch-1-1-draft-6.md](https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md) + ## Colors and general appearance Most explorer colors and other general UI parameters are defined in [_variables.scss](src/assets/scss/_variables.scss). Making changes to that file is the quickest way to change the explorer appearance. diff --git a/Makefile b/Makefile index f5a8e04a..a5ccd726 100644 --- a/Makefile +++ b/Makefile @@ -48,5 +48,29 @@ install-linters: ## Install linters format: ## Formats the code. Must have goimports installed (use make install-linters). goimports -w explorer.go +check-ui: ## runs e2e tests connecting to a containerized node + go run explorer.go &>/dev/null & + sleep 10 + + docker volume create skycoin-data + docker volume create skycoin-wallet + chmod 777 $(PWD)/e2e/test-fixtures/blockchain-180.db + + docker run -d --rm \ + -v skycoin-data:/data \ + -v skycoin-wallet:/wallet \ + -v $(PWD)/e2e/:/project-root \ + --name skycoin-backend \ + -p 6000:6000 \ + -p 6420:6420 \ + skycoin/skycoin:develop \ + -web-interface-addr 172.17.0.2 \ + -db-path=project-root/test-fixtures/blockchain-180.db \ + -disable-networking + + npm run e2e-blockchain-180 + + docker stop skycoin-backend + help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/README.md b/README.md index bd4e88f0..4fe04fe0 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,41 @@ https://explorer.skycoin.net +Skycoin Explorer is a tool to interact with Skycoin ecosystem. + +You can check blocks, transactions and their states. + +[https://explorer.skycoin.net](https://explorer.skycoin.net) + +### Quick reference + +- **Where to file issues**: + [https://github.com/skycoin/skycoin-explorer/issues](https://github.com/skycoin/skycoin-explorer/issues) + +# Table of Contents + + - [Releases Notes](CHANGELOG.md) + - [Installation](#installation) + - [Requirements](#requirements) + - [Usage](#usage) + - [Run a skycoin node](#run-a-skycoin-node) + - [Run the explorer](#run-the-explorer) + - [Docker images](#docker-images) + - [API documentation](#api-documentation) + - [Development](#development) + - [Compiling the angular frontend](#compiling-the-angular-frontend) + - [Formatting](#formatting) + - [Code Linting](#code-linting) + - [Customization](#customization) + - [Deployment](#deployment) + + +# Installation + ## Requirements ``` -go>=1.8 +go>=1.10 node>=v6.9.0 npm>=3.10.10 ``` @@ -60,17 +91,9 @@ SKYCOIN_ADDR=http://127.0.0.1:3333 ./explorer make run-api ``` -### Docker images - -``` -$ docker build -t skycoin/skycoint-explorer . -$ docker run -p 8001:8001 skycoin/skycoin-explorer -``` - -Access the explorer: [http://localhost:8001](http://localhost:8001). +## Docker images -The `SKYCOIN_ADDR` and the `EXPLORER_HOST` environment variables can be passed -to the running container to modify the default behavior. +If you want to run Explorer on Docker refer to [Docker instructions](docker/images/README.md) ## API documentation diff --git a/angular.json b/angular.json index 9d91e45a..a289f9d8 100644 --- a/angular.json +++ b/angular.json @@ -18,7 +18,8 @@ "polyfills": "src/polyfills.ts", "assets": [ "src/assets", - "src/favicon.ico" + "src/favicon.ico", + "src/search.dev.xml" ], "styles": [ "src/assets/css/bootstrap.min.css", @@ -46,6 +47,11 @@ "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } + ], + "assets": [ + "src/assets", + "src/favicon.ico", + "src/search.xml" ] } } @@ -122,6 +128,19 @@ } } } + }, + "skycoin-explorer-e2e-blockchain-180": { + "root": "", + "sourceRoot": "", + "projectType": "application", + "architect": { + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "./protractor-blockchain-180.conf.js" + } + } + } } }, "defaultProject": "skycoin-explorer", diff --git a/dist/0.4ff8f23d9b9631142fe3.js b/dist/0.4ff8f23d9b9631142fe3.js new file mode 100644 index 00000000..8f873d97 --- /dev/null +++ b/dist/0.4ff8f23d9b9631142fe3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"ZF/7":function(a){a.exports={general:{coinIdentifier:"SKY",address:"Direcci\xf3n",coins:"Monedas",loadingMsg:"Cargando...",shortLoadingErrorMsg:"Error de carga",longLoadingErrorMsg:"Error al cargar los datos, int\xe9ntelo m\xe1s tarde...",waitingData:"Esperando por los datos..."},txBoxes:{transactionID:"ID de la transacci\xf3n",inputs:"Entradas",outputs:"Salidas",pending:"pendiente",date:"Fecha",finalBalance:"Saldo final de la direcci\xf3n",firstSeen:"Primera vez visto"},blocks:{blocksTitle:"Bloques",statsTitle:"Estad\xedsticas",blockHeight:"Altura",currentSupply:"Suministro Actual",totalSupply:"Suministro Total",currentCoinhourSupply:"Suministro Actual de Coinhours",totalCoinhourSupply:"Suministro Total de Coinhours",unconfirmedTransactions:"Transacciones Sin Confirmar",richList:"Top de direcciones",time:"Fecha",blockNumber:"N\xfamero de bloque",blockNumberSmall:"#",transactions:"Transacciones",blockhash:"Hash"},blockDetails:{title:"Detalles del bloque",next:"Bloque siguiente",previous:"Bloque anterior",height:"N\xfamero de Bloque",timestamp:"Fecha",size:"Tama\xf1o",hash:"Hash",parentHash:"Hash Anterior",totalAmount:"Cantidad Total",withoutParent:"Sin bloque anterior",doesNotExist:"El bloque no existe"},addressDetail:{title:"Direcci\xf3n",txsNumber:"# de Transacciones",totalReceived:"Total Recibido",currentBalance:"Saldo Actual",tools:"Herramientas",unspentOutputs:"Salidas no usadas",withoutTransactions:"Sin transacciones"},unspentOutputs:{title:"Salidas No Usadas",address:"Direcci\xf3n",outputsNumber:"# de salidas",total:"Total",origin:"Origen",date:"Fecha",withoutOutputs:"Sin salidas no usadas"},transactionDetail:{title:"Transacci\xf3n",status:"Estado",timestamp:"Fecha",size:"Tama\xf1o",block:"Bloque",confirmed:"Confirmada",unconfirmed:"No confirmada",canNotFind:"No ha sido posible encontrar la transacci\xf3n"},unconfirmedTx:{title:"Transacciones Sin Confirmar",quantity:"Cantidad",size:"Tama\xf1o total",newest:"M\xe1s reciente",oldest:"M\xe1s antigua",withoutTransactions:"Actualmente no hay transacciones sin confirmar"},richlist:{title:"Top de direcciones"},copy:{copied:"Copiado"},searchBar:{hint:"Direcci\xf3n, hash/n\xfamero de bloque o ID de transacci\xf3n"}}}}]); \ No newline at end of file diff --git a/dist/1.b2f032c505a19c32b77a.js b/dist/1.b2f032c505a19c32b77a.js new file mode 100644 index 00000000..6ff1c0ea --- /dev/null +++ b/dist/1.b2f032c505a19c32b77a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{amrp:function(t){t.exports={general:{coinIdentifier:"SKY",address:"Address",coins:"Coins",loadingMsg:"Loading...",shortLoadingErrorMsg:"Loading error",longLoadingErrorMsg:"Error loading data, try again later...",waitingData:"Waiting for data...",noData:"No data to show"},txBoxes:{transactionID:"Transaction ID",inputs:"Inputs",outputs:"Outputs",pending:"pending",date:"Date",balance:"Balance",initialBalance:"Initial address balance",finalBalance:"Final address balance",initialBalanceShort:"Initial",finalBalanceShort:"Final",firstSeen:"First seen at"},blocks:{blocksTitle:"Blocks",statsTitle:"Stats",blockHeight:"Block Height",currentSupply:"Current Supply",totalSupply:"Total Supply",currentCoinhourSupply:"Current Coinhour Supply",totalCoinhourSupply:"Total Coinhour Supply",unconfirmedTransactions:"Unconfirmed Transactions",richList:"Rich List",time:"Time",blockNumber:"Block Number",blockNumberSmall:"Block #",transactions:"Transactions",blockhash:"Blockhash"},blockDetails:{title:"Block Details",next:"Next block",previous:"Previous block",height:"Height",timestamp:"Timestamp",size:"Size",hash:"Hash",parentHash:"Parent Hash",totalAmount:"Total Amount",withoutParent:"Without parent block",doesNotExist:'The block "{{number}}" does not exist'},addressDetail:{title:"Address",txsNumber:"# of Transactions",totalReceived:"Total Received",currentBalance:"Current Balance",tools:"Tools",unspentOutputs:"Unspent outputs",withoutTransactions:"Without transactions"},unspentOutputs:{title:"Unspent Outputs",address:"Address",outputsNumber:"# of outputs",total:"Total",origin:"Origin",date:"Date",withoutOutputs:"Without outputs"},transactionDetail:{title:"Transaction",status:"Status",timestamp:"Timestamp",size:"Size",block:"Block",confirmed:"Confirmed",unconfirmed:"Unconfirmed",canNotFind:"Unable to find the transaction"},unconfirmedTx:{title:"Unconfirmed Transactions",quantity:"Quantity",size:"Total Size",newest:"Newest",oldest:"Oldest",withoutTransactions:"Currently there are no unconfirmed transactions"},richlist:{title:"Rich List"},copy:{copied:"Copied"},searchBar:{hint:"Address, block hash or number, or transaction ID"},search:{title:"Search",unableToFind:'Unable to find "{{ term }}"'}}}}]); \ No newline at end of file diff --git a/dist/3rdpartylicenses.txt b/dist/3rdpartylicenses.txt index 5bb21266..f2f3d549 100644 --- a/dist/3rdpartylicenses.txt +++ b/dist/3rdpartylicenses.txt @@ -1,6 +1,6 @@ -core-js@2.5.3 +core-js@2.5.7 MIT -Copyright (c) 2014-2017 Denis Pushkarev +Copyright (c) 2014-2018 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -20,11 +20,11 @@ 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. -zone.js@0.8.20 +zone.js@0.8.26 MIT The MIT License -Copyright (c) 2016 Google, Inc. +Copyright (c) 2016-2018 Google, 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 @@ -44,118 +44,268 @@ 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. -cache-loader@1.2.2 +rxjs@5.5.11 +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-2017 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. + +scrollingelement@1.5.2 MIT -Copyright JS Foundation and other 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. - -@angular-devkit/build-optimizer@0.3.2 MIT -The MIT License -Copyright (c) 2017 Google, Inc. +tslib@1.9.3 +Apache-2.0 +Apache 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: +Version 2.0, January 2004 -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +http://www.apache.org/licenses/ -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. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -webpack@3.11.0 -MIT -Copyright JS Foundation and other 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. +1. Definitions. -scrollingelement@1.5.2 -MIT -MIT +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. -@angular/core@5.2.8 -MIT -MIT +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. -@angular/common@5.2.8 -MIT -MIT +"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. -@angular/platform-browser@5.2.8 -MIT -MIT +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. -@angular/router@5.2.8 -MIT -MIT +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. -@angular/http@5.2.8 -MIT -MIT +"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. -@angular/forms@5.2.8 -MIT -MIT +"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). -@angular/animations@5.2.8 -MIT -MIT +"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. -disable-scroll@0.4.0 -MIT -Copyright (c) 2015 Gil Barbara +"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." -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: +"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. -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +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. -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. +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. -@angular/platform-browser-dynamic@5.2.8 -MIT -MIT \ No newline at end of file +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: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and + +You must cause any modified files to carry prominent notices stating that You changed the files; and + +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 + +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 \ No newline at end of file diff --git a/dist/assets/i18n/en.json b/dist/assets/i18n/en.json new file mode 100644 index 00000000..e26db1b4 --- /dev/null +++ b/dist/assets/i18n/en.json @@ -0,0 +1,103 @@ +{ + "general": { + "coinIdentifier": "SKY", + "address": "Address", + "coins": "Coins", + "loadingMsg": "Loading...", + "shortLoadingErrorMsg": "Loading error", + "longLoadingErrorMsg": "Error loading data, try again later...", + "waitingData": "Waiting for data...", + "noData": "No data to show" + }, + "txBoxes": { + "transactionID": "Transaction ID", + "inputs": "Inputs", + "outputs": "Outputs", + "pending": "pending", + "date": "Date", + "balance": "Balance", + "initialBalance": "Initial address balance", + "finalBalance": "Final address balance", + "initialBalanceShort": "Initial", + "finalBalanceShort": "Final", + "firstSeen": "First seen at" + }, + "blocks": { + "blocksTitle": "Blocks", + "statsTitle": "Stats", + "blockHeight": "Block Height", + "currentSupply": "Current Supply", + "totalSupply": "Total Supply", + "currentCoinhourSupply": "Current Coinhour Supply", + "totalCoinhourSupply": "Total Coinhour Supply", + "unconfirmedTransactions": "Unconfirmed Transactions", + "richList": "Rich List", + "time": "Time", + "blockNumber": "Block Number", + "blockNumberSmall": "Block #", + "transactions": "Transactions", + "blockhash": "Blockhash" + }, + "blockDetails": { + "title": "Block Details", + "next": "Next block", + "previous": "Previous block", + "height": "Height", + "timestamp": "Timestamp", + "size": "Size", + "hash": "Hash", + "parentHash": "Parent Hash", + "totalAmount": "Total Amount", + "withoutParent": "Without parent block", + "doesNotExist": "The block \"{{number}}\" does not exist" + }, + "addressDetail": { + "title": "Address", + "txsNumber": "# of Transactions", + "totalReceived": "Total Received", + "currentBalance": "Current Balance", + "tools": "Tools", + "unspentOutputs": "Unspent outputs", + "withoutTransactions": "Without transactions" + }, + "unspentOutputs": { + "title": "Unspent Outputs", + "address": "Address", + "outputsNumber": "# of outputs", + "total": "Total", + "origin": "Origin", + "date": "Date", + "withoutOutputs": "Without outputs" + }, + "transactionDetail": { + "title": "Transaction", + "status": "Status", + "timestamp": "Timestamp", + "size": "Size", + "block": "Block", + "confirmed": "Confirmed", + "unconfirmed": "Unconfirmed", + "canNotFind": "Unable to find the transaction" + }, + "unconfirmedTx": { + "title": "Unconfirmed Transactions", + "quantity": "Quantity", + "size": "Total Size", + "newest": "Newest", + "oldest": "Oldest", + "withoutTransactions": "Currently there are no unconfirmed transactions" + }, + "richlist": { + "title": "Rich List" + }, + "copy": { + "copied": "Copied" + }, + "searchBar": { + "hint": "Address, block hash or number, or transaction ID" + }, + "search": { + "title": "Search", + "unableToFind": "Unable to find \"{{ term }}\"" + } +} \ No newline at end of file diff --git a/dist/assets/i18n/es.json b/dist/assets/i18n/es.json new file mode 100644 index 00000000..37bc82ad --- /dev/null +++ b/dist/assets/i18n/es.json @@ -0,0 +1,94 @@ +{ + "general": { + "coinIdentifier": "SKY", + "address": "Dirección", + "coins": "Monedas", + "loadingMsg": "Cargando...", + "shortLoadingErrorMsg": "Error de carga", + "longLoadingErrorMsg": "Error al cargar los datos, inténtelo más tarde...", + "waitingData": "Esperando por los datos..." + }, + "txBoxes": { + "transactionID": "ID de la transacción", + "inputs": "Entradas", + "outputs": "Salidas", + "pending": "pendiente", + "date": "Fecha", + "finalBalance": "Saldo final de la dirección", + "firstSeen": "Primera vez visto" + }, + "blocks": { + "blocksTitle": "Bloques", + "statsTitle": "Estadísticas", + "blockHeight": "Altura", + "currentSupply": "Suministro Actual", + "totalSupply": "Suministro Total", + "currentCoinhourSupply": "Suministro Actual de Coinhours", + "totalCoinhourSupply": "Suministro Total de Coinhours", + "unconfirmedTransactions": "Transacciones Sin Confirmar", + "richList": "Top de direcciones", + "time": "Fecha", + "blockNumber": "Número de bloque", + "blockNumberSmall": "#", + "transactions": "Transacciones", + "blockhash": "Hash" + }, + "blockDetails": { + "title": "Detalles del bloque", + "next": "Bloque siguiente", + "previous": "Bloque anterior", + "height": "Número de Bloque", + "timestamp": "Fecha", + "size": "Tamaño", + "hash": "Hash", + "parentHash": "Hash Anterior", + "totalAmount": "Cantidad Total", + "withoutParent": "Sin bloque anterior", + "doesNotExist": "El bloque no existe" + }, + "addressDetail": { + "title": "Dirección", + "txsNumber": "# de Transacciones", + "totalReceived": "Total Recibido", + "currentBalance": "Saldo Actual", + "tools": "Herramientas", + "unspentOutputs": "Salidas no usadas", + "withoutTransactions": "Sin transacciones" + }, + "unspentOutputs": { + "title": "Salidas No Usadas", + "address": "Dirección", + "outputsNumber": "# de salidas", + "total": "Total", + "origin": "Origen", + "date": "Fecha", + "withoutOutputs": "Sin salidas no usadas" + }, + "transactionDetail": { + "title": "Transacción", + "status": "Estado", + "timestamp": "Fecha", + "size": "Tamaño", + "block": "Bloque", + "confirmed": "Confirmada", + "unconfirmed": "No confirmada", + "canNotFind": "No ha sido posible encontrar la transacción" + }, + "unconfirmedTx": { + "title": "Transacciones Sin Confirmar", + "quantity": "Cantidad", + "size": "Tamaño total", + "newest": "Más reciente", + "oldest": "Más antigua", + "withoutTransactions": "Actualmente no hay transacciones sin confirmar" + }, + "richlist": { + "title": "Top de direcciones" + }, + "copy": { + "copied": "Copiado" + }, + "searchBar": { + "hint": "Dirección, hash/número de bloque o ID de transacción" + } +} \ No newline at end of file diff --git a/dist/assets/img/logo.png b/dist/assets/img/logo.png index bb59c47b..c3d6b27a 100644 Binary files a/dist/assets/img/logo.png and b/dist/assets/img/logo.png differ diff --git a/dist/assets/img/old_logo.png b/dist/assets/img/old_logo.png new file mode 100644 index 00000000..f2566467 Binary files /dev/null and b/dist/assets/img/old_logo.png differ diff --git a/dist/assets/scss/_variables.scss b/dist/assets/scss/_variables.scss index c2789aa3..fe5c16dd 100644 --- a/dist/assets/scss/_variables.scss +++ b/dist/assets/scss/_variables.scss @@ -6,6 +6,7 @@ $warning: #ffad1a; $gray: #92A4BA; $text-heading: #394049; +$gray-text: #92A4BA; $transparent: 0.25; @@ -18,6 +19,14 @@ $col-soft-background: #FBFBFB; $col-hard-separator: #E2E2E2; $col-normal-separator: #EFF0F0; +$col-generic-header-background: #FFFFFF; +$col-generic-header-text: $primary; +$col-generic-header-border: #eceef0; +$col-generic-footer-background: #333333; +$col-generic-footer-text: #FFFFFF; +$col-generic-footer-top-border: #333333; +$col-generic-footer-middle-border: #111111; + $max-xxs-width: 479px; $max-xs-width: 767px; $max-sm-width: 991px; @@ -27,3 +36,4 @@ $siz-normal-margin: 15px; $siz-small-margin: 10px; $siz-normal-text: 14px; +$siz-small-text: 12px; \ No newline at end of file diff --git a/dist/fa-brands-400.8f8fac65806eec82b4e0.svg b/dist/fa-brands-400.e29e9563cff9c09a6ac5.svg similarity index 100% rename from dist/fa-brands-400.8f8fac65806eec82b4e0.svg rename to dist/fa-brands-400.e29e9563cff9c09a6ac5.svg diff --git a/dist/fa-regular-400.649582a6076b3294a23d.svg b/dist/fa-regular-400.576b41bc58d121b9d4e5.svg similarity index 100% rename from dist/fa-regular-400.649582a6076b3294a23d.svg rename to dist/fa-regular-400.576b41bc58d121b9d4e5.svg diff --git a/dist/fa-solid-900.0f8d20430f5091676681.svg b/dist/fa-solid-900.11c05d473f66db7ce479.svg similarity index 100% rename from dist/fa-solid-900.0f8d20430f5091676681.svg rename to dist/fa-solid-900.11c05d473f66db7ce479.svg diff --git a/dist/index.html b/dist/index.html index 45288063..eeb35fba 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1,15 @@ -Skycoin Explorer \ No newline at end of file + + + + + Skycoin Explorer + + + + + + + + + + diff --git a/dist/inline.318b50c57b4eba3d437b.bundle.js b/dist/inline.318b50c57b4eba3d437b.bundle.js deleted file mode 100644 index 1e8af07b..00000000 --- a/dist/inline.318b50c57b4eba3d437b.bundle.js +++ /dev/null @@ -1 +0,0 @@ -!function(r){var n=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===u&&1===t.length&&t[0]instanceof r.a?t[0]:Object(l.a)(e)(new i.a(t,u))};var r=e("YaPU"),i=e("Veqx"),o=e("1Q68"),l=e("8D5t")},0:function(t,n,e){t.exports=e("x35b")},"0P3J":function(t,n,e){"use strict";n.a=function(){return function(t){return t.lift(new o(t))}};var r=e("TToO"),i=e("OVmG"),o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,n){var e=this.connectable;e._refCount++;var r=new l(t,e),i=n.subscribe(r);return r.closed||(r.connection=e.connect()),i},t}(),l=function(t){function n(n,e){t.call(this,n),this.connectable=e}return Object(r.b)(n,t),n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._refCount;if(n<=0)this.connection=null;else if(t._refCount=n-1,n>1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(i.a)},"1Bqh":function(t,n,e){"use strict";e.d(n,"a",function(){return i});var r=e("TToO"),i=function(t){function n(n,e){t.call(this),this.subject=n,this.subscriber=e,this.closed=!1}return Object(r.b)(n,t),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,n=t.observers;if(this.subject=null,n&&0!==n.length&&!t.isStopped&&!t.closed){var e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}},n}(e("VwZZ").a)},"1Q68":function(t,n,e){"use strict";n.a=function(t){return t&&"function"==typeof t.schedule}},"3a3m":function(t,n,e){"use strict";n.a=function(){return function(t){return Object(i.a)()(Object(r.a)(l)(t))}};var r=e("Jwyl"),i=e("0P3J"),o=e("g5jc");function l(){return new o.b}},"8D5t":function(t,n,e){"use strict";n.a=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(i.a,null,t)};var r=e("Qnch"),i=e("lAP5")},AMGY:function(t,n,e){"use strict";(function(t){e.d(n,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||"undefined"!=typeof t&&t||i}).call(n,e("DuR2"))},BX3T:function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},DuR2:function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},EN1B:function(t,n){},GK6M:function(t,n,e){"use strict";n.a=function(t){return r=t,o};var r,i=e("fKB6");function o(){try{return r.apply(this,arguments)}catch(t){return i.a.e=t,i.a}}},Jnfr:function(t,n){function e(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id="Jnfr"},Jwyl:function(t,n,e){"use strict";n.a=function(t,n){return function(e){var o;if(o="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new i(o,n));var l=Object.create(e,r.a);return l.source=e,l.subjectFactory=o,l}};var r=e("NO/a"),i=function(){function t(t,n){this.subjectFactory=t,this.selector=n}return t.prototype.call=function(t,n){var e=this.selector,r=this.subjectFactory(),i=e(r).subscribe(t);return i.add(n.subscribe(r)),i},t}()},N4j0:function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length}},"NO/a":function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e("TToO"),i=e("g5jc"),o=e("YaPU"),l=e("VwZZ"),u=e("0P3J"),s=function(t){function n(n,e){t.call(this),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}return Object(r.b)(n,t),n.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new l.a).add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=l.a.EMPTY):this._connection=t),t},n.prototype.refCount=function(){return Object(u.a)()(this)},n}(o.a).prototype,a={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:s._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},c=function(t){function n(n,e){t.call(this,n),this.connectable=e}return Object(r.b)(n,t),n.prototype._error=function(n){this._unsubscribe(),t.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}},n}(i.c)},OVmG:function(t,n,e){"use strict";e.d(n,"a",function(){return s});var r=e("TToO"),i=e("/iUD"),o=e("VwZZ"),l=e("t7NR"),u=e("tLDX"),s=function(t){function n(e,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.a;break;case 1:if(!e){this.destination=l.a;break}if("object"==typeof e){e instanceof n?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new a(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new a(this,e,r,i)}}return Object(r.b)(n,t),n.prototype[u.a]=function(){return this},n.create=function(t,e,r){var i=new n(t,e,r);return i.syncErrorThrowable=!1,i},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var t=this._parent,n=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=n,this},n}(o.a),a=function(t){function n(n,e,r,o){var u;t.call(this),this._parentSubscriber=n;var s=this;Object(i.a)(e)?u=e:e&&(u=e.next,r=e.error,o=e.complete,e!==l.a&&(s=Object.create(e),Object(i.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=u,this._error=r,this._complete=o}return Object(r.b)(n,t),n.prototype.next=function(t){if(!this.isStopped&&this._next){var n=this._parentSubscriber;n.syncErrorThrowable?this.__tryOrSetError(n,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},n.prototype.error=function(t){if(!this.isStopped){var n=this._parentSubscriber;if(this._error)n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!n.syncErrorThrowable)throw this.unsubscribe(),t;n.syncErrorValue=t,n.syncErrorThrown=!0,this.unsubscribe()}}},n.prototype.complete=function(){var t=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var e=function(){return t._complete.call(t._context)};n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},n.prototype.__tryOrUnsub=function(t,n){try{t.call(this._context,n)}catch(t){throw this.unsubscribe(),t}},n.prototype.__tryOrSetError=function(t,n,e){try{n.call(this._context,e)}catch(n){return t.syncErrorValue=n,t.syncErrorThrown=!0,!0}return!1},n.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},n}(s)},PIsA:function(t,n,e){"use strict";var r=e("AMGY"),i=e("N4j0"),o=e("cQXm"),l=e("dgOU"),u=e("YaPU"),s=e("etqZ"),a=e("TToO"),c=function(t){function n(n,e,r){t.call(this),this.parent=n,this.outerValue=e,this.outerIndex=r,this.index=0}return Object(a.b)(n,t),n.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},n.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},n.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},n}(e("OVmG").a),h=e("+CnV");n.a=function(t,n,e,a){var p=new c(t,e,a);if(p.closed)return null;if(n instanceof u.a)return n._isScalar?(p.next(n.value),p.complete(),null):(p.syncErrorThrowable=!0,n.subscribe(p));if(Object(i.a)(n)){for(var f=0,d=n.length;f0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(o.a)},Rf9G:function(t,n,e){"use strict";n.a=function(){return Object(r.a)()(this)};var r=e("3a3m")},TILf:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var r=e("TToO"),i=function(t){function n(n,e){t.call(this),this.value=n,this.scheduler=e,this._isScalar=!0,e&&(this._isScalar=!1)}return Object(r.b)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){var n=t.value,e=t.subscriber;t.done?e.complete():(e.next(n),e.closed||(t.done=!0,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.value,r=this.scheduler;if(r)return r.schedule(n.dispatch,0,{done:!1,value:e,subscriber:t});t.next(e),t.closed||t.complete()},n}(e("YaPU").a)},TToO:function(t,n,e){"use strict";n.b=function(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)},e.d(n,"a",function(){return i});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])},i=Object.assign||function(t){for(var n,e=1,r=arguments.length;e1?new n(t,r):1===i?new o.a(t[0],r):new l.a(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;o
x
'),e.close(),n=e.documentElement.scrollHeight>e.body.scrollHeight,t.parentNode.removeChild(t)}return n}())return document.documentElement;var r=document.body;return(r=r&&!/body/i.test(r.tagName)?function(t){for(var n,e=r;e=e.nextSibling;)if(1==e.nodeType&&(n=e,window.HTMLBodyElement?n instanceof HTMLBodyElement:/body/i.test(n.tagName)))return e;return null}():r)&&function(n){var r=t(n),i=t(document.documentElement);return"visible"!=r.overflow&&"visible"!=i.overflow&&e(r)&&e(i)}(r)?null:r};Object.defineProperty?Object.defineProperty(document,"scrollingElement",{get:r}):document.__defineGetter__?document.__defineGetter__("scrollingElement",r):(document.scrollingElement=r(),document.attachEvent&&document.attachEvent("onpropertychange",function(){"activeElement"==window.event.propertyName&&(document.scrollingElement=r())}))}()},WT6e:function(t,n,e){"use strict";(function(t){e.d(n,"g",function(){return Xt}),e.d(n,"Q",function(){return Gt}),e.d(n,"T",function(){return Wt}),e.d(n,"P",function(){return Qt}),e.d(n,"w",function(){return Yt}),e.d(n,"c",function(){return ot}),e.d(n,"A",function(){return st}),e.d(n,"z",function(){return at}),e.d(n,"b",function(){return ct}),e.d(n,"d",function(){return rt}),e.d(n,"e",function(){return it}),e.d(n,"S",function(){return bn}),e.d(n,"K",function(){return Ft}),e.d(n,"V",function(){return Bt}),e.d(n,"s",function(){return qn}),e.d(n,"f",function(){return Wn}),e.d(n,"m",function(){return It}),e.d(n,"l",function(){return tt}),e.d(n,"E",function(){return Qn}),e.d(n,"F",function(){return Yn}),e.d(n,"a",function(){return p}),e.d(n,"N",function(){return f}),e.d(n,"L",function(){return d}),e.d(n,"R",function(){return P}),e.d(n,"p",function(){return N}),e.d(n,"o",function(){return a}),e.d(n,"n",function(){return g}),e.d(n,"y",function(){return m}),e.d(n,"G",function(){return _}),e.d(n,"x",function(){return Mt}),e.d(n,"B",function(){return rn}),e.d(n,"C",function(){return nn}),e.d(n,"D",function(){return en}),e.d(n,"i",function(){return ft}),e.d(n,"j",function(){return wt}),e.d(n,"k",function(){return on}),e.d(n,"t",function(){return Ot}),e.d(n,"v",function(){return St}),e.d(n,"u",function(){return ln}),e.d(n,"H",function(){return cn}),e.d(n,"I",function(){return sn}),e.d(n,"J",function(){return pn}),e.d(n,"M",function(){return fn}),e.d(n,"h",function(){return dn}),e.d(n,"q",function(){return Vn}),e.d(n,"r",function(){return Fn}),e.d(n,"O",function(){return Cn}),e.d(n,"U",function(){return zn}),e.d(n,"_7",function(){return On}),e.d(n,"X",function(){return ht}),e.d(n,"W",function(){return xt}),e.d(n,"_4",function(){return x}),e.d(n,"_10",function(){return k}),e.d(n,"_22",function(){return T}),e.d(n,"_8",function(){return et}),e.d(n,"_9",function(){return nt}),e.d(n,"Y",function(){return ze}),e.d(n,"Z",function(){return ur}),e.d(n,"_0",function(){return ho}),e.d(n,"_1",function(){return fe}),e.d(n,"_2",function(){return Ir}),e.d(n,"_3",function(){return qe}),e.d(n,"_6",function(){return Be}),e.d(n,"_11",function(){return $e}),e.d(n,"_12",function(){return Je}),e.d(n,"_14",function(){return vr}),e.d(n,"_16",function(){return Mr}),e.d(n,"_19",function(){return jr}),e.d(n,"_17",function(){return ti}),e.d(n,"_18",function(){return Xr}),e.d(n,"_21",function(){return Wr}),e.d(n,"_23",function(){return ei}),e.d(n,"_24",function(){return ce}),e.d(n,"_25",function(){return oi}),e.d(n,"_13",function(){return Hn}),e.d(n,"_15",function(){return Kn}),e.d(n,"_20",function(){return Gn}),e.d(n,"_5",function(){return lt});var r=e("TToO"),i=e("YaPU"),o=e("/nXB"),l=e("Rf9G"),u=e("g5jc"),s=e("VwZZ"),a=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),c="__paramaters__";function h(t,n,e){var r=function(t){return function(){for(var n=[],e=0;e ");else if("object"==typeof n){var i=[];for(var o in n)if(n.hasOwnProperty(o)){var l=n[o];i.push(o+":"+("string"==typeof l?JSON.stringify(l):T(l)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(e?"("+e+")":"")+"["+r+"]: "+t.replace(z,"\n ")}function W(t,n){return new Error(G(t,n))}var Y="ngDebugContext",Q="ngOriginalError",Z="ngErrorLogger";function J(t){return t[Y]}function $(t){return t[Q]}function X(t){for(var n=[],e=1;e0)t._bootstrapComponents.forEach(function(t){return n.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+T(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(n)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function $t(t,n){return Array.isArray(n)?n.reduce($t,t):Object(r.a)({},t,n)}var Xt=function(){function t(t,n,e,r,u,s){var a=this;this._zone=t,this._console=n,this._injector=e,this._exceptionHandler=r,this._componentFactoryResolver=u,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Wt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var c=new i.a(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),h=new i.a(function(t){var n;a._zone.runOutsideAngular(function(){n=a._zone.onStable.subscribe(function(){Mt.assertNotInAngularZone(),E(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var e=a._zone.onUnstable.subscribe(function(){Mt.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){n.unsubscribe(),e.unsubscribe()}});this.isStable=Object(o.a)(c,l.a.call(h))}return t.prototype.bootstrap=function(t,n){var e,r=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.");e=t instanceof yt?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(e.componentType);var i=e instanceof Ct?null:this._injector.get(St),o=e.create(N.NULL,[],n||e.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var l=o.injector.get(Ft,null);return l&&o.injector.get(Lt).registerApplication(o.location.nativeElement,l),this._loadComponent(o),Wt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Pt(e)}},t.prototype.attachView=function(t){var n=t;this._views.push(n),n.attachToAppRef(this)},t.prototype.detachView=function(t){var n=t;tn(this._views,n),n.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ct,[]).concat(this._bootstrapListeners).forEach(function(n){return n(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),tn(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Tt("ApplicationRef#tick()"),t}();function tn(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var nn=function(){},en=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),rn=function(){},on=function(t){this.nativeElement=t},ln=function(){},un=function(){function t(){this.dirty=!0,this._results=[],this.changes=new It,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,n){return this._results.reduce(t,n)},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[O()]=function(){return this._results[O()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(n){return n.reduce(function(n,e){var r=Array.isArray(e)?t(e):e;return n.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),sn=function(){},an={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},cn=function(){function t(t,n){this._compiler=t,this._config=n||an}return t.prototype.load=function(t){return this._compiler instanceof ft?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var n=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),e("Jnfr")(i).then(function(t){return t[o]}).then(function(t){return hn(t,i,o)}).then(function(t){return n._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var n=t.split("#"),r=n[0],i=n[1],o="NgFactory";return void 0===i&&(i="default",o=""),e("Jnfr")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return hn(t,r,i)})},t}();function hn(t,n,e){if(!t)throw new Error("Cannot find '"+e+"' in '"+n+"'");return t}var pn=function(){},fn=function(){},dn=function(){},yn=function(){function t(t,n,e){this._debugContext=e,this.nativeNode=t,n&&n instanceof gn?n.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),gn=function(t){function n(n,e,r){var i=t.call(this,n,e,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=n,i}return Object(r.b)(n,t),n.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},n.prototype.removeChild=function(t){var n=this.childNodes.indexOf(t);-1!==n&&(t.parent=null,this.childNodes.splice(n,1))},n.prototype.insertChildrenAfter=function(t,n){var e,r=this,i=this.childNodes.indexOf(t);-1!==i&&((e=this.childNodes).splice.apply(e,[i+1,0].concat(n)),n.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},n.prototype.insertBefore=function(t,n){var e=this.childNodes.indexOf(t);-1===e?this.addChild(n):(n.parent&&n.parent.removeChild(n),n.parent=this,this.childNodes.splice(e,0,n))},n.prototype.query=function(t){return this.queryAll(t)[0]||null},n.prototype.queryAll=function(t){var n=[];return mn(this,t,n),n},n.prototype.queryAllNodes=function(t){var n=[];return vn(this,t,n),n},Object.defineProperty(n.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof n})},enumerable:!0,configurable:!0}),n.prototype.triggerEventHandler=function(t,n){this.listeners.forEach(function(e){e.name==t&&e.callback(n)})},n}(yn);function mn(t,n,e){t.childNodes.forEach(function(t){t instanceof gn&&(n(t)&&e.push(t),mn(t,n,e))})}function vn(t,n,e){t instanceof gn&&t.childNodes.forEach(function(t){n(t)&&e.push(t),t instanceof gn&&vn(t,n,e)})}var _n=new Map;function bn(t){return _n.get(t)||null}function wn(t){_n.set(t.nativeNode,t)}function xn(t,n){var e=On(t),r=On(n);return e&&r?function(t,n,e){for(var r=t[O()](),i=n[O()]();;){var o=r.next(),l=i.next();if(o.done&&l.done)return!0;if(o.done||l.done)return!1;if(!e(o.value,l.value))return!1}}(t,n,xn):!(e||!t||"object"!=typeof t&&"function"!=typeof t||r||!n||"object"!=typeof n&&"function"!=typeof n)||k(t,n)}var Cn=function(){function t(t){this.wrapped=t}return t.wrap=function(n){return new t(n)},t.unwrap=function(n){return t.isWrapped(n)?n.wrapped:n},t.isWrapped=function(n){return n instanceof t},t}(),Sn=function(){function t(t,n,e){this.previousValue=t,this.currentValue=n,this.firstChange=e}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function On(t){return!!En(t)&&(Array.isArray(t)||!(t instanceof Map)&&O()in t)}function En(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var kn=function(){function t(){}return t.prototype.supports=function(t){return On(t)},t.prototype.create=function(t){return new Pn(t)},t}(),Tn=function(t,n){return n},Pn=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Tn}return t.prototype.forEachItem=function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)},t.prototype.forEachOperation=function(t){for(var n=this._itHead,e=this._removalsHead,r=0,i=null;n||e;){var o=!e||n&&n.currentIndex=e.length)&&(n=e.length-1),n<0)return null;var r=e[n];return r.viewContainerParent=null,or(e,n),re.dirtyParentQueries(r),rr(r),r}function er(t,n,e){var r=n?Ce(n,n.def.lastRenderRootNode):t.renderElement;je(e,2,e.renderer.parentNode(r),e.renderer.nextSibling(r),void 0)}function rr(t){je(t,3,null,null,void 0)}function ir(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function or(t,n){n>=t.length-1?t.pop():t.splice(n,1)}var lr=new Object;function ur(t,n,e,r,i,o){return new sr(t,n,e,r,i,o)}var sr=function(t){function n(n,e,r,i,o,l){var u=t.call(this)||this;return u.selector=n,u.componentType=e,u._inputs=i,u._outputs=o,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(r.b)(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=[],n=this._inputs;for(var e in n)t.push({propName:e,templateName:n[e]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){var t=[];for(var n in this._outputs)t.push({propName:n,templateName:this._outputs[n]});return t},enumerable:!0,configurable:!0}),n.prototype.create=function(t,n,e,r){if(!r)throw new Error("ngModule should be provided");var i=Me(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,l=re.createRootView(t,n||[],e,i,r,lr),u=te(l,o).instance;return e&&l.renderer.setAttribute(Xn(l,0).renderElement,"ng-version",y.full),new ar(l,new fr(l),u)},n}(yt),ar=function(t){function n(n,e,r){var i=t.call(this)||this;return i._view=n,i._viewRef=e,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=e,i.changeDetectorRef=e,i.instance=r,i}return Object(r.b)(n,t),Object.defineProperty(n.prototype,"location",{get:function(){return new on(Xn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new mr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this._viewRef.destroy()},n.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},n}(function(){});function cr(t,n,e){return new hr(t,n,e)}var hr=function(){function t(t,n,e){this._view=t,this._elDef=n,this._data=e,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new on(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new mr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,n=this._elDef.parent;!n&&t;)n=xe(t),t=t.parent;return t?new mr(t,n):new mr(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var n=nr(this._data,t);re.destroyView(n)}},t.prototype.get=function(t){var n=this._embeddedViews[t];if(n){var e=new fr(n);return e.attachToViewContainerRef(this),e}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,n,e){var r=t.createEmbeddedView(n||{});return this.insert(r,e),r},t.prototype.createComponent=function(t,n,e,r,i){var o=e||this.parentInjector;i||t instanceof Ct||(i=o.get(St));var l=t.create(o,r,void 0,i);return this.insert(l.hostView,n),l},t.prototype.insert=function(t,n){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var e,r,i,o,l=t;return i=l._view,o=(e=this._data).viewContainer._embeddedViews,null!==(r=n)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,ir(o,r,i),function(t,n){var e=we(n);if(e&&e!==t&&!(16&n.state)){n.state|=16;var r=e.template._projectedViews;r||(r=e.template._projectedViews=[]),r.push(n),function(t,e){if(!(4&e.flags)){n.parent.def.nodeFlags|=4,e.flags|=4;for(var r=e.parent;r;)r.childFlags|=4,r=r.parent}}(0,n.parentNodeDef)}}(e,i),re.dirtyParentQueries(i),er(e,r>0?o[r-1]:null,i),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,n){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var e,r,i,o,l,u=this._embeddedViews.indexOf(t._view);return i=n,l=(o=(e=this._data).viewContainer._embeddedViews)[r=u],or(o,r),null==i&&(i=o.length),ir(o,i,l),re.dirtyParentQueries(l),rr(l),er(e,i>0?o[i-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var n=nr(this._data,t);n&&re.destroyView(n)},t.prototype.detach=function(t){var n=nr(this._data,t);return n?new fr(n):null},t}();function pr(t){return new fr(t)}var fr=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return je(this._view,0,void 0,void 0,t=[]),t;var t},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 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ve(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{re.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){re.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),re.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,rr(this._view),re.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function dr(t,n){return new yr(t,n)}var yr=function(t){function n(n,e){var r=t.call(this)||this;return r._parentView=n,r._def=e,r}return Object(r.b)(n,t),n.prototype.createEmbeddedView=function(t){return new fr(re.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(n.prototype,"elementRef",{get:function(){return new on(Xn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),n}(pn);function gr(t,n){return new mr(t,n)}var mr=function(){function t(t,n){this.view=t,this.elDef=n}return t.prototype.get=function(t,n){return void 0===n&&(n=N.THROW_IF_NOT_FOUND),re.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ae(t)},n)},t}();function vr(t,n){var e=t.def.nodes[n];if(1&e.flags){var r=Xn(t,e.nodeIndex);return e.element.template?r.template:r.renderElement}if(2&e.flags)return $n(t,e.nodeIndex).renderText;if(20240&e.flags)return te(t,e.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+n)}function _r(t){return new br(t.renderer)}var br=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,n){var e=Fe(n),r=this.delegate.createElement(e[1],e[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var n=this.delegate.createComment("");return t&&this.delegate.appendChild(t,n),n},t.prototype.createText=function(t,n){var e=this.delegate.createText(n);return t&&this.delegate.appendChild(t,e),e},t.prototype.projectNodes=function(t,n){for(var e=0;e0,n.provider.value,n.provider.deps);if(n.outputs.length)for(var r=0;r0,r=n.provider;switch(201347067&n.flags){case 512:return Lr(t,n.parent,e,r.value,r.deps);case 1024:return function(t,n,e,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Ur(t,n,e,i[0]));case 2:return r(Ur(t,n,e,i[0]),Ur(t,n,e,i[1]));case 3:return r(Ur(t,n,e,i[0]),Ur(t,n,e,i[1]),Ur(t,n,e,i[2]));default:for(var l=Array(o),u=0;u0)a=y,li(y)||(c=y);else for(;a&&d===a.nodeIndex+a.childCount;){var v=a.parent;v&&(v.childFlags|=a.childFlags,v.childMatchedQueries|=a.childMatchedQueries),c=(a=v)&&li(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:n,updateDirectives:e||ue,updateRenderer:r||ue,handleEvent:function(t,e,r,i){return n[e].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function li(t){return 0!=(1&t.flags)&&null===t.element.name}function ui(t,n,e){var r=n.element&&n.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+n.nodeIndex+"!")}if(20224&n.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+n.nodeIndex+"!");if(n.query){if(67108864&n.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+n.nodeIndex+"!");if(134217728&n.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+n.nodeIndex+"!")}if(n.childCount){var i=t?t.nodeIndex+t.childCount:e-1;if(n.nodeIndex<=i&&n.nodeIndex+n.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+n.nodeIndex+"!")}}function si(t,n,e,r){var i=hi(t.root,t.renderer,t,n,e);return pi(i,t.component,r),fi(i),i}function ai(t,n,e){var r=hi(t,t.renderer,null,null,n);return pi(r,e,e),fi(r),r}function ci(t,n,e,r){var i,o=n.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,hi(t.root,i,t,n.element.componentProvider,e)}function hi(t,n,e,r,i){var o=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:e,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:n,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function pi(t,n,e){t.component=n,t.context=e}function fi(t){var n;Se(t)&&(n=Xn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var e=t.def,r=t.nodes,i=0;i0&&We(t,n,0,e)&&(f=!0),p>1&&We(t,n,1,r)&&(f=!0),p>2&&We(t,n,2,i)&&(f=!0),p>3&&We(t,n,3,o)&&(f=!0),p>4&&We(t,n,4,l)&&(f=!0),p>5&&We(t,n,5,u)&&(f=!0),p>6&&We(t,n,6,s)&&(f=!0),p>7&&We(t,n,7,a)&&(f=!0),p>8&&We(t,n,8,c)&&(f=!0),p>9&&We(t,n,9,h)&&(f=!0),f}(t,n,e,r,i,o,l,u,s,a,c,h);case 2:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=!1,f=n.bindings,d=f.length;if(d>0&&ge(t,n,0,e)&&(p=!0),d>1&&ge(t,n,1,r)&&(p=!0),d>2&&ge(t,n,2,i)&&(p=!0),d>3&&ge(t,n,3,o)&&(p=!0),d>4&&ge(t,n,4,l)&&(p=!0),d>5&&ge(t,n,5,u)&&(p=!0),d>6&&ge(t,n,6,s)&&(p=!0),d>7&&ge(t,n,7,a)&&(p=!0),d>8&&ge(t,n,8,c)&&(p=!0),d>9&&ge(t,n,9,h)&&(p=!0),p){var y=n.text.prefix;d>0&&(y+=ii(e,f[0])),d>1&&(y+=ii(r,f[1])),d>2&&(y+=ii(i,f[2])),d>3&&(y+=ii(o,f[3])),d>4&&(y+=ii(l,f[4])),d>5&&(y+=ii(u,f[5])),d>6&&(y+=ii(s,f[6])),d>7&&(y+=ii(a,f[7])),d>8&&(y+=ii(c,f[8])),d>9&&(y+=ii(h,f[9]));var g=$n(t,n.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}(t,n,e,r,i,o,l,u,s,a,c,h);case 16384:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=te(t,n.nodeIndex),f=p.instance,d=!1,y=void 0,g=n.bindings.length;return g>0&&ye(t,n,0,e)&&(d=!0,y=qr(t,p,n,0,e,y)),g>1&&ye(t,n,1,r)&&(d=!0,y=qr(t,p,n,1,r,y)),g>2&&ye(t,n,2,i)&&(d=!0,y=qr(t,p,n,2,i,y)),g>3&&ye(t,n,3,o)&&(d=!0,y=qr(t,p,n,3,o,y)),g>4&&ye(t,n,4,l)&&(d=!0,y=qr(t,p,n,4,l,y)),g>5&&ye(t,n,5,u)&&(d=!0,y=qr(t,p,n,5,u,y)),g>6&&ye(t,n,6,s)&&(d=!0,y=qr(t,p,n,6,s,y)),g>7&&ye(t,n,7,a)&&(d=!0,y=qr(t,p,n,7,a,y)),g>8&&ye(t,n,8,c)&&(d=!0,y=qr(t,p,n,8,c,y)),g>9&&ye(t,n,9,h)&&(d=!0,y=qr(t,p,n,9,h,y)),y&&f.ngOnChanges(y),65536&n.flags&&Jn(t,256,n.nodeIndex)&&f.ngOnInit(),262144&n.flags&&f.ngDoCheck(),d}(t,n,e,r,i,o,l,u,s,a,c,h);case 32:case 64:case 128:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=n.bindings,f=!1,d=p.length;if(d>0&&ge(t,n,0,e)&&(f=!0),d>1&&ge(t,n,1,r)&&(f=!0),d>2&&ge(t,n,2,i)&&(f=!0),d>3&&ge(t,n,3,o)&&(f=!0),d>4&&ge(t,n,4,l)&&(f=!0),d>5&&ge(t,n,5,u)&&(f=!0),d>6&&ge(t,n,6,s)&&(f=!0),d>7&&ge(t,n,7,a)&&(f=!0),d>8&&ge(t,n,8,c)&&(f=!0),d>9&&ge(t,n,9,h)&&(f=!0),f){var y=ne(t,n.nodeIndex),g=void 0;switch(201347067&n.flags){case 32:g=new Array(p.length),d>0&&(g[0]=e),d>1&&(g[1]=r),d>2&&(g[2]=i),d>3&&(g[3]=o),d>4&&(g[4]=l),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=a),d>8&&(g[8]=c),d>9&&(g[9]=h);break;case 64:g={},d>0&&(g[p[0].name]=e),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=i),d>3&&(g[p[3].name]=o),d>4&&(g[p[4].name]=l),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=a),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=h);break;case 128:var m=e;switch(d){case 1:g=m.transform(e);break;case 2:g=m.transform(r);break;case 3:g=m.transform(r,i);break;case 4:g=m.transform(r,i,o);break;case 5:g=m.transform(r,i,o,l);break;case 6:g=m.transform(r,i,o,l,u);break;case 7:g=m.transform(r,i,o,l,u,s);break;case 8:g=m.transform(r,i,o,l,u,s,a);break;case 9:g=m.transform(r,i,o,l,u,s,a,c);break;case 10:g=m.transform(r,i,o,l,u,s,a,c,h)}}y.value=g}return f}(t,n,e,r,i,o,l,u,s,a,c,h);default:throw"unreachable"}}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){switch(201347067&n.flags){case 1:return function(t,n,e){for(var r=!1,i=0;i0&&me(t,n,0,e),p>1&&me(t,n,1,r),p>2&&me(t,n,2,i),p>3&&me(t,n,3,o),p>4&&me(t,n,4,l),p>5&&me(t,n,5,u),p>6&&me(t,n,6,s),p>7&&me(t,n,7,a),p>8&&me(t,n,8,c),p>9&&me(t,n,9,h)}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){for(var r=0;r0?n.substring(1):n},n.prototype.prepareExternalUrl=function(t){var n=c.joinWithSlash(this._baseHref,t);return n.length>0?"#"+n:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+c.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+c.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(s),f=function(t){function n(n,e){var r=t.call(this)||this;if(r._platformLocation=n,null==e&&(e=r._platformLocation.getBaseHrefFromDOM()),null==e)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.");return r._baseHref=e,r}return Object(o.b)(n,t),n.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(t){return c.joinWithSlash(this._baseHref,t)},n.prototype.path=function(t){void 0===t&&(t=!1);var n=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),e=this._platformLocation.hash;return e&&t?""+n+e:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+c.normalizeQueryParams(r));this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+c.normalizeQueryParams(r));this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(s),d=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===e?1:5}],y={},g=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),m=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),v=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),_=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),b=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),w=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function x(t,n){return k(P(t)[10],n)}function C(t,n){return k(P(t)[11],n)}function S(t,n){return k(P(t)[12],n)}function O(t,n){var e=P(t),r=e[13][n];if("undefined"==typeof r){if(n===w.CurrencyDecimal)return e[13][w.Decimal];if(n===w.CurrencyGroup)return e[13][w.Group]}return r}function E(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function k(t,n){for(var e=n;e>-1;e--)if("undefined"!=typeof t[e])return t[e];throw new Error("Locale data API: locale data undefined")}function T(t){var n=t.split(":");return{hours:+n[0],minutes:+n[1]}}function P(t){var n=t.toLowerCase().replace(/_/g,"-"),e=y[n];if(e)return e;var r=n.split("-")[0];if(e=y[r])return e;if("en"===r)return d;throw new Error('Missing locale data for the locale "'+t+'".')}var I=new i.o("UseV4Plurals"),M=function(){},j=function(t){function n(n,e){var r=t.call(this)||this;return r.locale=n,r.deprecatedPluralFn=e,r}return Object(o.b)(n,t),n.prototype.getPluralCategory=function(t,n){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(n||this.locale,t):function(t){return P(t)[17]}(n||this.locale)(t)){case m.Zero:return"zero";case m.One:return"one";case m.Two:return"two";case m.Few:return"few";case m.Many:return"many";default:return"other"}},n}(M),A=function(){function t(t,n,e,r){this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=e,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i._7)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var n=this;t.forEachAddedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&n._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var n=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i._22)(t.item));n._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return n._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var n=this;this._initialClasses.forEach(function(e){return n._toggleClass(e,!t)})},t.prototype._applyClasses=function(t,n){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!n)}):Object.keys(t).forEach(function(r){null!=t[r]&&e._toggleClass(r,!n)}))},t.prototype._toggleClass=function(t,n){var e=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n?e._renderer.addClass(e._ngEl.nativeElement,t):e._renderer.removeClass(e._ngEl.nativeElement,t)})},t}(),N=function(){function t(t,n,e,r){this.$implicit=t,this.ngForOf=n,this.index=e,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),R=function(){function t(t,n,e){this._viewContainer=t,this._template=n,this._differs=e,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(i.T)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var n=t.ngForOf.currentValue;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var n=this,e=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=n._viewContainer.createEmbeddedView(n._template,new N(null,n.ngForOf,-1,-1),i),l=new D(t,o);e.push(l)}else null==i?n._viewContainer.remove(r):(o=n._viewContainer.get(r),n._viewContainer.move(o,i),l=new D(t,o),e.push(l))});for(var r=0;r0||u>-e)&&(u+=e),t===z.Hours&&0===u&&-12===e&&(u=12),K(u,n,O(l,w.MinusSign),r,i)}}function W(t,n,e,r){return void 0===e&&(e=v.Format),void 0===r&&(r=!1),function(i,o){return function(t,n,e,r,i,o){switch(e){case q.Months:return function(t,n,e){var r=P(t);return k(k([r[5],r[6]],n),e)}(n,i,r)[t.getMonth()];case q.Days:return function(t,n,e){var r=P(t);return k(k([r[3],r[4]],n),e)}(n,i,r)[t.getDay()];case q.DayPeriods:var l=t.getHours(),u=t.getMinutes();if(o){var s,a=function(t){var n=P(t);return E(n),(n[18][2]||[]).map(function(t){return"string"==typeof t?T(t):[T(t[0]),T(t[1])]})}(n),c=function(t,n,e){var r=P(t);return E(r),k(k([r[18][0],r[18][1]],n)||[],e)||[]}(n,i,r);if(a.forEach(function(t,n){if(Array.isArray(t)){var e=t[0],r=t[1],i=r.hours;l>=e.hours&&u>=e.minutes&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case U.Short:return(i>=0?"+":"")+K(l,2,o)+K(Math.abs(i%60),2,o);case U.ShortGMT:return"GMT"+(i>=0?"+":"")+K(l,1,o);case U.Long:return"GMT"+(i>=0?"+":"")+K(l,2,o)+":"+K(Math.abs(i%60),2,o);case U.Extended:return 0===r?"Z":(i>=0?"+":"")+K(l,2,o)+":"+K(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var Q=0,Z=4;function J(t,n){return void 0===n&&(n=!1),function(e,r){var i,o,l,u;if(n){var s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();i=1+Math.floor((a+s)/7)}else{var c=(l=e.getFullYear(),u=new Date(l,Q,1).getDay(),new Date(l,0,1+(u<=Z?Z:Z+7)-u)),h=(o=e,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(Z-o.getDay()))).getTime()-c.getTime();i=1+Math.round(h/6048e5)}return K(i,t,O(r,w.MinusSign))}}var $={};function X(t,n){t=t.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function tt(t,n){return Error("InvalidPipeArgument: '"+n+"' for pipe '"+Object(i._22)(t)+"'")}var nt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,et=function(){function t(t){this.locale=t}return t.prototype.transform=function(n,e,r,i){if(void 0===e&&(e="mediumDate"),null==n||""===n||n!=n)return null;var o,l;if("string"==typeof n&&(n=n.trim()),rt(n))o=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var u=n.split("-").map(function(t){return+t});o=new Date(u[0],u[1]-1,u[2])}else o="string"==typeof n&&(l=n.match(nt))?function(t){var n=new Date(0),e=0,r=0,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?n.setUTCFullYear:n.setFullYear).call(n,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-e,l=+(t[5]||"0")-r,u=+(t[6]||"0"),s=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(n,o,l,u,s),n}(l):new Date(n);else o=new Date(parseFloat(n));if(!rt(o))throw tt(t,n);return function(t,n,e,r){n=function t(n,e){var r=function(t){return P(t)[0]}(n);if(L[r]=L[r]||{},L[r][e])return L[r][e];var i="";switch(e){case"shortDate":i=x(n,b.Short);break;case"mediumDate":i=x(n,b.Medium);break;case"longDate":i=x(n,b.Long);break;case"fullDate":i=x(n,b.Full);break;case"shortTime":i=C(n,b.Short);break;case"mediumTime":i=C(n,b.Medium);break;case"longTime":i=C(n,b.Long);break;case"fullTime":i=C(n,b.Full);break;case"short":var o=t(n,"shortTime"),l=t(n,"shortDate");i=H(S(n,b.Short),[o,l]);break;case"medium":var u=t(n,"mediumTime"),s=t(n,"mediumDate");i=H(S(n,b.Medium),[u,s]);break;case"long":var a=t(n,"longTime"),c=t(n,"longDate");i=H(S(n,b.Long),[a,c]);break;case"full":var h=t(n,"fullTime"),p=t(n,"fullDate");i=H(S(n,b.Full),[h,p])}return i&&(L[r][e]=i),i}(e,n)||n;for(var i,o=[];n;){if(!(i=B.exec(n))){o.push(n);break}var l=(o=o.concat(i.slice(1))).pop();if(!l)break;n=l}var u=t.getTimezoneOffset();r&&(u=X(r,u),t=function(t,n,e){var r=t.getTimezoneOffset();return function(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,-1*(X(n,r)-r))}(t,r));var s="";return o.forEach(function(n){var r=function(t){if($[t])return $[t];var n;switch(t){case"G":case"GG":case"GGG":n=W(q.Eras,_.Abbreviated);break;case"GGGG":n=W(q.Eras,_.Wide);break;case"GGGGG":n=W(q.Eras,_.Narrow);break;case"y":n=G(z.FullYear,1,0,!1,!0);break;case"yy":n=G(z.FullYear,2,0,!0,!0);break;case"yyy":n=G(z.FullYear,3,0,!1,!0);break;case"yyyy":n=G(z.FullYear,4,0,!1,!0);break;case"M":case"L":n=G(z.Month,1,1);break;case"MM":case"LL":n=G(z.Month,2,1);break;case"MMM":n=W(q.Months,_.Abbreviated);break;case"MMMM":n=W(q.Months,_.Wide);break;case"MMMMM":n=W(q.Months,_.Narrow);break;case"LLL":n=W(q.Months,_.Abbreviated,v.Standalone);break;case"LLLL":n=W(q.Months,_.Wide,v.Standalone);break;case"LLLLL":n=W(q.Months,_.Narrow,v.Standalone);break;case"w":n=J(1);break;case"ww":n=J(2);break;case"W":n=J(1,!0);break;case"d":n=G(z.Date,1);break;case"dd":n=G(z.Date,2);break;case"E":case"EE":case"EEE":n=W(q.Days,_.Abbreviated);break;case"EEEE":n=W(q.Days,_.Wide);break;case"EEEEE":n=W(q.Days,_.Narrow);break;case"EEEEEE":n=W(q.Days,_.Short);break;case"a":case"aa":case"aaa":n=W(q.DayPeriods,_.Abbreviated);break;case"aaaa":n=W(q.DayPeriods,_.Wide);break;case"aaaaa":n=W(q.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":n=W(q.DayPeriods,_.Abbreviated,v.Standalone,!0);break;case"bbbb":n=W(q.DayPeriods,_.Wide,v.Standalone,!0);break;case"bbbbb":n=W(q.DayPeriods,_.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":n=W(q.DayPeriods,_.Abbreviated,v.Format,!0);break;case"BBBB":n=W(q.DayPeriods,_.Wide,v.Format,!0);break;case"BBBBB":n=W(q.DayPeriods,_.Narrow,v.Format,!0);break;case"h":n=G(z.Hours,1,-12);break;case"hh":n=G(z.Hours,2,-12);break;case"H":n=G(z.Hours,1);break;case"HH":n=G(z.Hours,2);break;case"m":n=G(z.Minutes,1);break;case"mm":n=G(z.Minutes,2);break;case"s":n=G(z.Seconds,1);break;case"ss":n=G(z.Seconds,2);break;case"S":n=G(z.Milliseconds,1);break;case"SS":n=G(z.Milliseconds,2);break;case"SSS":n=G(z.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Y(U.Short);break;case"ZZZZZ":n=Y(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Y(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Y(U.Long);break;default:return null}return $[t]=n,n}(n);s+=r?r(t,e,u):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}(o,e,i||this.locale,r)},t}();function rt(t){return t instanceof Date&&!isNaN(t.valueOf())}var it=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ot(t){var n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}var lt=function(){function t(t){this._locale=t}return t.prototype.transform=function(n,e,r){if(function(t){return null==t||""===t||t!=t}(n))return null;var i=function(t,n,e,r,i){void 0===i&&(i=null);var o,l={str:null},u=function(t,n){return P(t)[14][n]}(n,e);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return l.error=t+" is not a number",l;o=t}else o=+t;var s=function(t,n){void 0===n&&(n="-");var e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],o=r[1],l=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],u=l[0],s=l[1]||"";e.posPre=u.substr(0,u.indexOf("#"));for(var a=0;a-1&&(l=l.replace(".","")),(r=l.search(/e/i))>0?(e<0&&(e=r),e+=+l.slice(r+1),l=l.substring(0,r)):e<0&&(e=l.length),r=0;"0"===l.charAt(r);r++);if(r===(o=l.length))n=[0],e=1;else{for(o--;"0"===l.charAt(o);)o--;for(e-=r,n=[],i=0;r<=o;r++,i++)n[i]=+l.charAt(r)}return e>22&&(n=n.splice(0,21),u=e-1,e=1),{digits:n,exponent:u,integerLen:e}}(o);e===g.Percent&&(h=function(t){if(0===t.digits[0])return t;var n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(h));var p=s.minInt,f=s.minFrac,d=s.maxFrac;if(r){var y=r.match(it);if(null===y)return l.error=r+" is not a valid digit info",l;var m=y[1],v=y[3],_=y[5];null!=m&&(p=ot(m)),null!=v&&(f=ot(v)),null!=_?d=ot(_):null!=v&&f>d&&(d=f)}!function(t,n,e){if(n>e)throw new Error("The minimum number of digits after fraction ("+n+") is higher than the maximum ("+e+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),l=o+t.integerLen,u=r[l];if(l>0){r.splice(Math.max(t.integerLen,l));for(var s=l;s=5)if(l-1<0){for(var c=0;c>l;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[l-1]++;for(;i=p?r.pop():h=!1),n>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}(h,f,d);var b=h.digits,x=h.integerLen,C=h.exponent,S=[];for(c=b.every(function(t){return!t});x0?S=b.splice(x,b.length):(S=b,b=[0]);var E=[];for(b.length>=s.lgSize&&E.unshift(b.splice(-s.lgSize,b.length).join(""));b.length>s.gSize;)E.unshift(b.splice(-s.gSize,b.length).join(""));b.length&&E.unshift(b.join("")),a=E.join(O(n,i?w.CurrencyGroup:w.Group)),S.length&&(a+=O(n,i?w.CurrencyDecimal:w.Decimal)+S.join("")),C&&(a+=O(n,w.Exponential)+"+"+C)}else a=O(n,w.Infinity);return a=o<0&&!c?s.negPre+a+s.negSuf:s.posPre+a+s.posSuf,e===g.Currency&&null!==i?(l.str=a.replace("\xa4",i).replace("\xa4",""),l):e===g.Percent?(l.str=a.replace(new RegExp("%","g"),O(n,w.PercentSign)),l):(l.str=a,l)}(n,r=r||this._locale,g.Decimal,e),o=i.str,l=i.error;if(l)throw tt(t,l);return o},t}(),ut=function(){},st=new i.o("DocumentToken"),at=e("g5jc"),ct=e("x6VL"),ht=function(t){function n(n){t.call(this),this._value=n}return Object(o.b)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),n.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return e&&!e.closed&&n.next(this._value),e},n.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ct.a;return this._value},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(at.b),pt=e("Veqx"),ft=pt.a.of,dt=e("Qnch");function yt(t,n){return Object(dt.a)(t,n,1)}function gt(t,n){return yt(t,n)(this)}var mt=e("OVmG");function vt(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new _t(t,n))}}var _t=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new bt(t,this.project,this.thisArg))},t}(),bt=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.count=0,this.thisArg=r||this}return Object(o.b)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(mt.a);function wt(t,n){return vt(t,n)(this)}function xt(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(dt.a)(t,n,e)(this)}var Ct=e("YaPU"),St=e("BX3T"),Ot=e("N4j0"),Et=e("cQXm"),kt=e("AMGY"),Tt=function(t){function n(n,e){t.call(this),this.promise=n,this.scheduler=e}return Object(o.b)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n=this,e=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):e.then(function(e){n.value=e,n._isScalar=!0,t.closed||(t.next(e),t.complete())},function(n){t.closed||t.error(n)}).then(null,function(t){kt.a.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Pt,0,{value:this.value,subscriber:t})}else e.then(function(e){n.value=e,n._isScalar=!0,t.closed||t.add(r.schedule(Pt,0,{value:e,subscriber:t}))},function(n){t.closed||t.add(r.schedule(It,0,{err:n,subscriber:t}))}).then(null,function(t){kt.a.setTimeout(function(){throw t})})},n}(Ct.a);function Pt(t){var n=t.subscriber;n.closed||(n.next(t.value),n.complete())}function It(t){var n=t.subscriber;n.closed||n.error(t.err)}var Mt=e("etqZ"),jt=function(t){function n(n,e){if(t.call(this),this.scheduler=e,null==n)throw new Error("iterator cannot be null.");this.iterator=Rt(n)}return Object(o.b)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){var n=t.index,e=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=e.next();i.done?r.complete():(r.next(i.value),t.index=n+1,r.closed?"function"==typeof e.return&&e.return():this.schedule(t))}},n.prototype._subscribe=function(t){var e=this.iterator,r=this.scheduler;if(r)return r.schedule(n.dispatch,0,{index:0,iterator:e,subscriber:t});for(;;){var i=e.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof e.return&&e.return();break}}},n}(Ct.a),At=function(){function t(t,n,e){void 0===n&&(n=0),void 0===e&&(e=t.length),this.str=t,this.idx=n,this.len=e}return t.prototype[Mt.a]=function(){return this},t.prototype.next=function(){return this.idxDt?Dt:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[Mt.a]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o=2&&(e=!0),function(r){return r.lift(new bn(t,n,e))}}var bn=function(){function t(t,n,e){void 0===e&&(e=!1),this.accumulator=t,this.seed=n,this.hasSeed=e}return t.prototype.call=function(t,n){return n.subscribe(new wn(t,this.accumulator,this.seed,this.hasSeed))},t}(),wn=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}return Object(o.b)(n,t),Object.defineProperty(n.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),n.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},n.prototype._tryNext=function(t){var n,e=this.index++;try{n=this.accumulator(this.seed,t,e)}catch(t){this.destination.error(t)}this.seed=n,this.destination.next(n)},n}(mt.a),xn=function(t){function n(){var n=t.call(this,"argument out of range");this.name=n.name="ArgumentOutOfRangeError",this.stack=n.stack,this.message=n.message}return Object(o.b)(n,t),n}(Error);function Cn(t){return function(n){return 0===t?new Ft.a:n.lift(new Sn(t))}}var Sn=function(){function t(t){if(this.total=t,this.total<0)throw new xn}return t.prototype.call=function(t,n){return n.subscribe(new On(t,this.total))},t}(),On=function(t){function n(n,e){t.call(this,n),this.total=e,this.ring=new Array,this.count=0}return Object(o.b)(n,t),n.prototype._next=function(t){var n=this.ring,e=this.total,r=this.count++;n.length0)for(var e=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2?function(e){return Object(Pn.a)(_n(t,n),Cn(1),En(n))(e)}:function(n){return Object(Pn.a)(_n(function(n,e,r){return t(n,e,r+1)}),Cn(1))(n)}}function Mn(t,n){return arguments.length>=2?In(t,n)(this):In(t)(this)}var jn=null;function An(){return jn}var Nn,Rn={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Dn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Vn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};i._4.Node&&(Nn=i._4.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Fn,Ln=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){var t;t=new n,jn||(jn=t)},n.prototype.hasProperty=function(t,n){return n in t},n.prototype.setProperty=function(t,n,e){t[n]=e},n.prototype.getProperty=function(t,n){return t[n]},n.prototype.invoke=function(t,n,e){var r;(r=t)[n].apply(r,e)},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return Rn},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,n){return Nn.call(t,n)},n.prototype.querySelector=function(t,n){return t.querySelector(n)},n.prototype.querySelectorAll=function(t,n){return t.querySelectorAll(n)},n.prototype.on=function(t,n,e){t.addEventListener(n,e,!1)},n.prototype.onAndCancel=function(t,n,e){return t.addEventListener(n,e,!1),function(){t.removeEventListener(n,e,!1)}},n.prototype.dispatchEvent=function(t,n){t.dispatchEvent(n)},n.prototype.createMouseEvent=function(t){var n=this.getDefaultDocument().createEvent("MouseEvent");return n.initEvent(t,!0,!0),n},n.prototype.createEvent=function(t){var n=this.getDefaultDocument().createEvent("Event");return n.initEvent(t,!0,!0),n},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var n=t.childNodes,e=new Array(n.length),r=0;r0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var n=new Map,e=t.attributes,r=0;r0;u||(u=t[l]=[]);var a=we(n)?Zone.root:Zone.current;if(0===u.length)u.push({zone:a,handler:o});else{for(var c=!1,h=0;h-1},n}(te),Te=["alt","control","meta","shift"],Pe={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Ie=function(t){function n(n){return t.call(this,n)||this}return Object(o.b)(n,t),n.prototype.supports=function(t){return null!=n.parseEventName(t)},n.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return An().onAndCancel(t,i.domEventName,o)})},n.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(Te.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=o,l},n.getEventFullKey=function(t){var n="",e=An().getEventKey(t);return" "===(e=e.toLowerCase())?e="space":"."===e&&(e="dot"),Te.forEach(function(r){r!=e&&(0,Pe[r])(t)&&(n+=r+".")}),n+=e},n.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},n._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},n}(te),Me=function(){function t(t,n){this.defaultDoc=t,this.DOM=n;var e=this.DOM.createHtmlDocument();if(this.inertBodyElement=e.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",e);this.inertBodyElement=this.DOM.createElement("body",e),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(e,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var n=new XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+t,!1),n.send(null);var e=n.response.body;return e.removeChild(e.firstChild),e},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var n=this.DOM.createElement("template");return"content"in n?(this.DOM.setInnerHTML(n,t),n):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var n=this;this.DOM.attributeMap(t).forEach(function(e,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||n.DOM.removeAttribute(t,r)});for(var e=0,r=this.DOM.childNodesAsList(t);e")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var n=this.DOM.nodeName(t).toLowerCase();ze.hasOwnProperty(n)&&!Fe.hasOwnProperty(n)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Qe(t))},t.prototype.checkClobberedElement=function(t,n){if(n&&this.DOM.contains(t,n))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return n},t}(),We=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ye=/([^\#-~ |!])/g;function Qe(t){return t.replace(/&/g,"&").replace(We,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ye,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Ze=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Je=/^url\(([^)]+)\)$/,$e=function(){},Xe=function(t){function n(n){var e=t.call(this)||this;return e._doc=n,e}return Object(o.b)(n,t),n.prototype.sanitize=function(t,n){if(null==n)return null;switch(t){case i.F.NONE:return n;case i.F.HTML:return n instanceof nr?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"HTML"),function(t,n){var e=An(),r=null;try{Ve=Ve||new Me(t,e);var o=n?String(n):"";r=Ve.getInertBodyElement(o);var l=5,u=o;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,o=u,u=e.getInnerHTML(r),r=Ve.getInertBodyElement(o)}while(o!==u);var s=new Ge,a=s.sanitizeChildren(e.getTemplateContent(r)||r);return Object(i.T)()&&s.sanitizedSomething&&e.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(r)for(var c=e.getTemplateContent(r)||r,h=0,p=e.childNodesAsList(c);ht.length)return null;if("full"===e.pathMatch&&(n.hasChildren()||r.length0?t[t.length-1]:null}function zr(t,n){for(var e in t)t.hasOwnProperty(e)&&n(t[e],e)}function qr(t){var n=vn.call(t);return fn.call(n,function(t){return!0===t})}function Hr(t){return Object(i._8)(t)?t:Object(i._9)(t)?an(Promise.resolve(t)):ft(t)}function Kr(t,n,e){return e?function(t,n){return Lr(t,n)}(t.queryParams,n.queryParams)&&function t(n,e){if(!Qr(n.segments,e.segments))return!1;if(n.numberOfChildren!==e.numberOfChildren)return!1;for(var r in e.children){if(!n.children[r])return!1;if(!t(n.children[r],e.children[r]))return!1}return!0}(t.root,n.root):function(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(t.queryParams,n.queryParams)&&function t(n,e){return function n(e,r,i){if(e.segments.length>i.length)return!!Qr(l=e.segments.slice(0,i.length),i)&&!r.hasChildren();if(e.segments.length===i.length){if(!Qr(e.segments,i))return!1;for(var o in r.children){if(!e.children[o])return!1;if(!t(e.children[o],r.children[o]))return!1}return!0}var l=i.slice(0,e.segments.length),u=i.slice(e.segments.length);return!!Qr(e.segments,l)&&!!e.children[Ir]&&n(e.children[Ir],r,u)}(n,e,e.segments)}(t.root,n.root)}var Gr=function(){function t(t,n,e){this.root=t,this.queryParams=n,this.fragment=e}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=jr(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xr.serialize(this)},t}(),Wr=function(){function t(t,n){var e=this;this.segments=t,this.children=n,this.parent=null,zr(n,function(t,n){return t.parent=e})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ti(this)},t}(),Yr=function(){function t(t,n){this.path=t,this.parameters=n}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=jr(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return li(this)},t}();function Qr(t,n){return t.length===n.length&&t.every(function(t,e){return t.path===n[e].path})}function Zr(t,n){var e=[];return zr(t.children,function(t,r){r===Ir&&(e=e.concat(n(t,r)))}),zr(t.children,function(t,r){r!==Ir&&(e=e.concat(n(t,r)))}),e}var Jr=function(){},$r=function(){function t(){}return t.prototype.parse=function(t){var n=new hi(t);return new Gr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())},t.prototype.serialize=function(t){var n,e;return"/"+function t(n,e){if(!n.hasChildren())return ti(n);if(e){var r=n.children[Ir]?t(n.children[Ir],!1):"",i=[];return zr(n.children,function(n,e){e!==Ir&&i.push(e+":"+t(n,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Zr(n,function(e,r){return r===Ir?[t(n.children[Ir],!1)]:[r+":"+t(e,!1)]});return ti(n)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(n){return ei(t)+"="+ei(n)}).join("&"):ei(t)+"="+ei(e)})).length?"?"+e.join("&"):"")+("string"==typeof t.fragment?"#"+ei(t.fragment):"")},t}(),Xr=new $r;function ti(t){return t.segments.map(function(t){return li(t)}).join("/")}function ni(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ei(t){return ni(t).replace(/%3B/gi,";")}function ri(t){return ni(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ii(t){return decodeURIComponent(t)}function oi(t){return ii(t.replace(/\+/g,"%20"))}function li(t){return""+ri(t.path)+(n=t.parameters,Object.keys(n).map(function(t){return";"+ri(t)+"="+ri(n[t])}).join(""));var n}var ui=/^[^\/()?;=&#]+/;function si(t){var n=t.match(ui);return n?n[0]:""}var ai=/^[^=?&#]+/,ci=/^[^?&#]+/,hi=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Wr([],{}):new Wr([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(e[Ir]=new Wr(t,n)),e},t.prototype.parseSegment=function(){var t=si(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Yr(ii(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var n=si(this.remaining);if(n){this.capture(n);var e="";if(this.consumeOptional("=")){var r=si(this.remaining);r&&this.capture(e=r)}t[ii(n)]=ii(e)}},t.prototype.parseQueryParam=function(t){var n,e=(n=this.remaining.match(ai))?n[0]:"";if(e){this.capture(e);var r="";if(this.consumeOptional("=")){var i=function(t){var n=t.match(ci);return n?n[0]:""}(this.remaining);i&&this.capture(r=i)}var o=oi(e),l=oi(r);if(t.hasOwnProperty(o)){var u=t[o];Array.isArray(u)||(t[o]=u=[u]),u.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var e=si(this.remaining),r=this.remaining[e.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;e.indexOf(":")>-1?(i=e.substr(0,e.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Ir);var o=this.parseChildren();n[i]=1===Object.keys(o).length?o[Ir]:new Wr([],o),this.consumeOptional("//")}return n},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),pi=function(t){this.segmentGroup=t||null},fi=function(t){this.urlTree=t};function di(t){return new Ct.a(function(n){return n.error(new pi(t))})}function yi(t){return new Ct.a(function(n){return n.error(new fi(t))})}function gi(t){return new Ct.a(function(n){return n.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var mi=function(){function t(t,n,e,r,o){this.configLoader=n,this.urlSerializer=e,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(i.v)}return t.prototype.apply=function(){var t=this,n=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Ir),e=wt.call(n,function(n){return t.createUrlTree(n,t.urlTree.queryParams,t.urlTree.fragment)});return Xt.call(e,function(n){if(n instanceof fi)return t.allowRedirects=!1,t.match(n.urlTree);if(n instanceof pi)throw t.noMatchError(n);throw n})},t.prototype.match=function(t){var n=this,e=this.expandSegmentGroup(this.ngModule,this.config,t.root,Ir),r=wt.call(e,function(e){return n.createUrlTree(e,t.queryParams,t.fragment)});return Xt.call(r,function(t){if(t instanceof pi)throw n.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,n,e){var r,i=t.segments.length>0?new Wr([],((r={})[Ir]=t,r)):t;return new Gr(i,n,e)},t.prototype.expandSegmentGroup=function(t,n,e,r){return 0===e.segments.length&&e.hasChildren()?wt.call(this.expandChildren(t,n,e),function(t){return new Wr([],t)}):this.expandSegment(t,e,n,e.segments,r,!0)},t.prototype.expandChildren=function(t,n,e){var r=this;return function(e,i){if(0===Object.keys(e).length)return ft({});var o=[],l=[],u={};zr(e,function(e,i){var s=wt.call(r.expandSegmentGroup(t,n,e,i),function(t){return u[i]=t});i===Ir?o.push(s):l.push(s)});var s=en.call(ft.apply(void 0,o.concat(l))),a=mn.call(s);return wt.call(a,function(){return u})}(e.children)},t.prototype.expandSegment=function(t,n,e,r,i,o){var l=this,u=ft.apply(void 0,e),s=wt.call(u,function(u){var s=l.expandSegmentAgainstRoute(t,n,e,u,r,i,o);return Xt.call(s,function(t){if(t instanceof pi)return ft(null);throw t})}),a=en.call(s),c=sn.call(a,function(t){return!!t});return Xt.call(c,function(t,e){if(t instanceof rn||"EmptyError"===t.name){if(l.noLeftoversInUrl(n,r,i))return ft(new Wr([],{}));throw new pi(n)}throw t})},t.prototype.noLeftoversInUrl=function(t,n,e){return 0===n.length&&!t.children[e]},t.prototype.expandSegmentAgainstRoute=function(t,n,e,r,i,o,l){return wi(r)!==o?di(n):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,n,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o):di(n)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,n,e,r){var i=this,o=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?yi(o):xt.call(this.lineralizeSegments(e,o),function(e){var o=new Wr(e,{});return i.expandSegment(t,o,n,e,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){var l=this,u=vi(n,r,i),s=u.consumedSegments,a=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return di(n);var h=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?yi(h):xt.call(this.lineralizeSegments(r,h),function(r){return l.expandSegment(t,n,e,r.concat(i.slice(a)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,n,e,r){var i=this;if("**"===e.path)return e.loadChildren?wt.call(this.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,new Wr(r,{})}):ft(new Wr(r,{}));var l=vi(n,e,r),u=l.consumedSegments,s=l.lastChild;if(!l.matched)return di(n);var a=r.slice(s),c=this.getChildConfig(t,e);return xt.call(c,function(t){var e=t.module,r=t.routes,l=function(t,n,e,r){return e.length>0&&function(t,n,e){return r.some(function(e){return bi(t,n,e)&&wi(e)!==Ir})}(t,e)?{segmentGroup:_i(new Wr(n,function(t,n){var e={};e[Ir]=n;for(var r=0,i=t;r1||!r.children[Ir])return gi(t.redirectTo);r=r.children[Ir]}},t.prototype.applyRedirectCommands=function(t,n,e){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,e)},t.prototype.applyRedirectCreatreUrlTree=function(t,n,e,r){var i=this.createSegmentGroup(t,n.root,e,r);return new Gr(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)},t.prototype.createQueryParams=function(t,n){var e={};return zr(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);e[r]=n[i]}else e[r]=t}),e},t.prototype.createSegmentGroup=function(t,n,e,r){var i=this,o=this.createSegments(t,n.segments,e,r),l={};return zr(n.children,function(n,o){l[o]=i.createSegmentGroup(t,n,e,r)}),new Wr(o,l)},t.prototype.createSegments=function(t,n,e,r){var i=this;return n.map(function(n){return n.path.startsWith(":")?i.findPosParam(t,n,r):i.findOrReturn(n,e)})},t.prototype.findPosParam=function(t,n,e){var r=e[n.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+n.path+"'.");return r},t.prototype.findOrReturn=function(t,n){for(var e=0,r=0,i=n;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(n.matcher||Ar)(e,t,n);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function _i(t){if(1===t.numberOfChildren&&t.children[Ir]){var n=t.children[Ir];return new Wr(t.segments.concat(n.segments),n.children)}return t}function bi(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0!==e.redirectTo}function wi(t){return t.outlet||Ir}var xi=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null},t.prototype.children=function(t){var n=Ci(t,this._root);return n?n.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var n=Ci(t,this._root);return n&&n.children.length>0?n.children[0].value:null},t.prototype.siblings=function(t){var n=Si(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(t){return t.value}).filter(function(n){return n!==t})},t.prototype.pathFromRoot=function(t){return Si(t,this._root).map(function(t){return t.value})},t}();function Ci(t,n){if(t===n.value)return n;for(var e=0,r=n.children;e=1;){var i=e[r],l=e[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,n){return{params:Object(o.a)({},t.params,n.params),data:Object(o.a)({},t.data,n.data),resolve:Object(o.a)({},t.resolve,n._resolvedData)}},{params:{},data:{},resolve:{}})}(e.slice(r))}var Mi=function(){function t(t,n,e,r,i,o,l,u,s,a,c){this.url=t,this.params=n,this.queryParams=e,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=a,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=jr(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=jr(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),ji=function(t){function n(n,e){var r=t.call(this,e)||this;return r.url=n,Ai(r,e),r}return Object(o.b)(n,t),n.prototype.toString=function(){return Ni(this._root)},n}(xi);function Ai(t,n){n.value._routerState=t,n.children.forEach(function(n){return Ai(t,n)})}function Ni(t){var n=t.children.length>0?" { "+t.children.map(Ni).join(", ")+" } ":"";return""+t.value+n}function Ri(t){if(t.snapshot){var n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Lr(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Lr(n.params,e.params)||t.params.next(e.params),function(t,n){if(t.length!==n.length)return!1;for(var e=0;e0&&Vi(e[0]))throw new Error("Root segment cannot have matrix parameters");var r=e.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Ur(e))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Bi=function(t,n,e){this.segmentGroup=t,this.processChildren=n,this.index=e};function Ui(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Ir]:""+t}function zi(t,n,e){if(t||(t=new Wr([],{})),0===t.segments.length&&t.hasChildren())return qi(t,n,e);var r=function(t,n,e){for(var r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};i=e.length)return o;var l=t.segments[i],u=Ui(e[r]),s=r0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Wi(u,s,l))return o;r+=2}else{if(!Wi(u,{},l))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex0?Ur(e).parameters:{};i=new Mi(e,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,io(t),r,t.component,t,Xi(n),to(n)+e.length,oo(t))}else{var a=function(t,n,e){if(""===n.path){if("full"===n.pathMatch&&(t.hasChildren()||e.length>0))throw new Ji;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(n.matcher||Ar)(e,t,n);if(!r)throw new Ji;var i={};zr(r.posParams,function(t,n){i[n]=t.path});var l=r.consumed.length>0?Object(o.a)({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(n,t,e);l=a.consumedSegments,u=e.slice(a.lastChild),i=new Mi(l,a.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,io(t),r,t.component,t,Xi(n),to(n)+l.length,oo(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=no(n,l,u,c),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new Oi(i,d)]}if(0===c.length&&0===f.length)return[new Oi(i,[])];var y=this.processSegment(c,p,f,Ir);return[new Oi(i,y)]},t}();function Xi(t){for(var n=t;n._sourceSegment;)n=n._sourceSegment;return n}function to(t){for(var n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;n._sourceSegment;)e+=(n=n._sourceSegment)._segmentIndexShift?n._segmentIndexShift:0;return e-1}function no(t,n,e,r){if(e.length>0&&function(t,n,e){return r.some(function(e){return eo(t,n,e)&&ro(e)!==Ir})}(t,e)){var i=new Wr(n,function(t,n,e,r){var i={};i[Ir]=r,r._sourceSegment=t,r._segmentIndexShift=n.length;for(var o=0,l=e;o0)||"full"!==e.pathMatch)&&""===e.path&&void 0===e.redirectTo}function ro(t){return t.outlet||Ir}function io(t){return t.data||{}}function oo(t){return t.resolve||{}}var lo=function(){},uo=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,n){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,n){return t.routeConfig===n.routeConfig},t}(),so=new i.o("ROUTES"),ao=function(){function t(t,n,e,r){this.loader=t,this.compiler=n,this.onLoadStartListener=e,this.onLoadEndListener=r}return t.prototype.load=function(t,n){var e=this;this.onLoadStartListener&&this.onLoadStartListener(n);var r=this.loadModuleFactory(n.loadChildren);return wt.call(r,function(r){e.onLoadEndListener&&e.onLoadEndListener(n);var i=r.create(t);return new Nr(Br(i.injector.get(so)).map(Fr),i)})},t.prototype.loadModuleFactory=function(t){var n=this;return"string"==typeof t?an(this.loader.load(t)):xt.call(Hr(t()),function(t){return t instanceof i.t?ft(t):an(n.compiler.compileModuleAsync(t))})},t}(),co=function(){},ho=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,n){return t},t}();function po(t){throw t}function fo(t){return ft(null)}var yo=function(){function t(t,n,e,r,o,l,u,s){var a=this;this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=e,this.location=r,this.config=s,this.navigations=new ht(null),this.navigationId=0,this.events=new at.b,this.errorHandler=po,this.navigated=!1,this.hooks={beforePreactivation:fo,afterPreactivation:fo},this.urlHandlingStrategy=new ho,this.routeReuseStrategy=new uo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=o.get(i.v),this.resetConfig(s),this.currentUrlTree=new Gr(new Wr([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new ao(l,u,function(t){return a.triggerEvent(new Sr(t))},function(t){return a.triggerEvent(new Or(t))}),this.routerState=Ti(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(n){var e=t.urlSerializer.parse(n.url),r="popstate"===n.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(e,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Rr(t),this.config=t.map(Fr),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,n){void 0===n&&(n={});var e=n.relativeTo,r=n.queryParams,l=n.fragment,u=n.preserveQueryParams,s=n.queryParamsHandling,a=n.preserveFragment;Object(i.T)()&&u&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=e||this.routerState.root,h=a?this.currentUrlTree.fragment:l,p=null;if(s)switch(s){case"merge":p=Object(o.a)({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=u?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,n,e,r,i){if(0===e.length)return Fi(n.root,n.root,n,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Li(!0,0,t);var n=0,e=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return zr(r.outlets,function(t,n){o[n]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:o}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?e=!0:".."===r?n++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new Li(e,n,r)}(e);if(o.toRoot())return Fi(n.root,new Wr([],{}),n,r,i);var l=function(t,e,r){if(t.isAbsolute)return new Bi(n.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Bi(r.snapshot._urlSegment,!0,0);var i=Vi(t.commands[0])?0:1;return function(n,e,o){for(var l=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+i,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(l=l.parent))throw new Error("Invalid number of '../'");u=l.segments.length}return new Bi(l,!1,u-s)}()}(o,0,t),u=l.processChildren?qi(l.segmentGroup,l.index,o.commands):zi(l.segmentGroup,l.index,o.commands);return Fi(l.segmentGroup,u,n,r,i)}(c,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,n){void 0===n&&(n={skipLocationChange:!1});var e=t instanceof Gr?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(e,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",n)},t.prototype.navigate=function(t,n){return void 0===n&&(n={skipLocationChange:!1}),function(t){for(var n=0;n0){var r=t.slice(0,n),i=t.slice(n+1).trim();e.set(r,i)}}),e},t.prototype.append=function(t,n){var e=this.getAll(t);null===e?this.set(t,n):e.push(n)},t.prototype.delete=function(t){var n=t.toLowerCase();this._normalizedNames.delete(n),this._headers.delete(n)},t.prototype.forEach=function(t){var n=this;this._headers.forEach(function(e,r){return t(e,n._normalizedNames.get(r),n._headers)})},t.prototype.get=function(t){var n=this.getAll(t);return null===n?null:n.length>0?n[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,n){Array.isArray(n)?n.length&&this._headers.set(t.toLowerCase(),[n.join(",")]):this._headers.set(t.toLowerCase(),[n]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,n={};return this._headers.forEach(function(e,r){var i=[];e.forEach(function(t){return i.push.apply(i,t.split(","))}),n[t._normalizedNames.get(r)]=i}),n},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 n=t.toLowerCase();this._normalizedNames.has(n)||this._normalizedNames.set(n,t)},t}(),Yo=function(){function t(t){void 0===t&&(t={});var n=t.body,e=t.status,r=t.headers,i=t.statusText,o=t.type,l=t.url;this.body=null!=n?n:null,this.status=null!=e?e:null,this.headers=null!=r?r:null,this.statusText=null!=i?i:null,this.type=null!=o?o:null,this.url=null!=l?l:null}return t.prototype.merge=function(n){return new t({body:n&&null!=n.body?n.body:this.body,status:n&&null!=n.status?n.status:this.status,headers:n&&null!=n.headers?n.headers:this.headers,statusText:n&&null!=n.statusText?n.statusText:this.statusText,type:n&&null!=n.type?n.type:this.type,url:n&&null!=n.url?n.url:this.url})},t}(),Qo=function(t){function n(){return t.call(this,{status:200,statusText:"Ok",type:Ho.Default,headers:new Wo})||this}return Object(o.b)(n,t),n}(Yo),Zo=function(){};function Jo(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return qo.Get;case"POST":return qo.Post;case"PUT":return qo.Put;case"DELETE":return qo.Delete;case"OPTIONS":return qo.Options;case"HEAD":return qo.Head;case"PATCH":return qo.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}var $o=function(t){return t>=200&&t<300},Xo=function(){function t(){}return t.prototype.encodeKey=function(t){return tl(t)},t.prototype.encodeValue=function(t){return tl(t)},t}();function tl(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,"/")}var nl=function(){function t(t,n){void 0===t&&(t=""),void 0===n&&(n=new Xo),this.rawParams=t,this.queryEncoder=n,this.paramsMap=function(t){void 0===t&&(t="");var n=new Map;return t.length>0&&t.split("&").forEach(function(t){var e=t.indexOf("="),r=-1==e?[t,""]:[t.slice(0,e),t.slice(e+1)],i=r[0],o=r[1],l=n.get(i)||[];l.push(o),n.set(i,l)}),n}(t)}return t.prototype.clone=function(){var n=new t("",this.queryEncoder);return n.appendAll(this),n},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var n=this.paramsMap.get(t);return Array.isArray(n)?n[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.length=0,e.push(n),this.paramsMap.set(t,e)}else this.delete(t)},t.prototype.setAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){var r=n.paramsMap.get(e)||[];r.length=0,r.push(t[0]),n.paramsMap.set(e,r)})},t.prototype.append=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.push(n),this.paramsMap.set(t,e)}},t.prototype.appendAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){for(var r=n.paramsMap.get(e)||[],i=0;i=200&&e.status<=299,e.statusText=n.statusText,e.headers=n.headers,e.type=n.type,e.url=n.url,e}return Object(o.b)(n,t),n.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},n}(el),il=/^\)\]\}',?\n/,ol=function(){function t(t,n,e){var r=this;this.request=t,this.response=new Ct.a(function(i){var o=n.build();o.open(qo[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(o.withCredentials=t.withCredentials);var l=function(){var n=1223===o.status?204:o.status,r=null;204!==n&&"string"==typeof(r="undefined"==typeof o.response?o.responseText:o.response)&&(r=r.replace(il,"")),0===n&&(n=r?200:0);var l,u=Wo.fromResponseHeaderString(o.getAllResponseHeaders()),s=("responseURL"in(l=o)?l.responseURL:/^X-Request-URL:/m.test(l.getAllResponseHeaders())?l.getResponseHeader("X-Request-URL"):null)||t.url,a=new Yo({body:r,status:n,headers:u,statusText:o.statusText||"OK",url:s});null!=e&&(a=e.merge(a));var c=new rl(a);if(c.ok=$o(n),c.ok)return i.next(c),void i.complete();i.error(c)},u=function(t){var n=new Yo({body:t,type:Ho.Error,status:o.status,statusText:o.statusText});null!=e&&(n=e.merge(n)),i.error(new rl(n))};if(r.setDetectedContentType(t,o),null==t.headers&&(t.headers=new Wo),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,n){return o.setRequestHeader(n,t.join(","))}),null!=t.responseType&&null!=o.responseType)switch(t.responseType){case Go.ArrayBuffer:o.responseType="arraybuffer";break;case Go.Json:o.responseType="json";break;case Go.Text:o.responseType="text";break;case Go.Blob:o.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return o.addEventListener("load",l),o.addEventListener("error",u),o.send(r.request.getBody()),function(){o.removeEventListener("load",l),o.removeEventListener("error",u),o.abort()}})}return t.prototype.setDetectedContentType=function(t,n){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case Ko.NONE:break;case Ko.JSON:n.setRequestHeader("content-type","application/json");break;case Ko.FORM:n.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case Ko.TEXT:n.setRequestHeader("content-type","text/plain");break;case Ko.BLOB:var e=t.blob();e.type&&n.setRequestHeader("content-type",e.type)}},t}(),ll=function(){function t(t,n){void 0===t&&(t="XSRF-TOKEN"),void 0===n&&(n="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=n}return t.prototype.configureRequest=function(t){var n=An().getCookie(this._cookieName);n&&t.headers.set(this._headerName,n)},t}(),ul=function(){function t(t,n,e){this._browserXHR=t,this._baseResponseOptions=n,this._xsrfStrategy=e}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new ol(t,this._browserXHR,this._baseResponseOptions)},t}(),sl=function(){function t(t){void 0===t&&(t={});var n=t.method,e=t.headers,r=t.body,i=t.url,o=t.search,l=t.params,u=t.withCredentials,s=t.responseType;this.method=null!=n?Jo(n):null,this.headers=null!=e?e:null,this.body=null!=r?r:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(l||o),this.withCredentials=null!=u?u:null,this.responseType=null!=s?s:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(n){return new t({method:n&&null!=n.method?n.method:this.method,headers:n&&null!=n.headers?n.headers:new Wo(this.headers),body:n&&null!=n.body?n.body:this.body,url:n&&null!=n.url?n.url:this.url,params:n&&this._mergeSearchParams(n.params||n.search),withCredentials:n&&null!=n.withCredentials?n.withCredentials:this.withCredentials,responseType:n&&null!=n.responseType?n.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof nl?t.clone():"string"==typeof t?new nl(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var n=this;void 0===t&&(t={});var e=new nl;return Object.keys(t).forEach(function(r){var i=t[r];Array.isArray(i)?i.forEach(function(t){return n._appendParam(r,t,e)}):n._appendParam(r,i,e)}),e},t.prototype._appendParam=function(t,n,e){"string"!=typeof n&&(n=JSON.stringify(n)),e.append(t,n)},t}(),al=function(t){function n(){return t.call(this,{method:qo.Get,headers:new Wo})||this}return Object(o.b)(n,t),n}(sl),cl=function(t){function n(n){var e=t.call(this)||this,r=n.url;e.url=n.url;var i,o=n.params||n.search;if(o&&(i="object"!=typeof o||o instanceof nl?o.toString():function(t){var n=new nl;return Object.keys(t).forEach(function(e){var r=t[e];r&&Array.isArray(r)?r.forEach(function(t){return n.append(e,t.toString())}):n.append(e,r.toString())}),n}(o).toString()).length>0){var l="?";-1!=e.url.indexOf("?")&&(l="&"==e.url[e.url.length-1]?"":"&"),e.url=r+l+i}return e._body=n.body,e.method=Jo(n.method),e.headers=new Wo(n.headers),e.contentType=e.detectContentType(),e.withCredentials=n.withCredentials,e.responseType=n.responseType,e}return Object(o.b)(n,t),n.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return Ko.JSON;case"application/x-www-form-urlencoded":return Ko.FORM;case"multipart/form-data":return Ko.FORM_DATA;case"text/plain":case"text/html":return Ko.TEXT;case"application/octet-stream":return this._body instanceof yl?Ko.ARRAY_BUFFER:Ko.BLOB;default:return this.detectContentTypeFromBody()}},n.prototype.detectContentTypeFromBody=function(){return null==this._body?Ko.NONE:this._body instanceof nl?Ko.FORM:this._body instanceof fl?Ko.FORM_DATA:this._body instanceof dl?Ko.BLOB:this._body instanceof yl?Ko.ARRAY_BUFFER:this._body&&"object"==typeof this._body?Ko.JSON:Ko.TEXT},n.prototype.getBody=function(){switch(this.contentType){case Ko.JSON:case Ko.FORM:return this.text();case Ko.FORM_DATA:return this._body;case Ko.TEXT:return this.text();case Ko.BLOB:return this.blob();case Ko.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},n}(el),hl=function(){},pl="object"==typeof window?window:hl,fl=pl.FormData||hl,dl=pl.Blob||hl,yl=pl.ArrayBuffer||hl;function gl(t,n){return t.createConnection(n).response}function ml(t,n,e,r){return t.merge(new sl(n?{method:n.method||e,url:n.url||r,search:n.search,params:n.params,headers:n.headers,body:n.body,withCredentials:n.withCredentials,responseType:n.responseType}:{method:e,url:r}))}var vl=function(){function t(t,n){this._backend=t,this._defaultOptions=n}return t.prototype.request=function(t,n){var e;if("string"==typeof t)e=gl(this._backend,new cl(ml(this._defaultOptions,n,qo.Get,t)));else{if(!(t instanceof cl))throw new Error("First argument must be a url string or Request instance.");e=gl(this._backend,t)}return e},t.prototype.get=function(t,n){return this.request(new cl(ml(this._defaultOptions,n,qo.Get,t)))},t.prototype.post=function(t,n,e){return this.request(new cl(ml(this._defaultOptions.merge(new sl({body:n})),e,qo.Post,t)))},t.prototype.put=function(t,n,e){return this.request(new cl(ml(this._defaultOptions.merge(new sl({body:n})),e,qo.Put,t)))},t.prototype.delete=function(t,n){return this.request(new cl(ml(this._defaultOptions,n,qo.Delete,t)))},t.prototype.patch=function(t,n,e){return this.request(new cl(ml(this._defaultOptions.merge(new sl({body:n})),e,qo.Patch,t)))},t.prototype.head=function(t,n){return this.request(new cl(ml(this._defaultOptions,n,qo.Head,t)))},t.prototype.options=function(t,n){return this.request(new cl(ml(this._defaultOptions,n,qo.Options,t)))},t}();function _l(){return new ll}function bl(t,n){return new vl(t,n)}var wl=function(){};Ct.a.throw=function(t){function n(n,e){t.call(this),this.error=n,this.scheduler=e}return Object(o.b)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){t.subscriber.error(t.error)},n.prototype._subscribe=function(t){var e=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(n.dispatch,0,{error:e,subscriber:t});t.error(e)},n}(Ct.a).create,Ct.a.prototype.map=wt,Ct.a.prototype.catch=Xt,Ct.a.prototype._catch=Xt;var xl=function(){function t(t){this.http=t,this.url="/api/"}return t.prototype.getAddress=function(t){return this.get("address",{address:t})},t.prototype.getUnconfirmedTransactions=function(){return this.get("pendingTxs")},t.prototype.getBlock=function(t){return this.get("block",{hash:t})},t.prototype.getBlocks=function(t,n){return this.get("blocks",{start:t,end:n})},t.prototype.getBlockchainMetadata=function(){return this.get("blockchain/metadata").map(function(t){return{blocks:t.head.seq}})},t.prototype.getCoinSupply=function(){return this.get("coinSupply")},t.prototype.getCurrentBalance=function(t){return this.get("currentBalance",{addrs:t})},t.prototype.getBalance=function(t){return this.get("balance",{addrs:t})},t.prototype.getTransaction=function(t){return this.get("transaction",{txid:t})},t.prototype.getUxout=function(t){return this.get("uxout",{uxid:t})},t.prototype.getRichlist=function(){return this.get("richlist").map(function(t){return t.richlist})},t.prototype.getInputAddress=function(t){return this.get("uxout?uxid="+t)},t.prototype.get=function(t,n){return void 0===n&&(n=null),this.http.get(this.getUrl(t,n)).map(function(t){return t.json()}).catch(function(t){return Ct.a.throw(t||"Server error")})},t.prototype.getQueryString=function(t){return void 0===t&&(t=null),t?Object.keys(t).reduce(function(n,e){return n.push(e+"="+encodeURIComponent(t[e])),n},[]).join("&"):""},t.prototype.getUrl=function(t,n){return void 0===n&&(n=null),this.url+t+"?"+this.getQueryString(n)},t}();function Cl(t){return{address:t.dst,coins:parseFloat(t.coins),hash:t.uxid,hours:t.hours}}function Sl(t){return{id:t.header.seq,hash:t.header.block_hash,parent_hash:t.header.previous_block_hash,timestamp:t.header.timestamp,transactions:t.body.txns.map(function(t){return function(t){return{block:null,id:t.txid,timestamp:null,inputs:t.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:t.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:null,balance:null,addressBalance:null,length:t.length}}(t)}),size:t.size}}var Ol=function(t){function n(n,e){t.call(this),this.sources=n,this.resultSelector=e}return Object(o.b)(n,t),n.create=function(){for(var t=[],e=0;e0){var e=Sl(t.blocks[0]);return Ct.a.forkJoin(e.transactions.map(function(t){return n.retrieveInputsForTransaction(t)})).map(function(t){return e.transactions=t,e})}return[null]})},t.prototype.getBlocks=function(t,n){return this.api.getBlocks(t,n).map(function(t){return t.blocks.map(function(t){return Sl(t)}).sort(function(t,n){return n.id-t.id})})},t.prototype.getBlockByHash=function(t){return this.api.getBlock(t).map(function(t){return Sl(t)})},t.prototype.getTransactions=function(t){return this.api.getAddress(t).map(function(n){var e=0;return(n=n.sort(function(t,n){return n.timestamp-t.timestamp})).reverse().map(function(n){var r=function(t,n){for(var e=0,r=0,i=t.inputs;r0?Ct.a.forkJoin(e.map(function(n){return t.retrieveInputsForTransaction(n)})):Ct.a.of(e)})},t.prototype.getTransaction=function(t){var n=this;return this.api.getTransaction(t).map(function(t){return{block:(n=t).status.block_seq,id:n.txn.txid,inputs:n.txn.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:n.txn.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:n.status.confirmed,timestamp:n.txn.timestamp,balance:null,addressBalance:null,length:n.txn.length};var n}).flatMap(function(t){return n.retrieveInputsForTransaction(t)})},t.prototype.retrieveInputsForTransaction=function(t){var n=this;return Ct.a.forkJoin(t.inputs.map(function(t){return n.retrieveOutputById(t.hash)})).map(function(n){return t.inputs=n,t})},t.prototype.retrieveOutputById=function(t){return this.api.getUxout(t).map(function(t){return{address:(n=t).owner_address,coins:n.coins/1e6,hours:n.hours,hash:n.uxid};var n})},t}();Ct.a.prototype.first=sn;var Pl=e("VwZZ"),Il=function(){function t(t,n,e,r){this.api=t,this.explorer=n,this.route=e,this.router=r,this.blocks=[],this.blockCount=0,this.pageIndex=0,this.pageSize=10,this.loadingCoinSupplyMsg="Loading...",this.loadingMetadataMsg="Loading..."}return Object.defineProperty(t.prototype,"pageCount",{get:function(){return Math.ceil(this.blockCount/this.pageSize)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){t.blockCount=n.blocks,t.route.paramMap.subscribe(function(n){var e=parseInt(n.get("page"),10)-1;t.navigate(e)})},function(n){t.loadingMetadataMsg="Loading error",t.longErrorMsg="Error loading data, try again later..."}),this.api.getCoinSupply().first().subscribe(function(n){t.currentSupply=n.current_supply,t.totalSupply=n.total_supply,t.currentCoinhourSupply=n.current_coinhour_supply,t.totalCoinhourSupply=n.total_coinhour_supply},function(n){t.loadingCoinSupplyMsg="Loading error"})},t.prototype.navigate=function(t){var n=this;this.pageIndex=t;var e=this.blockCount-this.pageIndex*this.pageSize,r=e-this.pageSize+1;this.explorer.getBlocks(r>0?r:0,e>0?e:0).first().subscribe(function(t){return n.blocks=t})},t}();function Ml(t,n){return function(e){return e.lift(new jl(t,n))}}Ct.a.prototype.filter=fr;var jl=function(){function t(t,n){this.project=t,this.resultSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Al(t,this.project,this.resultSelector))},t}(),Al=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.resultSelector=r,this.index=0}return Object(o.b)(n,t),n.prototype._next=function(t){var n,e=this.index++;try{n=this.project(t,e)}catch(t){return void this.destination.error(t)}this._innerSub(n,t,e)},n.prototype._innerSub=function(t,n,e){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=Object(Qt.a)(this,t,n,e))},n.prototype._complete=function(){var n=this.innerSubscription;n&&!n.closed||t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.innerSubscription=null},n.prototype.notifyComplete=function(n){this.remove(n),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,i){this.resultSelector?this._tryNotifyNext(t,n,e,r):this.destination.next(n)},n.prototype._tryNotifyNext=function(t,n,e,r){var i;try{i=this.resultSelector(t,n,e,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},n}(Yt.a);Ct.a.prototype.switchMap=function(t,n){return Ml(t,n)(this)};var Nl=function(){function t(t,n){this.explorer=t,this.router=n,this.loadingMsg="Loading..."}return t.prototype.ngOnInit=function(){var t=this;this.explorer.getUnconfirmedTransactions().subscribe(function(n){if(t.transactions=n,n.length>0){var e=n.sort(function(t,n){return n.timestamp-t.timestamp});t.mostRecent=e[0].timestamp,t.leastRecent=e[e.length-1].timestamp,t.totalSize=e.map(function(t){return t.length}).reduce(function(t,n){return t+n})}},function(n){t.loadingMsg="Loading error",t.longErrorMsg="Error loading data, try again later..."})},t}(),Rl=function(){function t(t,n,e){this.explorer=t,this.route=n,this.router=e,this.loadingMsg="Loading..."}return t.prototype.ngOnInit=function(){var t=this;this.route.params.filter(function(t){return null!==+t.id}).switchMap(function(n){return t.explorer.getBlock(+n.id)}).subscribe(function(n){null!=n?t.block=n:(t.loadingMsg="Loading error",t.longErrorMsg="The block does not exist")},function(n){t.loadingMsg="Loading error",t.longErrorMsg=n.status>=400&&n.status<500?"The block does not exist":"Error loading data, try again later..."})},t}(),Dl=function(){function t(t,n,e){this.explorer=t,this.route=n,this.router=e,this.loadingMsg="Loading..."}return t.prototype.ngOnInit=function(){var t=this;this.route.params.flatMap(function(n){return t.explorer.getTransaction(n.txid)}).subscribe(function(n){return t.transaction=n},function(n){t.loadingMsg="Loading error",t.longErrorMsg=n.status>=400&&n.status<400?"Unable to find the transaction":"Error loading data, try again later..."})},t}(),Vl=e("GK6M"),Fl=e("fKB6"),Ll=function(t){function n(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return Object(o.b)(n,t),n.prototype._subscribe=function(n){return this.hasError?(n.error(this.thrownError),Pl.a.EMPTY):this.hasCompleted&&this.hasNext?(n.next(this.value),n.complete(),Pl.a.EMPTY):t.prototype._subscribe.call(this,n)},n.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},n.prototype.error=function(n){this.hasCompleted||t.prototype.error.call(this,n)},n.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},n}(at.b);function Bl(t){var n=t.subject;n.next(t.value),n.complete()}function Ul(t){t.subject.error(t.err)}function zl(t){var n=this,e=t.source,r=t.subscriber,i=t.context,o=e.callbackFunc,l=e.args,u=e.scheduler,s=e.subject;if(!s){s=e.subject=new Ll;var a=function t(){for(var e=[],r=0;r=0}Ct.a.if=eu.create;var ou=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e,this.pending=!1}return Object(o.b)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t,this.pending=!0;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),kt.a.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return n;kt.a.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e=!1,r=void 0;try{this.work(t)}catch(t){e=!0,r=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),r},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,e){t.call(this)}return Object(o.b)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(Pl.a)),lu=function(t){function n(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return Object(o.b)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(function(){function t(n,e){void 0===e&&(e=t.now),this.SchedulerAction=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(e,n)},t.now=Date.now?Date.now:function(){return+new Date},t}()),uu=new lu(ou);Ct.a.interval=function(t){function n(n,e){void 0===n&&(n=0),void 0===e&&(e=uu),t.call(this),this.period=n,this.scheduler=e,(!iu(n)||n<0)&&(this.period=0),e&&"function"==typeof e.schedule||(this.scheduler=uu)}return Object(o.b)(n,t),n.create=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=uu),new n(t,e)},n.dispatch=function(t){var n=t.subscriber,e=t.period;n.next(t.index),n.closed||(t.index+=1,this.schedule(t,e))},n.prototype._subscribe=function(t){var e=this.period;t.add(this.scheduler.schedule(n.dispatch,e,{index:0,subscriber:t,period:e}))},n}(Ct.a).create;var su=e("/nXB");function au(){for(var t=[],n=0;n=t.count?r.complete():(r.next(n),r.closed||(t.index=e+1,t.start=n+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(n.dispatch,0,{index:e,count:i,start:r,subscriber:t});for(;;){if(e++>=i){t.complete();break}if(t.next(r++),t.closed)break}},n}(Ct.a).create;var mu=function(t){function n(n,e){t.call(this),this.resourceFactory=n,this.observableFactory=e}return Object(o.b)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n,e=this.resourceFactory,r=this.observableFactory;try{return n=e(),new vu(t,n,r)}catch(n){t.error(n)}},n}(Ct.a),vu=function(t){function n(n,e,r){t.call(this,n),this.resource=e,this.observableFactory=r,n.add(e),this.tryUse()}return Object(o.b)(n,t),n.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(Object(Qt.a)(this,t))}catch(t){this._error(t)}},n}(Yt.a);function _u(t){return t instanceof Date&&!isNaN(+t)}Ct.a.using=mu.create;var bu=function(t){function n(n,e,r){void 0===n&&(n=0),t.call(this),this.period=-1,this.dueTime=0,iu(e)?this.period=Number(e)<1?1:Number(e):Object(Kl.a)(e)&&(r=e),Object(Kl.a)(r)||(r=uu),this.scheduler=r,this.dueTime=_u(n)?+n-this.scheduler.now():n}return Object(o.b)(n,t),n.create=function(t,e,r){return void 0===t&&(t=0),new n(t,e,r)},n.dispatch=function(t){var n=t.index,e=t.period,r=t.subscriber;if(r.next(n),!r.closed){if(-1===e)return r.complete();t.index=n+1,this.schedule(t,e)}},n.prototype._subscribe=function(t){return this.scheduler.schedule(n.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},n}(Ct.a).create;function wu(){for(var t=[],n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),ku=function(t){function n(n,e,r){t.call(this,n),this.parent=e,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Object(o.b)(n,t),n.prototype[Mt.a]=function(){return this},n.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){this.buffer.push(n),this.parent.checkIterators()},n.prototype.subscribe=function(t,n){return Object(Qt.a)(this,this.observable,this,n)},n}(Yt.a);function Tu(t,n){return void 0===n&&(n=null),new Ru({method:"GET",url:t,headers:n})}function Pu(t,n,e){return new Ru({method:"POST",url:t,body:n,headers:e})}function Iu(t,n){return new Ru({method:"DELETE",url:t,headers:n})}function Mu(t,n,e){return new Ru({method:"PUT",url:t,body:n,headers:e})}function ju(t,n,e){return new Ru({method:"PATCH",url:t,body:n,headers:e})}Ct.a.zip=xu;var Au=vt(function(t,n){return t.response});function Nu(t,n){return Au(new Ru({method:"GET",url:t,responseType:"json",headers:n}))}var Ru=function(t){function n(n){t.call(this);var e={async:!0,createXHR:function(){return this.crossDomain?(function(){if(kt.a.XMLHttpRequest)return new kt.a.XMLHttpRequest;if(kt.a.XDomainRequest)return new kt.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}).call(this):function(){if(kt.a.XMLHttpRequest)return new kt.a.XMLHttpRequest;var t=void 0;try{for(var n=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],e=0;e<3;e++)try{if(new kt.a.ActiveXObject(t=n[e]))break}catch(t){}return new kt.a.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof n)e.url=n;else for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);this.request=e}var e;return Object(o.b)(n,t),n.prototype._subscribe=function(t){return new Du(t,this.request)},n.create=((e=function(t){return new n(t)}).get=Tu,e.post=Pu,e.delete=Iu,e.put=Mu,e.patch=ju,e.getJSON=Nu,e),n}(Ct.a),Du=function(t){function n(n,e){t.call(this,n),this.request=e,this.done=!1;var r=e.headers=e.headers||{};e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||kt.a.FormData&&e.body instanceof kt.a.FormData||"undefined"==typeof e.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),e.body=this.serializeBody(e.body,e.headers["Content-Type"]),this.send()}return Object(o.b)(n,t),n.prototype.next=function(t){this.done=!0;var n=this.destination,e=new Vu(t,this.xhr,this.request);n.next(e)},n.prototype.send=function(){var t=this.request,n=this.request,e=n.user,r=n.method,i=n.url,o=n.async,l=n.password,u=n.headers,s=n.body,a=t.createXHR,c=Object(Vl.a)(a).call(t);if(c===Fl.a)this.error(Fl.a.e);else{if(this.xhr=c,this.setupEvents(c,t),(e?Object(Vl.a)(c.open).call(c,r,i,o,e,l):Object(Vl.a)(c.open).call(c,r,i,o))===Fl.a)return this.error(Fl.a.e),null;if(o&&(c.timeout=t.timeout,c.responseType=t.responseType),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),this.setHeaders(c,u),(s?Object(Vl.a)(c.send).call(c,s):Object(Vl.a)(c.send).call(c))===Fl.a)return this.error(Fl.a.e),null}return c},n.prototype.serializeBody=function(t,n){if(!t||"string"==typeof t)return t;if(kt.a.FormData&&t instanceof kt.a.FormData)return t;if(n){var e=n.indexOf(";");-1!==e&&(n=n.substring(0,e))}switch(n){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(n){return encodeURI(n)+"="+encodeURI(t[n])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},n.prototype.setHeaders=function(t,n){for(var e in n)n.hasOwnProperty(e)&&t.setRequestHeader(e,n[e])},n.prototype.setupEvents=function(t,n){var e,r,i=n.progressSubscriber;function o(t){var n=o.subscriber,e=o.progressSubscriber,r=o.request;e&&e.error(t),n.error(new Bu(this,r))}function l(t){var n=l.subscriber,e=l.progressSubscriber,r=l.request;if(4===this.readyState){var i=1223===this.status?204:this.status;0===i&&(i=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),200<=i&&i<300?(e&&e.complete(),n.next(t),n.complete()):(e&&e.error(t),n.error(new Fu("ajax error "+i,this,r)))}}t.ontimeout=o,o.request=n,o.subscriber=this,o.progressSubscriber=i,t.upload&&"withCredentials"in t&&(i&&(e=function(t){e.progressSubscriber.next(t)},kt.a.XDomainRequest?t.onprogress=e:t.upload.onprogress=e,e.progressSubscriber=i),t.onerror=r=function(t){var n=r.progressSubscriber,e=r.subscriber,i=r.request;n&&n.error(t),e.error(new Fu("ajax error",this,i))},r.request=n,r.subscriber=this,r.progressSubscriber=i),t.onreadystatechange=l,l.subscriber=this,l.progressSubscriber=i,l.request=n},n.prototype.unsubscribe=function(){var n=this.xhr;!this.done&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},n}(mt.a),Vu=function(){return function(t,n,e){this.originalEvent=t,this.xhr=n,this.request=e,this.status=n.status,this.responseType=n.responseType||e.responseType,this.response=Lu(this.responseType,n)}}(),Fu=function(t){function n(n,e,r){t.call(this,n),this.message=n,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=Lu(this.responseType,e)}return Object(o.b)(n,t),n}(Error);function Lu(t,n){switch(t){case"json":return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null");case"xml":return n.responseXML;case"text":default:return"response"in n?n.response:n.responseText}}var Bu=function(t){function n(n,e){t.call(this,"ajax timeout",n,e)}return Object(o.b)(n,t),n}(Fu);Ct.a.ajax=Ru.create;var Uu=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e}return Object(o.b)(n,t),n.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):n.flush(this)},n}(ou),zu=new(function(t){function n(){t.apply(this,arguments)}return Object(o.b)(n,t),n}(lu))(Uu),qu=e("1Bqh"),Hu=function(t){function n(n,e,r){void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e}return Object(o.b)(n,t),n.prototype.next=function(n){var e=this._getNow();this._events.push(new Ku(e,n)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,n)},n.prototype._subscribe=function(t){var n,e=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new ct.a;this.hasError?n=Pl.a.EMPTY:this.isStopped?n=Pl.a.EMPTY:(this.observers.push(t),n=new qu.a(this,t)),r&&t.add(t=new qt(t,r));for(var i=e.length,o=0;on&&(o=Math.max(o,i-n)),o>0&&r.splice(0,o),r},n}(at.b),Ku=function(t,n){this.time=t,this.value=n};function Gu(t){for(var n=[],e=1;e0&&this.destination.next(n),t.prototype._complete.call(this)},n}(mt.a),ts=function(t){function n(n,e,r){t.call(this,n),this.bufferSize=e,this.startBufferEvery=r,this.buffers=[],this.count=0}return Object(o.b)(n,t),n.prototype._next=function(t){var n=this.bufferSize,e=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%e==0&&r.push([]);for(var o=r.length;o--;){var l=r[o];l.push(t),l.length===n&&(r.splice(o,1),this.destination.next(l))}},n.prototype._complete=function(){for(var n=this.buffers,e=this.destination;n.length>0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},n}(mt.a);function ns(t){var n=arguments.length,e=uu;Object(Kl.a)(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),function(n){return n.lift(new es(t,r,i,e))}}Ct.a.prototype.bufferCount=function(t,n){return void 0===n&&(n=null),Ju(t,n)(this)};var es=function(){function t(t,n,e,r){this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new rs(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),rs=function(t){function n(n,e,r,i,o){t.call(this,n),this.bufferTimeSpan=e,this.bufferCreationInterval=r,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly)this.add(l.closeAction=o.schedule(is,e,{subscriber:this,context:l,bufferTimeSpan:e}));else{var u={bufferTimeSpan:e,bufferCreationInterval:r,subscriber:this,scheduler:o};this.add(l.closeAction=o.schedule(ls,e,{subscriber:this,context:l})),this.add(o.schedule(os,r,u))}}return Object(o.b)(n,t),n.prototype._next=function(t){for(var n,e=this.contexts,r=e.length,i=0;i0;){var r=n.shift();e.next(r.buffer)}t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.contexts=null},n.prototype.onBufferFull=function(t){this.closeContext(t);var n=t.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){t=this.openContext();var e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(is,e,{subscriber:this,context:t,bufferTimeSpan:e}))}},n.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},n.prototype.closeContext=function(t){this.destination.next(t.buffer);var n=this.contexts;(n?n.indexOf(t):-1)>=0&&n.splice(n.indexOf(t),1)},n}(mt.a);function is(t){var n=t.subscriber,e=t.context;e&&n.closeContext(e),n.closed||(t.context=n.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function os(t){var n=t.bufferCreationInterval,e=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(ls,e,{subscriber:r,context:o})),this.schedule(t,n))}function ls(t){t.subscriber.closeContext(t.context)}function us(t,n){return function(e){return e.lift(new ss(t,n))}}Ct.a.prototype.bufferTime=function(t){var n=arguments.length,e=uu;Object(Kl.a)(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),ns(t,r,i,e)(this)};var ss=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new as(t,this.openings,this.closingSelector))},t}(),as=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(Object(Qt.a)(this,e))}return Object(o.b)(n,t),n.prototype._next=function(t){for(var n=this.contexts,e=n.length,r=0;r0;){var r=e.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,n)},n.prototype._complete=function(){for(var n=this.contexts;n.length>0;){var e=n.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,i){t?this.closeBuffer(t):this.openBuffer(n)},n.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},n.prototype.openBuffer=function(t){try{var n=this.closingSelector.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},n.prototype.closeBuffer=function(t){var n=this.contexts;if(n&&t){var e=t.subscription;this.destination.next(t.buffer),n.splice(n.indexOf(t),1),this.remove(e),e.unsubscribe()}},n.prototype.trySubscribe=function(t){var n=this.contexts,e=new Pl.a,r={buffer:[],subscription:e};n.push(r);var i=Object(Qt.a)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),e.add(i))},n}(Yt.a);function cs(t){return function(n){return n.lift(new hs(t))}}Ct.a.prototype.bufferToggle=function(t,n){return us(t,n)(this)};var hs=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new ps(t,this.closingSelector))},t}(),ps=function(t){function n(n,e){t.call(this,n),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}return Object(o.b)(n,t),n.prototype._next=function(t){this.buffer.push(t)},n.prototype._complete=function(){var n=this.buffer;n&&this.destination.next(n),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},n.prototype.notifyNext=function(t,n,e,r,i){this.openBuffer()},n.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},n.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var n=Object(Vl.a)(this.closingSelector)();n===Fl.a?this.error(Fl.a.e):(t=new Pl.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(Qt.a)(this,n)),this.subscribing=!1)},n}(Yt.a);function fs(t){return function(n){return n.lift(new Yl(t))}}function ds(){for(var t=[],n=0;n0&&e[0].time-r.now()<=0;)e.shift().notification.observe(i);if(e.length>0){var o=Math.max(0,e[0].time-r.now());this.schedule(t,o)}else n.active=!1},n.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},n.prototype.scheduleNotification=function(t){if(!0!==this.errored){var n=this.scheduler,e=new js(n.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(n)}},n.prototype._next=function(t){this.scheduleNotification(Bt.createNext(t))},n.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},n.prototype._complete=function(){this.scheduleNotification(Bt.createComplete())},n}(mt.a),js=function(t,n){this.time=t,this.notification=n};function As(t,n){return n?function(e){return new Ds(e,n).lift(new Ns(t))}:function(n){return n.lift(new Ns(t))}}Ct.a.prototype.delay=function(t,n){return void 0===n&&(n=uu),Ps(t,n)(this)};var Ns=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new Rs(t,this.delayDurationSelector))},t}(),Rs=function(t){function n(n,e){t.call(this,n),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return Object(o.b)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype.notifyComplete=function(t){var n=this.removeSubscription(t);n&&this.destination.next(n),this.tryComplete()},n.prototype._next=function(t){try{var n=this.delayDurationSelector(t);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.completed=!0,this.tryComplete()},n.prototype.removeSubscription=function(t){t.unsubscribe();var n=this.delayNotifierSubscriptions.indexOf(t),e=null;return-1!==n&&(e=this.values[n],this.delayNotifierSubscriptions.splice(n,1),this.values.splice(n,1)),e},n.prototype.tryDelay=function(t,n){var e=Object(Qt.a)(this,t,n);e&&!e.closed&&(this.add(e),this.delayNotifierSubscriptions.push(e)),this.values.push(n)},n.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},n}(Yt.a),Ds=function(t){function n(n,e){t.call(this),this.source=n,this.subscriptionDelay=e}return Object(o.b)(n,t),n.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new Vs(t,this.source))},n}(Ct.a),Vs=function(t){function n(n,e){t.call(this),this.parent=n,this.source=e,this.sourceSubscribed=!1}return Object(o.b)(n,t),n.prototype._next=function(t){this.subscribeToSource()},n.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},n.prototype._complete=function(){this.subscribeToSource()},n.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},n}(mt.a);Ct.a.prototype.delayWhen=function(t,n){return As(t,n)(this)};var Fs=kt.a.Set||function(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}();function Ls(t,n){return function(e){return e.lift(new Bs(t,n))}}var Bs=function(){function t(t,n){this.keySelector=t,this.flushes=n}return t.prototype.call=function(t,n){return n.subscribe(new Us(t,this.keySelector,this.flushes))},t}(),Us=function(t){function n(n,e,r){t.call(this,n),this.keySelector=e,this.values=new Fs,r&&this.add(Object(Qt.a)(this,r))}return Object(o.b)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.values.clear()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},n.prototype._useKeySelector=function(t){var n,e=this.destination;try{n=this.keySelector(t)}catch(t){return void e.error(t)}this._finalizeNext(n,t)},n.prototype._finalizeNext=function(t,n){var e=this.values;e.has(t)||(e.add(t),this.destination.next(n))},n}(Yt.a);function zs(t,n){return function(e){return e.lift(new qs(t,n))}}Ct.a.prototype.distinct=function(t,n){return Ls(t,n)(this)};var qs=function(){function t(t,n){this.compare=t,this.keySelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Hs(t,this.compare,this.keySelector))},t}(),Hs=function(t){function n(n,e,r){t.call(this,n),this.keySelector=r,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}return Object(o.b)(n,t),n.prototype.compare=function(t,n){return t===n},n.prototype._next=function(t){var n=t;if(this.keySelector&&(n=Object(Vl.a)(this.keySelector)(t))===Fl.a)return this.destination.error(Fl.a.e);var e=!1;if(this.hasKey){if((e=Object(Vl.a)(this.compare)(this.key,n))===Fl.a)return this.destination.error(Fl.a.e)}else this.hasKey=!0;!1===Boolean(e)&&(this.key=n,this.destination.next(t))},n}(mt.a);function Ks(t,n){return zs(function(e,r){return n?n(e[t],r[t]):e[t]===r[t]})}function Gs(t,n,e){return function(r){return r.lift(new Ws(t,n,e))}}Ct.a.prototype.distinctUntilChanged=function(t,n){return zs(t,n)(this)},Ct.a.prototype.distinctUntilKeyChanged=function(t,n){return Ks(t,n)(this)};var Ws=function(){function t(t,n,e){this.nextOrObserver=t,this.error=n,this.complete=e}return t.prototype.call=function(t,n){return n.subscribe(new Ys(t,this.nextOrObserver,this.error,this.complete))},t}(),Ys=function(t){function n(n,e,r,i){t.call(this,n);var o=new mt.a(e,r,i);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return Object(o.b)(n,t),n.prototype._next=function(t){var n=this.safeSubscriber;n.next(t),n.syncErrorThrown?this.destination.error(n.syncErrorValue):this.destination.next(t)},n.prototype._error=function(t){var n=this.safeSubscriber;n.error(t),this.destination.error(n.syncErrorThrown?n.syncErrorValue:t)},n.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},n}(mt.a);function Qs(t,n,e){return Gs(t,n,e)(this)}function Zs(){return function(t){return t.lift(new Js)}}Ct.a.prototype.do=Qs,Ct.a.prototype._do=Qs;var Js=function(){function t(){}return t.prototype.call=function(t,n){return n.subscribe(new $s(t))},t}(),$s=function(t){function n(n){t.call(this,n),this.hasCompleted=!1,this.hasSubscription=!1}return Object(o.b)(n,t),n.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(Qt.a)(this,t)))},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(Yt.a);function Xs(t,n){return function(e){return e.lift(new ta(t,n))}}Ct.a.prototype.exhaust=function(){return Zs()(this)};var ta=function(){function t(t,n){this.project=t,this.resultSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new na(t,this.project,this.resultSelector))},t}(),na=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return Object(o.b)(n,t),n.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},n.prototype.tryNext=function(t){var n=this.index++,e=this.destination;try{var r=this.project(t,n);this.hasSubscription=!0,this.add(Object(Qt.a)(this,r,t,n))}catch(t){e.error(t)}},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,n,e,r):o.next(n)},n.prototype.trySelectResult=function(t,n,e,r){var i=this.resultSelector,o=this.destination;try{var l=i(t,n,e,r);o.next(l)}catch(t){o.error(t)}},n.prototype.notifyError=function(t){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(Yt.a);function ea(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(r){return r.lift(new ra(t,n,e))}}Ct.a.prototype.exhaustMap=function(t,n){return Xs(t,n)(this)};var ra=function(){function t(t,n,e){this.project=t,this.concurrent=n,this.scheduler=e}return t.prototype.call=function(t,n){return n.subscribe(new ia(t,this.project,this.concurrent,this.scheduler))},t}(),ia=function(t){function n(n,e,r,i){t.call(this,n),this.project=e,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(n.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},n}(Yt.a);function oa(t,n){return function(e){return e.lift(new la(t,n))}}Ct.a.prototype.expand=function(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),ea(t,n=(n||0)<1?Number.POSITIVE_INFINITY:n,e)(this)};var la=function(){function t(t,n){if(this.index=t,this.defaultValue=n,t<0)throw new xn}return t.prototype.call=function(t,n){return n.subscribe(new ua(t,this.index,this.defaultValue))},t}(),ua=function(t){function n(n,e,r){t.call(this,n),this.index=e,this.defaultValue=r}return Object(o.b)(n,t),n.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},n.prototype._complete=function(){var t=this.destination;this.index>=0&&("undefined"!=typeof this.defaultValue?t.next(this.defaultValue):t.error(new xn)),t.complete()},n}(mt.a);function sa(t){return function(n){return n.lift(new aa(t))}}Ct.a.prototype.elementAt=function(t,n){return oa(t,n)(this)};var aa=function(){function t(t){this.callback=t}return t.prototype.call=function(t,n){return n.subscribe(new ca(t,this.callback))},t}(),ca=function(t){function n(n,e){t.call(this,n),this.add(new Pl.a(e))}return Object(o.b)(n,t),n}(mt.a);function ha(t){return sa(t)(this)}function pa(t,n){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(e){return e.lift(new fa(t,e,!1,n))}}Ct.a.prototype.finally=ha,Ct.a.prototype._finally=ha;var fa=function(){function t(t,n,e,r){this.predicate=t,this.source=n,this.yieldIndex=e,this.thisArg=r}return t.prototype.call=function(t,n){return n.subscribe(new da(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),da=function(t){function n(n,e,r,i,o){t.call(this,n),this.predicate=e,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return Object(o.b)(n,t),n.prototype.notifyComplete=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype._next=function(t){var n=this.predicate,e=this.thisArg,r=this.index++;try{n.call(e||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},n}(mt.a);function ya(t,n){return function(e){return e.lift(new fa(t,e,!0,n))}}Ct.a.prototype.find=function(t,n){return pa(t,n)(this)},Ct.a.prototype.findIndex=function(t,n){return ya(t,n)(this)};var ga=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var n=this._keys.indexOf(t);return-1===n?void 0:this._values[n]},t.prototype.set=function(t,n){var e=this._keys.indexOf(t);return-1===e?(this._keys.push(t),this._values.push(n),this.size++):this._values[e]=n,this},t.prototype.delete=function(t){var n=this._keys.indexOf(t);return-1!==n&&(this._values.splice(n,1),this._keys.splice(n,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,n){for(var e=0;e0?n:e}:function(t,n){return t>n?t:n})}function qa(){for(var t=[],n=0;n0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(Yt.a);function Wa(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Ha(t,n,e)(this)}function Ya(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return r.lift(new Qa(t,n,e))}}Ct.a.prototype.flatMapTo=Wa,Ct.a.prototype.mergeMapTo=Wa;var Qa=function(){function t(t,n,e){this.accumulator=t,this.seed=n,this.concurrent=e}return t.prototype.call=function(t,n){return n.subscribe(new Za(t,this.accumulator,this.seed,this.concurrent))},t}(),Za=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(o.b)(n,t),n.prototype._next=function(t){if(this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(Yt.a);function Ja(t){return In("function"==typeof t?function(n,e){return t(n,e)<0?n:e}:function(t,n){return t-1&&(this.count=e-1),n.subscribe(this._unsubscribeAndRecycle())}},n}(mt.a);function pc(t){return function(n){return n.lift(new fc(t))}}Ct.a.prototype.repeat=function(t){return void 0===t&&(t=-1),ac(t)(this)};var fc=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){return n.subscribe(new dc(t,this.notifier,n))},t}(),dc=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r,this.sourceIsBeingSubscribedTo=!0}return Object(o.b)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},n.prototype.notifyComplete=function(n){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},n.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},n.prototype._unsubscribe=function(){var t=this.notifications,n=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype._unsubscribeAndRecycle=function(){var n=this.notifications,e=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=e,this.retriesSubscription=r,this},n.prototype.subscribeToRetries=function(){this.notifications=new at.b;var n=Object(Vl.a)(this.notifier)(this.notifications);if(n===Fl.a)return t.prototype.complete.call(this);this.retries=n,this.retriesSubscription=Object(Qt.a)(this,n)},n}(Yt.a);function yc(t){return void 0===t&&(t=-1),function(n){return n.lift(new gc(t,n))}}Ct.a.prototype.repeatWhen=function(t){return pc(t)(this)};var gc=function(){function t(t,n){this.count=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new mc(t,this.count,this.source))},t}(),mc=function(t){function n(n,e,r){t.call(this,n),this.count=e,this.source=r}return Object(o.b)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,n);r>-1&&(this.count=r-1),e.subscribe(this._unsubscribeAndRecycle())}},n}(mt.a);function vc(t){return function(n){return n.lift(new _c(t,n))}}Ct.a.prototype.retry=function(t){return void 0===t&&(t=-1),yc(t)(this)};var _c=function(){function t(t,n){this.notifier=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new bc(t,this.notifier,this.source))},t}(),bc=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r}return Object(o.b)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(e=new at.b,(r=Object(Vl.a)(this.notifier)(e))===Fl.a)return t.prototype.error.call(this,Fl.a.e);i=Object(Qt.a)(this,r)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=r,this.retriesSubscription=i,e.next(n)}},n.prototype._unsubscribe=function(){var t=this.errors,n=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.errors,l=this.retries,u=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=l,this.retriesSubscription=u,this.source.subscribe(this)},n}(Yt.a);function wc(t){return function(n){return n.lift(new xc(t))}}Ct.a.prototype.retryWhen=function(t){return vc(t)(this)};var xc=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){var e=new Cc(t),r=n.subscribe(e);return r.add(Object(Qt.a)(e,this.notifier)),r},t}(),Cc=function(t){function n(){t.apply(this,arguments),this.hasValue=!1}return Object(o.b)(n,t),n.prototype._next=function(t){this.value=t,this.hasValue=!0},n.prototype.notifyNext=function(t,n,e,r,i){this.emitValue()},n.prototype.notifyComplete=function(){this.emitValue()},n.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},n}(Yt.a);function Sc(t,n){return void 0===n&&(n=uu),function(e){return e.lift(new Oc(t,n))}}Ct.a.prototype.sample=function(t){return wc(t)(this)};var Oc=function(){function t(t,n){this.period=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new Ec(t,this.period,this.scheduler))},t}(),Ec=function(t){function n(n,e,r){t.call(this,n),this.period=e,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(kc,e,{subscriber:this,period:e}))}return Object(o.b)(n,t),n.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},n.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},n}(mt.a);function kc(t){var n=t.period;t.subscriber.notifyNext(),this.schedule(t,n)}function Tc(t,n){return function(e){return e.lift(new Pc(t,n))}}Ct.a.prototype.sampleTime=function(t,n){return void 0===n&&(n=uu),Sc(t,n)(this)},Ct.a.prototype.scan=function(t,n){return arguments.length>=2?_n(t,n)(this):_n(t)(this)};var Pc=function(){function t(t,n){this.compareTo=t,this.comparor=n}return t.prototype.call=function(t,n){return n.subscribe(new Ic(t,this.compareTo,this.comparor))},t}(),Ic=function(t){function n(n,e,r){t.call(this,n),this.compareTo=e,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(e.subscribe(new Mc(n,this)))}return Object(o.b)(n,t),n.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},n.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},n.prototype.checkValues=function(){for(var t=this._a,n=this._b,e=this.comparor;t.length>0&&n.length>0;){var r=t.shift(),i=n.shift(),o=!1;e?(o=Object(Vl.a)(e)(r,i))===Fl.a&&this.destination.error(Fl.a.e):o=r===i,o||this.emit(!1)}},n.prototype.emit=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},n}(mt.a),Mc=function(t){function n(n,e){t.call(this,n),this.parent=e}return Object(o.b)(n,t),n.prototype._next=function(t){this.parent.nextB(t)},n.prototype._error=function(t){this.parent.error(t)},n.prototype._complete=function(){this.parent._complete()},n}(mt.a);Ct.a.prototype.sequenceEqual=function(t,n){return Tc(t,n)(this)};var jc=e("Rf9G");function Ac(t,n,e){return function(r){return r.lift(function(t,n,e){var r,i,o=0,l=!1,u=!1;return function(s){o++,r&&!l||(l=!1,r=new Hu(t,n,e),i=s.subscribe({next:function(t){r.next(t)},error:function(t){l=!0,r.error(t)},complete:function(){u=!0,r.complete()}}));var a=r.subscribe(this);return function(){o--,a.unsubscribe(),i&&0===o&&u&&i.unsubscribe()}}}(t,n,e))}}function Nc(t){return function(n){return n.lift(new Rc(t,n))}}Ct.a.prototype.share=jc.a,Ct.a.prototype.shareReplay=function(t,n,e){return Ac(t,n,e)(this)};var Rc=function(){function t(t,n){this.predicate=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new Dc(t,this.predicate,this.source))},t}(),Dc=function(t){function n(n,e,r){t.call(this,n),this.predicate=e,this.source=r,this.seenValue=!1,this.index=0}return Object(o.b)(n,t),n.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},n.prototype._next=function(t){var n=this.index++;this.predicate?this.tryNext(t,n):this.applySingleValue(t)},n.prototype.tryNext=function(t,n){try{this.predicate(t,n,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new rn)},n}(mt.a);function Vc(t){return function(n){return n.lift(new Fc(t))}}Ct.a.prototype.single=function(t){return Nc(t)(this)};var Fc=function(){function t(t){this.total=t}return t.prototype.call=function(t,n){return n.subscribe(new Lc(t,this.total))},t}(),Lc=function(t){function n(n,e){t.call(this,n),this.total=e,this.count=0}return Object(o.b)(n,t),n.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},n}(mt.a);function Bc(t){return function(n){return n.lift(new Uc(t))}}Ct.a.prototype.skip=function(t){return Vc(t)(this)};var Uc=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new xn}return t.prototype.call=function(t,n){return n.subscribe(0===this._skipCount?new mt.a(t):new zc(t,this._skipCount))},t}(),zc=function(t){function n(n,e){t.call(this,n),this._skipCount=e,this._count=0,this._ring=new Array(e)}return Object(o.b)(n,t),n.prototype._next=function(t){var n=this._skipCount,e=this._count++;if(e1?new pt.a(t,e):new Ft.a(e),n)}}Ct.a.prototype.skipWhile=function(t){return Gc(t)(this)},Ct.a.prototype.startWith=function(){for(var t=[],n=0;n0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n.scheduled||(n.scheduled=Zc.setImmediate(n.flush.bind(n,null))))},n.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);0===n.actions.length&&(Zc.clearImmediate(e),n.scheduled=void 0)},n}(ou),$c=new(function(t){function n(){t.apply(this,arguments)}return Object(o.b)(n,t),n.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var n,e=this.actions,r=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r0?this.startWindowEvery:this.windowSize,e=this.destination,r=this.windowSize,i=this.windows,o=i.length,l=0;l=0&&u%n==0&&!this.closed&&i.shift().complete(),++this.count%n==0&&!this.closed){var s=new at.b;i.push(s),e.next(s)}},n.prototype._error=function(t){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},n.prototype._unsubscribe=function(){this.count=0,this.windows=null},n}(mt.a);function Hh(t){var n=uu,e=null,r=Number.POSITIVE_INFINITY;return Object(Kl.a)(arguments[3])&&(n=arguments[3]),Object(Kl.a)(arguments[2])?n=arguments[2]:iu(arguments[2])&&(r=arguments[2]),Object(Kl.a)(arguments[1])?n=arguments[1]:iu(arguments[1])&&(e=arguments[1]),function(i){return i.lift(new Kh(t,e,r,n))}}Ct.a.prototype.windowCount=function(t,n){return void 0===n&&(n=0),Uh(t,n)(this)};var Kh=function(){function t(t,n,e,r){this.windowTimeSpan=t,this.windowCreationInterval=n,this.maxWindowSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new Wh(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),Gh=function(t){function n(){t.apply(this,arguments),this._numberOfNextedValues=0}return Object(o.b)(n,t),n.prototype.next=function(n){this._numberOfNextedValues++,t.prototype.next.call(this,n)},Object.defineProperty(n.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),n}(at.b),Wh=function(t){function n(n,e,r,i,o){t.call(this,n),this.destination=n,this.windowTimeSpan=e,this.windowCreationInterval=r,this.maxWindowSize=i,this.scheduler=o,this.windows=[];var l=this.openWindow();if(null!==r&&r>=0){var u={windowTimeSpan:e,windowCreationInterval:r,subscriber:this,scheduler:o};this.add(o.schedule(Zh,e,{subscriber:this,window:l,context:null})),this.add(o.schedule(Qh,r,u))}else this.add(o.schedule(Yh,e,{subscriber:this,window:l,windowTimeSpan:e}))}return Object(o.b)(n,t),n.prototype._next=function(t){for(var n=this.windows,e=n.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},n.prototype._error=function(t){for(var n=this.windows;n.length>0;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){for(var t=this.windows;t.length>0;){var n=t.shift();n.closed||n.complete()}this.destination.complete()},n.prototype.openWindow=function(){var t=new Gh;return this.windows.push(t),this.destination.next(t),t},n.prototype.closeWindow=function(t){t.complete();var n=this.windows;n.splice(n.indexOf(t),1)},n}(mt.a);function Yh(t){var n=t.subscriber,e=t.windowTimeSpan,r=t.window;r&&n.closeWindow(r),t.window=n.openWindow(),this.schedule(t,e)}function Qh(t){var n=t.windowTimeSpan,e=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=e.openWindow(),l={action:this,subscription:null};l.subscription=r.schedule(Zh,n,{subscriber:e,window:o,context:l}),this.add(l.subscription),this.schedule(t,i)}function Zh(t){var n=t.subscriber,e=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),n.closeWindow(e)}function Jh(t,n){return function(e){return e.lift(new $h(t,n))}}Ct.a.prototype.windowTime=function(t){var n=uu,e=null,r=Number.POSITIVE_INFINITY;return Object(Kl.a)(arguments[3])&&(n=arguments[3]),Object(Kl.a)(arguments[2])?n=arguments[2]:iu(arguments[2])&&(r=arguments[2]),Object(Kl.a)(arguments[1])?n=arguments[1]:iu(arguments[1])&&(e=arguments[1]),Hh(t,e,r,n)(this)};var $h=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Xh(t,this.openings,this.closingSelector))},t}(),Xh=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=Object(Qt.a)(this,e,e))}return Object(o.b)(n,t),n.prototype._next=function(t){var n=this.contexts;if(n)for(var e=n.length,r=0;r0){var l=o.indexOf(e);-1!==l&&o.splice(l,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=[t].concat(this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(Yt.a);function lp(t){return function(n){return n.lift(new Cu(t))}}Ct.a.prototype.withLatestFrom=function(){for(var t=[],n=0;n0?t+n.balance:t},0),t.updateTransactions()},function(n){n.status>=400&&n.status<500?(t.loadingMsg="Loading error",t.longErrorMsg="Without transactions"):(t.loadingMsg="Loading error",t.longErrorMsg="Error loading data, try again later...")}),this.route.params.switchMap(function(n){return t.api.getBalance(n.address)}).subscribe(function(n){return t.balance=n.confirmed.coins/1e6})},t.prototype.updateTransactions=function(){this.pageIndex>this.transactions.length/this.pageSize&&(this.pageIndex=Math.floor(this.transactions.length/this.pageSize)),this.pageTransactions=[];for(var t=this.pageIndex*this.pageSize;t<(this.pageIndex+1)*this.pageSize&&t=400&&n.status<500&&(t.longErrorMsg="The address does not exist")})},t}(),pp=function(){},fp=function(){function t(t){var n=this;this.router=t,t.events.subscribe(function(t){n.navigationInterceptor(t),t instanceof gr&&window.scrollTo(0,0)})}return t.prototype.navigationInterceptor=function(t){t instanceof yr&&(this.loading=!0),t instanceof gr&&(this.loading=!1),t instanceof mr&&(this.loading=!1),t instanceof vr&&(this.loading=!1)},t}(),dp=i._1({encapsulation:0,styles:[[".-details[_ngcontent-%COMP%]{text-align:right}@media (max-width:767px){.-details[_ngcontent-%COMP%]{text-align:left}}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:14px;padding:3px 0;margin-bottom:5px}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{display:inline-block}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-label[_ngcontent-%COMP%]{display:block;color:#92a4ba;float:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-link[_ngcontent-%COMP%]{color:#0072ff;display:inline-block;cursor:pointer}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{display:inline-block;width:120px}"]],data:{}});function yp(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for blocks "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function gp(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function mp(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,yp)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,gp)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function vp(t){return i._25(0,[(t()(),i._3(0,0,null,null,18,"a",[["class","-row"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(3,0,null,null,14,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(5,0,null,null,2,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),i._23(6,null,["",""])),i._18(7,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(9,0,null,null,1,"div",[["class","col-sm-2 col-xs-4 -gray"]],null,null,null,null,null)),(t()(),i._23(10,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(12,0,null,null,1,"div",[["class","col-sm-2 col-xs-4 -gray"]],null,null,null,null,null)),(t()(),i._23(13,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(15,0,null,null,1,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),i._23(16,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+n.context.$implicit.id)},function(t,n){t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,6,0,i._24(n,6,0,t(n,7,0,i._14(n.parent,1),1e3*n.context.$implicit.timestamp,"short"))),t(n,10,0,n.context.$implicit.id),t(n,13,0,n.context.$implicit.transactions.length),t(n,16,0,n.context.$implicit.hash)})}function _p(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,i._6(1,"/app/blocks/",n.component.pageIndex-1,""))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex-1)})}function bp(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,i._6(1,"/app/blocks/",n.component.pageIndex,""))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex)})}function wp(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,i._6(1,"/app/blocks/",n.component.pageIndex+2,""))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex+2)})}function xp(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,i._6(1,"/app/blocks/",n.component.pageIndex+3,""))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex+3)})}function Cp(t){return i._25(0,[(t()(),i._3(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,4,"a",[["class","-first"],["routerLink","/app/blocks/1"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(4,{disabled:0}),i._2(5,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\xab"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(9,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(10,{disabled:0}),i._2(11,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\u2039"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,_p)),i._2(15,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,bp)),i._2(18,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),i._23(21,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,wp)),i._2(24,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,xp)),i._2(27,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(30,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(31,{disabled:0}),i._2(32,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\u203a"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(36,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(37,{disabled:0}),i._2(38,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\xbb"])),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/blocks/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,i._6(1,"/app/blocks/",e.pageIndex>0?e.pageIndex:1,"")),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,i._6(1,"/app/blocks/",e.pageIndex+2=e.pageCount-1)),t(n,38,0,i._6(1,"/app/blocks/",e.pageCount,""))},function(t,n){var e=n.component;t(n,2,0,i._14(n,5).target,i._14(n,5).href),t(n,8,0,i._14(n,11).target,i._14(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,i._14(n,32).target,i._14(n,32).href),t(n,35,0,i._14(n,38).target,i._14(n,38).href)})}function Sp(t){return i._25(0,[i._16(0,lt,[i.s]),i._16(0,et,[i.s]),(t()(),i._3(2,0,null,null,68,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,7,"div",[["class","col-sm-6 -title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,1,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Blocks"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(9,0,null,null,1,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Stats"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(13,0,null,null,56,"div",[["class","col-sm-6 -details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(15,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),i._3(16,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),i._3(17,0,null,null,1,"span",[["class","-label"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Block Height:"])),(t()(),i._23(-1,null,[" "])),(t()(),i._3(20,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),i._23(21,null,["",""])),i._18(22,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(24,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),i._3(25,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),i._3(26,0,null,null,1,"span",[["class","-label"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Current Supply:"])),(t()(),i._23(-1,null,[" "])),(t()(),i._3(29,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),i._23(30,null,["",""])),i._18(31,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(33,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),i._3(34,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),i._3(35,0,null,null,1,"span",[["class","-label"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Total Supply:"])),(t()(),i._23(-1,null,[" "])),(t()(),i._3(38,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),i._23(39,null,["",""])),i._18(40,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(42,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),i._3(43,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),i._3(44,0,null,null,1,"span",[["class","-label"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Current Coinhour Supply:"])),(t()(),i._23(-1,null,[" "])),(t()(),i._3(47,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),i._23(48,null,["",""])),i._18(49,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(51,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),i._3(52,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),i._3(53,0,null,null,1,"span",[["class","-label"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Total Coinhour Supply:"])),(t()(),i._23(-1,null,[" "])),(t()(),i._3(56,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),i._23(57,null,["",""])),i._18(58,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(60,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),i._3(61,0,null,null,2,"a",[["class","-link"],["routerLink","/app/unconfirmedtransactions"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,62).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(62,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["Unconfirmed Transactions"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(65,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),i._3(66,0,null,null,2,"a",[["class","-link"],["routerLink","/app/richlist"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,67).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(67,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["Rich List"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i._3(72,0,null,null,1,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Blocks"])),(t()(),i._23(-1,null,["\n"])),(t()(),i._3(75,0,null,null,29,"div",[["class","table"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(77,0,null,null,20,"div",[["class","-header"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(79,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(81,0,null,null,2,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),i._3(82,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Time"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(85,0,null,null,2,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),i._3(86,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Block Number"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(89,0,null,null,2,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),i._3(90,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Transactions"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(93,0,null,null,2,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),i._3(94,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Blockhash"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,mp)),i._2(100,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,vp)),i._2(103,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Cp)),i._2(107,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,62,0,"/app/unconfirmedtransactions"),t(n,67,0,"/app/richlist"),t(n,100,0,!e.blocks.length),t(n,103,0,e.blocks),t(n,107,0,e.blocks&&e.blocks.length>0)},function(t,n){var e=n.component;t(n,21,0,e.blockCount>0?i._24(n,21,0,t(n,22,0,i._14(n,0),e.blockCount,"1.0-0")):e.loadingMetadataMsg),t(n,30,0,e.currentSupply?i._24(n,30,0,t(n,31,0,i._14(n,0),e.currentSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,39,0,e.totalSupply?i._24(n,39,0,t(n,40,0,i._14(n,0),e.totalSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,48,0,e.currentCoinhourSupply?i._24(n,48,0,t(n,49,0,i._14(n,0),e.currentCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,57,0,e.totalCoinhourSupply?i._24(n,57,0,t(n,58,0,i._14(n,0),e.totalCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,61,0,i._14(n,62).target,i._14(n,62).href),t(n,66,0,i._14(n,67).target,i._14(n,67).href)})}var Op=i.Z("ng-component",Il,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"ng-component",[],null,null,null,Sp,dp)),i._2(1,114688,null,0,Il,[xl,Tl,Pi,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Ep=function(){function t(){this.animState=t.hideAnimName,this.showLabel=!1,this.cssClass="copy-button"}return t.prototype.copy=function(){var n=document.createElement("textarea");n.style.position="fixed",n.style.left="1px",n.style.top="1px",n.style.width="1px",n.style.height="1px",n.style.opacity="0",n.value=this.text,document.body.appendChild(n),n.focus(),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.animState=t.showAnimName,this.showLabel=!0},t.prototype.animationDone=function(n){n.toState==t.showAnimName?this.animState=t.hideAnimName:this.showLabel=!1},t.showAnimName="show",t.hideAnimName="hide",t}(),kp=i._1({encapsulation:0,styles:[[".icon[_ngcontent-%COMP%]{padding:5px 12px;position:absolute;margin-top:-8px;font-family:'Font Awesome 5 Free';font-size:14px;color:#dfdfdf;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.icon[_ngcontent-%COMP%]:hover{color:#bbb}.icon[_ngcontent-%COMP%]:active{color:#9b9b9b}.label[_ngcontent-%COMP%]{position:absolute;font-size:14px;top:-30px;left:5px;margin-left:-50%;background-color:rgba(0,0,0,.7);color:#fff;padding:5px 10px;pointer-events:none}"]],data:{animation:[{type:7,name:"showMessage",definitions:[{type:0,name:"show",styles:{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"hide",styles:{type:6,styles:{opacity:0,transform:"translateY(-10px)"},offset:null},options:void 0},{type:1,expr:"void => hide",animation:[{type:6,styles:{opacity:0,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"0ms 0ms"}],options:null},{type:1,expr:"* => show",animation:[{type:6,styles:{opacity:0,transform:"translateY(10px)"},offset:null},{type:4,styles:null,timings:"200ms 0ms ease-out"}],options:null},{type:1,expr:"* => hide",animation:[{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"200ms 500ms ease-in"}],options:null}],options:{}}]}});function Tp(t){return i._25(0,[(t()(),i._3(0,0,null,null,4,"div",[["class","icon"],["unselectable","on"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.copy()&&r),r},null,null)),(t()(),i._23(-1,null,["\n \uf0c5\n "])),(t()(),i._3(2,0,null,null,1,"div",[["class","label"]],[[2,"hidden",null],[24,"@showMessage",0]],[[null,"@showMessage.done"]],function(t,n,e){var r=!0;return"@showMessage.done"===n&&(r=!1!==t.component.animationDone(e)&&r),r},null,null)),(t()(),i._23(-1,null,["Copied"])),(t()(),i._23(-1,null,["\n"]))],null,function(t,n){var e=n.component;t(n,2,0,!e.showLabel,e.animState)})}var Pp=function(){function t(){}return t.prototype.transform=function(t){return t.reduce(function(t,n){return t+n.outputs.reduce(function(t,n){return t+n.coins},0)},0)},t}(),Ip=i._1({encapsulation:0,styles:[[""]],data:{}});function Mp(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/block/"+n.component.block.id)},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.block.hash)})}function jp(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(1,49152,null,0,Ep,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.block.hash)},function(t,n){t(n,0,0,i._14(n,1).cssClass)})}function Ap(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Np(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/block/"+(n.component.block.id-1))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.block.parent_hash)})}function Rp(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(1,49152,null,0,Ep,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.block.parent_hash)},function(t,n){t(n,0,0,i._14(n,1).cssClass)})}function Dp(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Without parent block"]))],null,null)}function Vp(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Fp(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for transactions "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function Lp(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Bp(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Fp)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,Lp)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function Up(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.parent.context.$implicit.id)},function(t,n){t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,n.parent.context.$implicit.id)})}function zp(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent.parent,1),n.context.$implicit.coins,"1.0-6")))})}function qp(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent.parent,1),n.context.$implicit.coins,"1.0-6")))})}function Hp(t){return i._25(0,[(t()(),i._3(0,0,null,null,63,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,22,"div",[["class","-title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,16,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,13,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,3,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Transaction ID"])),(t()(),i._3(12,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,[":"])),(t()(),i._3(14,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),i.Y(16777216,null,null,1,null,Up)),i._2(18,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._3(19,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(20,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n\n "])),(t()(),i._3(26,0,null,null,12,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(28,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(30,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(34,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(35,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(40,0,null,null,22,"div",[["class","-data"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(42,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(44,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(46,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,zp)),i._2(50,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(53,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(55,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,qp)),i._2(59,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,18,0,n.context.$implicit),t(n,20,0,n.context.$implicit.id),t(n,50,0,n.context.$implicit.inputs),t(n,59,0,n.context.$implicit.outputs)},function(t,n){t(n,19,0,i._14(n,20).cssClass)})}function Kp(t){return i._25(0,[(t()(),i._3(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Hp)),i._2(3,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,3,0,n.component.block.transactions)},null)}function Gp(t){return i._25(0,[i._16(0,et,[i.s]),i._16(0,lt,[i.s]),i._16(0,Pp,[]),(t()(),i._3(3,0,null,null,74,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(5,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Block Details"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,68,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(11,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Height"])),(t()(),i._3(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(14,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(15,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(17,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(18,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Timestamp"])),(t()(),i._3(20,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(22,null,[" "," "])),i._18(23,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(25,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(26,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Size"])),(t()(),i._3(28,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(29,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(30,null,[" "," "])),i._18(31,1),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(33,0,null,null,14,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(34,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Hash"])),(t()(),i._3(36,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(37,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Mp)),i._2(40,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,jp)),i._2(43,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Ap)),i._2(46,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(49,0,null,null,17,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(50,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Parent Hash"])),(t()(),i._3(52,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(53,0,null,null,13,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Np)),i._2(56,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Rp)),i._2(59,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Dp)),i._2(62,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Vp)),i._2(65,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(68,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(69,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Total Amount"])),(t()(),i._3(71,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(72,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),i._23(73,null,[" "," "])),i._18(74,1),i._18(75,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Bp)),i._2(80,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Kp)),i._2(83,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,40,0,e.block),t(n,43,0,e.block),t(n,46,0,!e.block),t(n,56,0,e.block&&e.block.parent_hash),t(n,59,0,e.block&&e.block.parent_hash),t(n,62,0,e.block&&!e.block.parent_hash),t(n,65,0,!e.block),t(n,80,0,void 0===e.block),t(n,83,0,e.block)},function(t,n){var e=n.component;t(n,15,0,e.block?e.block.id:e.loadingMsg),t(n,22,0,e.block?i._24(n,22,0,t(n,23,0,i._14(n,0),1e3*e.block.timestamp,"short")):e.loadingMsg),t(n,30,0,e.block?i._24(n,30,0,t(n,31,0,i._14(n,1),e.block.size))+" bytes":e.loadingMsg),t(n,73,0,e.block?i._24(n,73,0,t(n,75,0,i._14(n,1),i._24(n,73,0,t(n,74,0,i._14(n,2),e.block.transactions)),"1.0-6"))+" SKY":e.loadingMsg)})}var Wp=i.Z("app-block-details",Rl,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-block-details",[],null,null,null,Gp,Ip)),i._2(1,114688,null,0,Rl,[Tl,Pi,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Yp=function(){function t(){this.size=130,this.level="M",this.colordark="#000000",this.colorlight="#ffffff",this.usesvg=!1}return t.prototype.ngOnInit=function(){new QRCode(this.qr.nativeElement,{text:this.string,width:this.size,height:this.size,colorDark:this.colordark,colorLight:this.colorlight,useSVG:this.usesvg,correctLevel:QRCode.CorrectLevel[this.level.toString()]})},t}(),Qp=i._1({encapsulation:0,styles:[[""]],data:{}});function Zp(t){return i._25(0,[i._21(402653184,1,{qr:0}),(t()(),i._3(1,0,[[1,0],["qr",1]],null,0,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n\n"]))],null,null)}var Jp=i._1({encapsulation:0,styles:[[".-right-margin[_ngcontent-%COMP%]{padding-right:150px}.-qr-code[_ngcontent-%COMP%]{height:1px;text-align:right}app-qr-code[_ngcontent-%COMP%]{position:relative;top:-131px;width:130px;display:inline-block}@media (max-width:767px){.-right-margin[_ngcontent-%COMP%]{padding-right:0}app-qr-code[_ngcontent-%COMP%]{position:inherit;display:block;margin-bottom:5px}}@media (min-width:768px){.-tx-number[_ngcontent-%COMP%]{padding-top:0!important}}"]],data:{}});function $p(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-qr-code",[],null,null,null,Zp,Qp)),i._2(1,114688,null,0,Yp,[],{string:[0,"string"]},null)],function(t,n){t(n,1,0,n.component.address)},null)}function Xp(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["Unspent outputs"]))],function(t,n){t(n,1,0,"/app/unspent/"+n.component.address)},function(t,n){t(n,0,0,i._14(n,1).target,i._14(n,1).href)})}function tf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function nf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-qr-code",[],null,null,null,Zp,Qp)),i._2(1,114688,null,0,Yp,[],{string:[0,"string"]},null)],function(t,n){t(n,1,0,n.component.address)},null)}function ef(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for transactions "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function rf(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function of(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,ef)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,rf)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function lf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),i._23(-1,null,["(pending)"]))],null,null)}function uf(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))})}function sf(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))})}function af(t){return i._25(0,[(t()(),i._3(0,0,null,null,102,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,42,"div",[["class","-title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,39,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,28,"div",[["class","col-md-10 col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,25,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,3,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Transaction ID"])),(t()(),i._3(12,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,[":"])),(t()(),i._3(14,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,5,"div",[["class","-address"]],null,null,null,null,null)),(t()(),i._3(17,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,18).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(18,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(19,null,["",""])),(t()(),i._3(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(21,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(23,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(25,0,null,null,7,"div",[["class","-label"]],null,null,null,null,null)),i._2(26,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(27,{"-red":0,"-green":1}),(t()(),i._23(28,null,["\n "," SKY "])),i._18(29,2),(t()(),i.Y(16777216,null,null,1,null,lf)),i._2(31,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(36,0,null,null,6,"div",[["class","col-md-2 col-sm-12 -date"]],null,null,null,null,null)),(t()(),i._3(37,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(38,0,null,null,2,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Date:"])),(t()(),i._3(40,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i._23(41,null,["",""])),i._18(42,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n\n "])),(t()(),i._3(46,0,null,null,12,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(48,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(50,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(51,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(54,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(55,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(60,0,null,null,41,"div",[["class","-data"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(62,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(64,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(66,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,uf)),i._2(70,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(73,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(75,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,sf)),i._2(79,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(83,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(85,0,null,null,14,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(87,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Final address balance"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(90,0,null,null,8,"div",[["class","-final-balance"]],null,null,null,null,null)),(t()(),i._3(91,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),i._3(92,0,null,null,1,"div",[["class","-transparent -not-xs -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Final address balance:\xa0"])),(t()(),i._3(94,0,null,null,1,"div",[["class","-transparent -xs-only -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(96,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(97,null,["",""])),i._18(98,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,18,0,"/app/transaction/"+n.context.$implicit.id),t(n,21,0,n.context.$implicit.id),t(n,26,0,"-label",t(n,27,0,n.context.$implicit.balance<0,n.context.$implicit.balance>=0)),t(n,31,0,!n.context.$implicit.status),t(n,70,0,n.context.$implicit.inputs),t(n,79,0,n.context.$implicit.outputs)},function(t,n){var e=n.component;t(n,17,0,i._14(n,18).target,i._14(n,18).href),t(n,19,0,n.context.$implicit.id),t(n,20,0,i._14(n,21).cssClass),t(n,28,0,(n.context.$implicit.balance<0?"":"+")+i._24(n,28,0,t(n,29,0,i._14(n.parent,0),n.context.$implicit.balance,"1.0-6"))),t(n,41,0,n.context.$implicit?i._24(n,41,0,t(n,42,0,i._14(n.parent,1),1e3*n.context.$implicit.timestamp,"short")):e.loadingMsg),t(n,97,0,i._24(n,97,0,t(n,98,0,i._14(n.parent,0),n.context.$implicit.addressBalance,"1.0-6")))})}function cf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex-1))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex-1)})}function hf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+e.pageIndex)},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex)})}function pf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+2))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex+2)})}function ff(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+3))},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.pageIndex+3)})}function df(t){return i._25(0,[(t()(),i._3(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,4,"a",[["class","-first"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(4,{disabled:0}),i._2(5,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\xab"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(9,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(10,{disabled:0}),i._2(11,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\u2039"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,cf)),i._2(15,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,hf)),i._2(18,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),i._23(21,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,pf)),i._2(24,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,ff)),i._2(27,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(30,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(31,{disabled:0}),i._2(32,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\u203a"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(36,278528,null,0,A,[i.q,i.r,i.k,i.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i._17(37,{disabled:0}),i._2(38,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\xbb"])),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/address/"+e.address+"/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,"/app/address/"+e.address+"/"+(e.pageIndex>0?e.pageIndex:1)),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,"/app/address/"+e.address+"/"+(e.pageIndex+2=e.pageCount-1)),t(n,38,0,"/app/address/"+e.address+"/"+e.pageCount)},function(t,n){var e=n.component;t(n,2,0,i._14(n,5).target,i._14(n,5).href),t(n,8,0,i._14(n,11).target,i._14(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,i._14(n,32).target,i._14(n,32).href),t(n,35,0,i._14(n,38).target,i._14(n,38).href)})}function yf(t){return i._25(0,[i._16(0,lt,[i.s]),i._16(0,et,[i.s]),(t()(),i._3(2,0,null,null,56,"div",[["class","element-details-wrapper -right-margin"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,1,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),i._23(5,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(7,0,null,null,1,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Address"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,47,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(12,0,null,null,8,"div",[["class","-row -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,$p)),i._2(15,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(17,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Address"])),(t()(),i._3(19,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._23(20,null,[" ","\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(22,0,null,null,5,"div",[["class","-row -tx-number"]],null,null,null,null,null)),(t()(),i._3(23,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["# of Transactions"])),(t()(),i._3(25,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(26,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(27,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(29,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(30,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Total Received"])),(t()(),i._3(32,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(33,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(34,null,[" "," "])),i._18(35,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(37,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(38,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Current Balance"])),(t()(),i._3(40,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(41,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(42,null,[" "," "])),i._18(43,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(45,0,null,null,11,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(46,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Tools"])),(t()(),i._3(48,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(49,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Xp)),i._2(52,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,tf)),i._2(55,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n"])),(t()(),i._3(60,0,null,null,4,"div",[["class","-qr-code -not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,nf)),i._2(63,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,of)),i._2(67,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,af)),i._2(70,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,df)),i._2(73,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,15,0,e.address),t(n,52,0,e.address),t(n,55,0,!e.address),t(n,63,0,e.address),t(n,67,0,void 0===e.transactions),t(n,70,0,e.pageTransactions),t(n,73,0,e.transactions&&e.transactions.length>e.pageSize)},function(t,n){var e=n.component;t(n,5,0,e.address),t(n,20,0,e.address?e.address:e.loadingMsg),t(n,27,0,e.transactions?e.transactions.length:e.loadingMsg),t(n,34,0,e.transactions?i._24(n,34,0,t(n,35,0,i._14(n,0),e.totalReceived,"1.0-6")):e.loadingMsg),t(n,42,0,e.transactions?i._24(n,42,0,t(n,43,0,i._14(n,0),e.balance,"1.0-6")):e.loadingMsg)})}var gf=i.Z("app-address-detail",ap,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-address-detail",[],null,null,null,yf,Jp)),i._2(1,114688,null,0,ap,[xl,Tl,Pi,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),mf=i._1({encapsulation:0,styles:[[""]],data:{}});function vf(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for data "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function _f(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function bf(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,vf)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,_f)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function wf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.component.transaction.id)},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.transaction.id)})}function xf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Cf(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent,1),n.context.$implicit.coins,"1.0-6")))})}function Sf(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent,1),n.context.$implicit.coins,"1.0-6")))})}function Of(t){return i._25(0,[(t()(),i._3(0,0,null,null,74,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,33,"div",[["class","-title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,19,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,16,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,3,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Transaction ID"])),(t()(),i._3(12,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,[":"])),(t()(),i._3(14,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),i.Y(16777216,null,null,1,null,wf)),i._2(18,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._3(19,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(20,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,xf)),i._2(23,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(27,0,null,null,6,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),i._3(28,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(29,0,null,null,2,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Date:"])),(t()(),i._3(31,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i._23(32,null,["",""])),i._18(33,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n\n "])),(t()(),i._3(37,0,null,null,12,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(39,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(41,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(42,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(45,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(46,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(51,0,null,null,22,"div",[["class","-data"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(53,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(55,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(57,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Cf)),i._2(61,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(64,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(66,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Sf)),i._2(70,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,18,0,e.transaction),t(n,20,0,e.transaction.id),t(n,23,0,void 0===e.transaction),t(n,61,0,e.transaction.inputs),t(n,70,0,e.transaction.outputs)},function(t,n){var e=n.component;t(n,19,0,i._14(n,20).cssClass),t(n,32,0,e.transaction?i._24(n,32,0,t(n,33,0,i._14(n.parent,0),1e3*e.transaction.timestamp,"short")):e.loadingMsg)})}function Ef(t){return i._25(0,[i._16(0,et,[i.s]),i._16(0,lt,[i.s]),(t()(),i._3(2,0,null,null,37,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Transaction"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(7,0,null,null,31,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(9,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(10,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Status"])),(t()(),i._3(12,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(13,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(14,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(17,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Timestamp"])),(t()(),i._3(19,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(20,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(21,null,[" "," "])),i._18(22,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(24,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(25,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Size"])),(t()(),i._3(27,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(28,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(29,null,[" "," "])),i._18(30,1),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(32,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(33,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Block"])),(t()(),i._3(35,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(36,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(37,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,bf)),i._2(42,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Of)),i._2(45,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,42,0,void 0===e.transaction),t(n,45,0,e.transaction)},function(t,n){var e=n.component;t(n,14,0,e.transaction?e.transaction.status?"Confirmed":"Unconfirmed":e.loadingMsg),t(n,21,0,e.transaction?i._24(n,21,0,t(n,22,0,i._14(n,0),1e3*e.transaction.timestamp,"short")):e.loadingMsg),t(n,29,0,e.transaction?i._24(n,29,0,t(n,30,0,i._14(n,1),e.transaction.length))+" bytes":e.loadingMsg),t(n,37,0,e.transaction?e.transaction.block:e.loadingMsg)})}var kf=i.Z("app-transaction-detail",Dl,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-transaction-detail",[],null,null,null,Ef,mf)),i._2(1,114688,null,0,Dl,[Tl,Pi,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Tf=i._1({encapsulation:0,styles:[[""]],data:{}});function Pf(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for transactions "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function If(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Mf(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Pf)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,If)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function jf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.parent.context.$implicit.id)},function(t,n){t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,n.parent.context.$implicit.id)})}function Af(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Nf(t){return i._25(0,[(t()(),i._3(0,0,null,null,13,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,4,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"span",[["class","-transparent"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:"])),(t()(),i._23(11,null,[" ",""])),i._18(12,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,11,0,i._24(n,11,0,t(n,12,0,i._14(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))})}function Rf(t){return i._25(0,[(t()(),i._3(0,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(3,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(4,null,["",""])),(t()(),i._3(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(6,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(9,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(12,null,[" ",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address)},function(t,n){t(n,2,0,i._14(n,3).target,i._14(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,i._14(n,6).cssClass),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))})}function Df(t){return i._25(0,[(t()(),i._3(0,0,null,null,74,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,33,"div",[["class","-title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,19,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,16,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,3,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Transaction ID"])),(t()(),i._3(12,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,[":"])),(t()(),i._3(14,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),i.Y(16777216,null,null,1,null,jf)),i._2(18,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._3(19,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(20,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Af)),i._2(23,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(27,0,null,null,6,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),i._3(28,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(29,0,null,null,2,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["First seen at:"])),(t()(),i._3(31,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i._23(32,null,["",""])),i._18(33,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n\n "])),(t()(),i._3(37,0,null,null,12,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(39,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(41,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(42,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(45,0,null,null,2,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._3(46,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(51,0,null,null,22,"div",[["class","-data"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(53,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(55,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(57,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Inputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Nf)),i._2(61,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(64,0,null,null,7,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(66,0,null,null,1,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Rf)),i._2(70,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,18,0,n.context.$implicit),t(n,20,0,n.context.$implicit.id),t(n,23,0,void 0===n.context.$implicit),t(n,61,0,n.context.$implicit.inputs),t(n,70,0,n.context.$implicit.outputs)},function(t,n){var e=n.component;t(n,19,0,i._14(n,20).cssClass),t(n,32,0,n.context.$implicit?i._24(n,32,0,t(n,33,0,i._14(n.parent,1),1e3*n.context.$implicit.timestamp,"short")):e.loadingMsg)})}function Vf(t){return i._25(0,[i._16(0,lt,[i.s]),i._16(0,et,[i.s]),(t()(),i._3(2,0,null,null,38,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Unconfirmed Transactions"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(7,0,null,null,32,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(9,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(10,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Quantity"])),(t()(),i._3(12,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(13,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(14,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(17,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Total Size"])),(t()(),i._3(19,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(20,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(21,null,[" "," "])),i._18(22,1),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(24,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(25,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Newest"])),(t()(),i._3(27,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(28,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(29,null,[" "," "])),i._18(30,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(32,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(33,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Oldest"])),(t()(),i._3(35,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(36,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(37,null,[" "," "])),i._18(38,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Mf)),i._2(43,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,Df)),i._2(46,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,43,0,void 0===e.transactions),t(n,46,0,e.transactions)},function(t,n){var e=n.component;t(n,14,0,e.transactions?e.transactions.length>0?e.transactions.length:"Currently there are no unconfirmed transactions.":e.loadingMsg),t(n,21,0,e.transactions?e.transactions.length>0?i._24(n,21,0,t(n,22,0,i._14(n,0),e.totalSize))+" bytes":"Currently there are no unconfirmed transactions.":e.loadingMsg),t(n,29,0,e.transactions?e.transactions.length>0?i._24(n,29,0,t(n,30,0,i._14(n,1),e.mostRecent,"short")):"Currently there are no unconfirmed transactions.":e.loadingMsg),t(n,37,0,e.transactions?e.transactions.length>0?i._24(n,37,0,t(n,38,0,i._14(n,1),e.leastRecent,"short")):"Currently there are no unconfirmed transactions.":e.loadingMsg)})}var Ff=i.Z("app-unconfirmed-transactions",Nl,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-unconfirmed-transactions",[],null,null,null,Vf,Tf)),i._2(1,114688,null,0,Nl,[Tl,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Lf=i._1({encapsulation:0,styles:[[""]],data:{}});function Bf(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for data "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function Uf(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function zf(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Bf)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,Uf)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function qf(t){return i._25(0,[(t()(),i._3(0,0,null,null,15,"a",[["class","-row"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(3,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(5,0,null,null,1,"div",[["class","col-sm-1 -not-xs -gray"]],null,null,null,null,null)),(t()(),i._23(6,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,1,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),i._23(9,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(11,0,null,null,2,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),i._23(12,null,["",""])),i._18(13,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/address/"+n.context.$implicit.address)},function(t,n){t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,6,0,n.context.index+1),t(n,9,0,n.context.$implicit.address),t(n,12,0,i._24(n,12,0,t(n,13,0,i._14(n.parent,0),n.context.$implicit.coins,"1.0-6")))})}function Hf(t){return i._25(0,[i._16(0,lt,[i.s]),(t()(),i._3(1,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Rich List"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i._3(4,0,null,null,25,"div",[["class","table"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,16,"div",[["class","-header"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,2,"div",[["class","col-sm-1 -not-xs"]],null,null,null,null,null)),(t()(),i._3(11,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["#"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(14,0,null,null,2,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),i._3(15,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Address"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(18,0,null,null,2,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),i._3(19,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,zf)),i._2(25,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,qf)),i._2(28,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,25,0,!e.entries.length),t(n,28,0,e.entries)},null)}var Kf=i.Z("ng-component",cp,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"ng-component",[],null,null,null,Hf,Lf)),i._2(1,114688,null,0,cp,[xl],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Gf=i._1({encapsulation:0,styles:[[""]],data:{}});function Wf(t){return i._25(0,[(t()(),i._3(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(1,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(2,null,["",""]))],function(t,n){t(n,1,0,"/app/address/"+n.component.address)},function(t,n){var e=n.component;t(n,0,0,i._14(n,1).target,i._14(n,1).href),t(n,2,0,e.address)})}function Yf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(1,49152,null,0,Ep,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.address)},function(t,n){t(n,0,0,i._14(n,1).cssClass)})}function Qf(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Zf(t){return i._25(0,[(t()(),i._3(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n Waiting for outputs "])),(t()(),i._3(2,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "]))],null,null)}function Jf(t){return i._25(0,[(t()(),i._23(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function $f(t){return i._25(0,[(t()(),i._3(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Zf)),i._2(5,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(0,[["error_msg",2]],null,0,null,Jf)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,i._14(n,7))},null)}function Xf(t){return i._25(0,[(t()(),i._3(0,0,null,null,56,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,31,"div",[["class","-title"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,28,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,17,"div",[["class","col-md-9 col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,14,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,3,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Origin"])),(t()(),i._3(12,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,[":"])),(t()(),i._3(14,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),i._3(17,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==i._14(t,18).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),i._2(18,671744,null,0,vo,[yo,Pi,s],{routerLink:[0,"routerLink"]},null),(t()(),i._23(19,null,["",""])),(t()(),i._3(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,Tp,kp)),i._2(21,49152,null,0,Ep,[],{text:[0,"text"]},null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(25,0,null,null,6,"div",[["class","col-md-3 col-sm-12 -date"]],null,null,null,null,null)),(t()(),i._3(26,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(27,0,null,null,2,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Date:"])),(t()(),i._3(29,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i._23(30,null,["",""])),i._18(31,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n\n "])),(t()(),i._3(35,0,null,null,20,"div",[["class","-data -clear-background"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(37,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(39,0,null,null,14,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(41,0,null,null,11,"div",[["class","-body"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(43,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(44,null,["",""])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(46,0,null,null,5,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),i._3(47,0,null,null,1,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Coins:\xa0"])),(t()(),i._3(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(50,null,[" ",""])),i._18(51,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "]))],function(t,n){t(n,18,0,"/app/transaction/"+n.context.$implicit.src_tx),t(n,21,0,n.context.$implicit.src_tx)},function(t,n){t(n,17,0,i._14(n,18).target,i._14(n,18).href),t(n,19,0,n.context.$implicit.src_tx),t(n,20,0,i._14(n,21).cssClass),t(n,30,0,i._24(n,30,0,t(n,31,0,i._14(n.parent.parent,1),1e3*n.context.$implicit.time,"short"))),t(n,44,0,n.context.$implicit.hash),t(n,50,0,i._24(n,50,0,t(n,51,0,i._14(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))})}function td(t){return i._25(0,[(t()(),i._3(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i.Y(16777216,null,null,1,null,Xf)),i._2(3,802816,null,0,R,[i.M,i.J,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,3,0,n.component.outputs.head_outputs)},null)}function nd(t){return i._25(0,[i._16(0,lt,[i.s]),i._16(0,et,[i.s]),(t()(),i._3(2,0,null,null,38,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Unspent Outputs"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(7,0,null,null,32,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(9,0,null,null,14,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(10,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Address"])),(t()(),i._3(12,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(13,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Wf)),i._2(16,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Yf)),i._2(19,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i.Y(16777216,null,null,1,null,Qf)),i._2(22,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,[" "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(25,0,null,null,5,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(26,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["# of outputs"])),(t()(),i._3(28,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(29,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i._23(30,null,[" "," "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(32,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),i._3(33,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i._23(-1,null,["Total"])),(t()(),i._3(35,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),i._3(36,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),i._23(37,null,[" "," "])),i._18(38,2),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,$f)),i._2(43,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null),(t()(),i._23(-1,null,["\n\n"])),(t()(),i.Y(16777216,null,null,1,null,td)),i._2(46,16384,null,0,V,[i.M,i.J],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,16,0,e.address),t(n,19,0,e.address),t(n,22,0,!e.address),t(n,43,0,void 0===e.outputs),t(n,46,0,e.outputs)},function(t,n){var e=n.component;t(n,30,0,e.outputs?e.outputs.head_outputs.length:e.loadingMsg),t(n,37,0,e.coins?i._24(n,37,0,t(n,38,0,i._14(n,0),e.coins,"1.0-6"))+" SKY":e.loadingMsg)})}var ed=i.Z("app-unspent-outputs",hp,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-unspent-outputs",[],null,null,null,nd,Gf)),i._2(1,114688,null,0,hp,[xl,Pi,yo],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),rd=(e("W9bb"),Object.assign||function(t){for(var n=1;nt?{max:{max:t,actual:n.value}}:null}},t.required=function(t){return dd(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return yd.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(n){if(dd(n.value))return null;var e=n.value?n.value.length:0;return et?{maxlength:{requiredLength:t,actualLength:e}}:null}},t.pattern=function(n){return n?("string"==typeof n?(r="","^"!==n.charAt(0)&&(r+="^"),r+=n,"$"!==n.charAt(n.length-1)&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),function(t){if(dd(t.value))return null;var n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}):t.nullValidator;var e,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var n=t.filter(md);return 0==n.length?null:function(t){return _d(function(t,e){return n.map(function(n){return n(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var n=t.filter(md);return 0==n.length?null:function(t){var e=function(t,e){return n.map(function(n){return n(t)})}(t).map(vd);return wt.call(kl(e),_d)}},t}();function md(t){return null!=t}function vd(t){var n=Object(i._9)(t)?an(t):t;if(!Object(i._8)(n))throw new Error("Expected validator to return Promise or Observable.");return n}function _d(t){var n=t.reduce(function(t,n){return null!=n?Object(o.a)({},t,n):t},{});return 0===Object.keys(n).length?null:n}var bd=new i.o("NgValueAccessor"),wd=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),xd=new i.o("CompositionEventMode"),Cd=function(){function t(t,n,e){var r;this._renderer=t,this._elementRef=n,this._compositionMode=e,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=An()?An().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function Sd(t){return t.validate?function(n){return t.validate(n)}:t}function Od(t){return t.validate?function(n){return t.validate(n)}:t}var Ed=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function kd(){throw new Error("unimplemented")}var Td=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._parent=null,n.name=null,n.valueAccessor=null,n._rawValidators=[],n._rawAsyncValidators=[],n}return Object(o.b)(n,t),Object.defineProperty(n.prototype,"validator",{get:function(){return kd()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return kd()},enumerable:!0,configurable:!0}),n}(pd),Pd=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,n){this._accessors.push([t,n])},t.prototype.remove=function(t){for(var n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t)return void this._accessors.splice(n,1)},t.prototype.select=function(t){var n=this;this._accessors.forEach(function(e){n._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,n){return!!t[0].control&&t[0]._parent===n._control._parent&&t[1].name===n.name},t}(),Id=function(){function t(t,n,e,r){this._renderer=t,this._elementRef=n,this._registry=e,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(Td),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var n=this;this._fn=t,this.onChange=function(){t(n.value),n._registry.select(n)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();function Md(t,n){return n.path.concat([t])}function jd(t,n){t||Nd(n,"Cannot find control with"),n.valueAccessor||Nd(n,"No value accessor for form control with"),t.validator=gd.compose([t.validator,n.validator]),t.asyncValidator=gd.composeAsync([t.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(t.value),function(t,n){n.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Ad(t,n)})}(t,n),function(t,n){t.registerOnChange(function(t,e){n.valueAccessor.writeValue(t),e&&n.viewToModelUpdate(t)})}(t,n),function(t,n){n.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Ad(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),n.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){n.valueAccessor.setDisabledState(t)}),n._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function Ad(t,n){n.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function Nd(t,n){var e;throw e=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(n+" "+e)}function Rd(t){return null!=t?gd.compose(t.map(Sd)):null}function Dd(t){return null!=t?gd.composeAsync(t.map(Od)):null}var Vd=[wd,function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Ed,function(){function t(t,n){this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=i._10}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var n=this._getOptionId(t);null==n&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var e=function(t,n){return null==t?""+n:(n&&"object"==typeof n&&(n="Object"),(t+": "+n).slice(0,50))}(n,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){n.value=n._getOptionValue(e),t(n.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var n=0,e=Array.from(this._optionMap.keys());n-1)}}else n=function(t,n){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){var r=[];if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,o=0;o0||this.disabled},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")})},n}(Kd),Yd=function(t){function n(n,e,r){var i=t.call(this,zd(e),qd(r,e))||this;return i.controls=n,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(o.b)(n,t),n.prototype.at=function(t){return this.controls[t]},n.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.insert=function(t,n){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity()},n.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},n.prototype.setControl=function(t,n){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(n.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),n.prototype.setValue=function(t,n){var e=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.patchValue=function(t,n){var e=this;void 0===n&&(n={}),t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.reset=function(t,n){void 0===t&&(t=[]),void 0===n&&(n={}),this._forEachChild(function(e,r){e.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Gd?t.value:t.getRawValue()})},n.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,n){return!!n._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},n.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)},n.prototype._forEachChild=function(t){this.controls.forEach(function(n,e){t(n,e)})},n.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(n){return n.enabled||t.disabled}).map(function(t){return t.value})},n.prototype._anyControls=function(t){return this.controls.some(function(n){return n.enabled&&t(n)})},n.prototype._setUpControls=function(){var t=this;this._forEachChild(function(n){return t._registerControl(n)})},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control at index: "+e+".")})},n.prototype._allControlsDisabled=function(){for(var t=0,n=this.controls;t0||this.disabled},n.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},n}(Kd),Qd=Promise.resolve(null),Zd=function(t){function n(n,e){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new i.m,r.form=new Wd({},Rd(n),Dd(e)),r}return Object(o.b)(n,t),n.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var n=this;Qd.then(function(){var e=n._findContainer(t.path);t.control=e.registerControl(t.name,t.control),jd(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(t)})},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){var n=this;Qd.then(function(){var e,r,i=n._findContainer(t.path);i&&i.removeControl(t.name),(r=(e=n._directives).indexOf(t))>-1&&e.splice(r,1)})},n.prototype.addFormGroup=function(t){var n=this;Qd.then(function(){var e=n._findContainer(t.path),r=new Wd({});(function(t,n){null==t&&Nd(n,"Cannot find control with"),t.validator=gd.compose([t.validator,n.validator]),t.asyncValidator=gd.composeAsync([t.asyncValidator,n.asyncValidator])})(r,t),e.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},n.prototype.removeFormGroup=function(t){var n=this;Qd.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name)})},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,n){var e=this;Qd.then(function(){e.form.get(t.path).setValue(n)})},n.prototype.setValue=function(t){this.control.setValue(t)},n.prototype.onSubmit=function(t){return this.submitted=!0,n=this._directives,this.form._syncPendingControls(),n.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var n},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},n.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},n}(fd),Jd='\n

\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',$d='\n
\n
\n \n
\n
',Xd=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 \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},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 "+Jd+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+$d)},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 "+Jd+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+$d)},t}(),ty=function(t){function n(n,e,r){var i=t.call(this)||this;return i._parent=n,i._validators=e,i._asyncValidators=r,i}return Object(o.b)(n,t),n.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Zd||Xd.modelGroupParentException()},n}(Fd),ny=Promise.resolve(null),ey=function(t){function n(n,e,r,o){var l=t.call(this)||this;return l.control=new Gd,l._registered=!1,l.update=new i.m,l._parent=n,l._rawValidators=e||[],l._rawAsyncValidators=r||[],l.valueAccessor=function(t,n){if(!n)return null;var e=void 0,r=void 0,i=void 0;return n.forEach(function(n){var o;n.constructor===Cd?e=n:(o=n,Vd.some(function(t){return o.constructor===t})?(r&&Nd(t,"More than one built-in value accessor matches form control with"),r=n):(i&&Nd(t,"More than one custom value accessor matches form control with"),i=n))}),i||r||e||(Nd(t,"No valid value accessor for form control with"),null)}(l,o),l}return Object(o.b)(n,t),n.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,n){if(!t.hasOwnProperty("model"))return!1;var e=t.model;return!!e.isFirstChange()||!Object(i._10)(n,e.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?Md(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return Rd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return Dd(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},n.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},n.prototype._setUpStandalone=function(){jd(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof ty)&&this._parent instanceof Fd?Xd.formGroupNameException():this._parent instanceof ty||this._parent instanceof Zd||Xd.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Xd.missingNameException()},n.prototype._updateValue=function(t){var n=this;ny.then(function(){n.control.setValue(t,{emitViewToModelChange:!1})})},n.prototype._updateDisabled=function(t){var n=this,e=t.isDisabled.currentValue,r=""===e||e&&"false"!==e;ny.then(function(){r&&!n.control.disabled?n.control.disable():!r&&n.control.disabled&&n.control.enable()})},n}(Td),ry=function(){},iy=function(){},oy=function(){},ly=function(){function t(t,n){this.explorer=t,this.router=n}return t.prototype.search=function(){var t=this,n=this.query.trim();n.length>=27&&n.length<=35?this.router.navigate(["/app/address",n]):64===n.length?this.explorer.getBlockByHash(n).subscribe(function(n){return t.router.navigate(["/app/block",n.id])},function(){return t.router.navigate(["/app/transaction",n])}):this.router.navigate(["/app/block",n]),this.query=null},t}(),uy=i._1({encapsulation:0,styles:[[".-search-bar-container[_ngcontent-%COMP%]{margin:4rem 0 2rem;position:relative}.-search-bar-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:20px;margin:11px;position:absolute}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,.05);border-radius:6px;font-size:12px;height:42px;padding:0 0 0 40px;width:100%}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#cdcdcd}"]],data:{}});function sy(t){return i._25(0,[(t()(),i._3(0,0,null,null,17,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,n,e){var r=!0,o=t.component;return"submit"===n&&(r=!1!==i._14(t,2).onSubmit(e)&&r),"reset"===n&&(r=!1!==i._14(t,2).onReset()&&r),"submit"===n&&(r=!1!==o.search()&&r),r},null,null)),i._2(1,16384,null,0,ry,[],null,null),i._2(2,4210688,null,0,Zd,[[8,null],[8,null]],null,null),i._19(2048,null,fd,null,[Zd]),i._2(4,16384,null,0,Ud,[fd],null,null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,10,"div",[["class","-search-bar-container"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,0,"img",[["src","/assets/img/search.png"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.search()&&r),r},null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,0,null,null,5,"input",[["name","query"],["placeholder","Address, block hash or number, or transaction ID"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,n,e){var r=!0,o=t.component;return"input"===n&&(r=!1!==i._14(t,11)._handleInput(e.target.value)&&r),"blur"===n&&(r=!1!==i._14(t,11).onTouched()&&r),"compositionstart"===n&&(r=!1!==i._14(t,11)._compositionStart()&&r),"compositionend"===n&&(r=!1!==i._14(t,11)._compositionEnd(e.target.value)&&r),"ngModelChange"===n&&(r=!1!==(o.query=e)&&r),r},null,null)),i._2(11,16384,null,0,Cd,[i.B,i.k,[2,xd]],null,null),i._19(1024,null,bd,function(t){return[t]},[Cd]),i._2(13,671744,null,0,ey,[[2,fd],[8,null],[8,null],[2,bd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),i._19(2048,null,Td,null,[ey]),i._2(15,16384,null,0,Bd,[Td],null,null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,13,0,"query",n.component.query)},function(t,n){t(n,0,0,i._14(n,4).ngClassUntouched,i._14(n,4).ngClassTouched,i._14(n,4).ngClassPristine,i._14(n,4).ngClassDirty,i._14(n,4).ngClassValid,i._14(n,4).ngClassInvalid,i._14(n,4).ngClassPending),t(n,10,0,i._14(n,15).ngClassUntouched,i._14(n,15).ngClassTouched,i._14(n,15).ngClassPristine,i._14(n,15).ngClassDirty,i._14(n,15).ngClassValid,i._14(n,15).ngClassInvalid,i._14(n,15).ngClassPending)})}var ay=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),cy=i._1({encapsulation:0,styles:[["@charset \"UTF-8\";footer[_ngcontent-%COMP%]{background-color:#101f34}footer[_ngcontent-%COMP%] .footer-container[_ngcontent-%COMP%]{margin:0 auto;max-width:115rem;padding:0 3.2rem}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:40px;padding-bottom:24px}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:80px;padding-bottom:80px}}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;text-align:left;width:100%;margin-top:24px}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:33.3333%;padding:.4rem;font-size:1.4rem;font-family:SkycoinSans;line-height:1.6rem;color:#fff}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;margin-top:0}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:auto;margin-left:3.2rem;border-top:2px solid transparent;border-bottom:2px solid transparent}}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none;opacity:.7}footer[_ngcontent-%COMP%] .footer-first-row[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{margin-left:0}footer[_ngcontent-%COMP%] .footer-second-row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:24px 0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}footer[_ngcontent-%COMP%] .footer-second-row[_ngcontent-%COMP%] .social-link[_ngcontent-%COMP%]{padding:8px 0;width:20%;text-align:center;font-size:0}@media screen and (min-width:40em){footer[_ngcontent-%COMP%] .footer-second-row[_ngcontent-%COMP%] .social-link[_ngcontent-%COMP%]{width:10%;padding:16px 0}}footer[_ngcontent-%COMP%] .footer-second-row[_ngcontent-%COMP%] .social-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block}footer[_ngcontent-%COMP%] .footer-second-row[_ngcontent-%COMP%] .social-link[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:24px 0;-webkit-box-align:center;-ms-flex-align:center;align-items:center}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%]{padding:40px 0}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:33.3333333333%}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;line-height:2.4rem;font-size:13px;font-weight:100;color:#616d7c;text-transform:none}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}@media (min-width:52em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{display:block;list-style:none;margin:0;text-align:right}@media (max-width:479px){footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{text-align:center}}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;color:#616d7c;font-size:13px}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:' \xb7 '}"]],data:{}});function hy(t){return i._25(0,[(t()(),i._3(0,0,null,null,134,"footer",[["class","page-footer"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,131,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(4,0,null,null,27,"div",[["class","footer-first-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(6,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(8,0,null,null,0,"img",[["src","/assets/img/logoBlueWhite.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(11,0,null,null,19,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(13,0,null,null,1,"a",[["href","https://www.skycoin.net/downloads/"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Downloads"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(16,0,null,null,1,"a",[["href","https://www.skycoin.net/ecosystem"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Ecosystem"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(19,0,null,null,1,"a",[["href","https://www.skycoin.net/skyminer"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Skyminer"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(22,0,null,null,1,"a",[["href","https://www.skycoin.net/team"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Team"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(25,0,null,null,1,"a",[["href","https://www.skycoin.net/blog"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Blog"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(28,0,null,null,1,"a",[["class","active"],["href","/"]],null,null,null,null,null)),(t()(),i._23(-1,null,["Explorer"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(33,0,null,null,81,"div",[["class","footer-second-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(35,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(37,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(39,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/medium.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(43,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(45,0,null,null,3,"a",[["href","https://twitter.com/skycoinproject"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(47,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/twitter.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(51,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(53,0,null,null,3,"a",[["href","https://www.facebook.com/skycoinproject"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(55,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/facebook.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(59,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(61,0,null,null,3,"a",[["href","https://www.instagram.com/skycoinproject/"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(63,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/instagram.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(67,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(69,0,null,null,3,"a",[["href","https://github.com/skycoin/skycoin"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(71,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/github.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(75,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(77,0,null,null,3,"a",[["href","https://www.youtube.com/c/Skycoin"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(79,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/youtube.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(83,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(85,0,null,null,3,"a",[["href","https://www.reddit.com/r/skycoin"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(87,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/reddit.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(91,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(93,0,null,null,3,"a",[["href","https://itunes.apple.com/nl/podcast/skycoin/id1348472259?l=en"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(95,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/apple.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(99,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(101,0,null,null,3,"a",[["href","https://discord.gg/EgBenrW"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(103,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/discord.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(107,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(109,0,null,null,3,"a",[["href","https://t.me/Skycoin"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(111,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/telegram.svg"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(116,0,null,null,16,"div",[["class","footer-third-row"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(118,0,null,null,4,"div",[["class","copyright"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(120,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\xa9 Skycoin.net 2018"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(124,0,null,null,7,"div",[["class","contact"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(126,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(128,0,null,null,1,"a",[["href","mailto:contact@skycoin.net"]],null,null,null,null,null)),(t()(),i._23(-1,null,["contact@skycoin.net"])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n"]))],null,null)}var py=i._1({encapsulation:0,styles:[["[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.app[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding-bottom:80px}"]],data:{}});function fy(t){return i._25(0,[(t()(),i._3(0,0,null,null,13,"div",[["class","app"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(2,0,null,null,1,"app-header",[],null,null,null,hd,ad)),i._2(3,114688,null,0,sd,[yo],null,null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(5,0,null,null,7,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(7,0,null,null,1,"app-search-bar",[],null,null,null,sy,uy)),i._2(8,49152,null,0,ly,[Tl,yo],null,null),(t()(),i._23(-1,null,["\n "])),(t()(),i._3(10,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i._2(11,212992,null,0,xo,[wo,i.M,i.j,[8,null],i.h],null,null),(t()(),i._23(-1,null,["\n "])),(t()(),i._23(-1,null,["\n"])),(t()(),i._23(-1,null,["\n"])),(t()(),i._3(15,0,null,null,1,"app-footer",[],null,null,null,hy,cy)),i._2(16,114688,null,0,ay,[],null,null),(t()(),i._23(-1,null,["\n"]))],function(t,n){t(n,3,0),t(n,11,0),t(n,16,0)},null)}var dy=i.Z("app-root",fp,function(t){return i._25(0,[(t()(),i._3(0,0,null,null,1,"app-root",[],null,null,null,fy,py)),i._2(1,49152,null,0,fp,[yo],null,null)],null,null)},{},{},[]),yy=function(){},gy="*";function my(t,n){return void 0===n&&(n=null),{type:2,steps:t,options:n}}function vy(t){return{type:6,styles:t,offset:null}}function _y(t){Promise.resolve(null).then(t)}var by=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;_y(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),wy=function(){function t(t){var n=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var e=0,r=0,i=0,o=this.players.length;0==o?_y(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++e==o&&n._onFinish()}),t.onDestroy(function(){++r==o&&n._onDestroy()}),t.onStart(function(){++i==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,n){return Math.max(t,n.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,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._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),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._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var n=t*this.totalTime;this.players.forEach(function(t){var e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(n){var e=n.getPosition();t=Math.min(e,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),xy="!";function Cy(t){switch(t.length){case 0:return new by;case 1:return t[0];default:return new wy(t)}}function Sy(t,n,e,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var l=[],u=[],s=-1,a=null;if(r.forEach(function(t){var e=t.offset,r=e==s,c=r&&a||{};Object.keys(t).forEach(function(e){var r=e,u=t[e];if("offset"!==e)switch(r=n.normalizePropertyName(r,l),u){case xy:u=i[e];break;case gy:u=o[e];break;default:u=n.normalizeStyleValue(e,r,u,l)}c[r]=u}),r||u.push(c),a=c,s=e}),l.length)throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "));return u}function Oy(t,n,e,r){switch(n){case"start":t.onStart(function(){return r(e&&Ey(e,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(e&&Ey(e,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(e&&Ey(e,"destroy",t.totalTime))})}}function Ey(t,n,e){var r=ky(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,void 0==e?t.totalTime:e),i=t._data;return null!=i&&(r._data=i),r}function ky(t,n,e,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:n,fromState:e,toState:r,phaseName:i,totalTime:o}}function Ty(t,n,e){var r;return t instanceof Map?(r=t.get(n))||t.set(n,r=e):(r=t[n])||(r=t[n]=e),r}function Py(t){var n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}var Iy=function(t,n){return!1},My=function(t,n){return!1},jy=function(t,n,e){return[]};if("undefined"!=typeof Element){if(Iy=function(t,n){return t.contains(n)},Element.prototype.matches)My=function(t,n){return t.matches(n)};else{var Ay=Element.prototype,Ny=Ay.matchesSelector||Ay.mozMatchesSelector||Ay.msMatchesSelector||Ay.oMatchesSelector||Ay.webkitMatchesSelector;Ny&&(My=function(t,n){return Ny.apply(t,[n])})}jy=function(t,n,e){var r=[];if(e)r.push.apply(r,t.querySelectorAll(n));else{var i=t.querySelector(n);i&&r.push(i)}return r}}var Ry=null,Dy=!1;function Vy(t){Ry||(Ry=Fy()||{},Dy=!!Ry.style&&"WebkitAppearance"in Ry.style);var n=!0;return Ry.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(n=t in Ry.style)&&Dy&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Ry.style),n}function Fy(){return"undefined"!=typeof document?document.body:null}var Ly=My,By=Iy,Uy=jy,zy=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return Vy(t)},t.prototype.matchesElement=function(t,n){return Ly(t,n)},t.prototype.containsElement=function(t,n){return By(t,n)},t.prototype.query=function(t,n,e){return Uy(t,n,e)},t.prototype.computeStyle=function(t,n,e){return e||""},t.prototype.animate=function(t,n,e,r,i,o){return void 0===o&&(o=[]),new by},t}(),qy=function(){function t(){}return t.NOOP=new zy,t}(),Hy=1e3;function Ky(t){if("number"==typeof t)return t;var n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Gy(parseFloat(n[1]),n[2])}function Gy(t,n){switch(n){case"s":return t*Hy;default:return t}}function Wy(t,n,e){return t.hasOwnProperty("duration")?t:function(t,n,e){var r,i=0,o="";if("string"==typeof t){var l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=Gy(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(i=Gy(Math.floor(parseFloat(u)),l[4]));var s=l[5];s&&(o=s)}else r=t;if(!e){var a=!1,c=n.length;r<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),i<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,n,e)}function Yy(t,n){return void 0===n&&(n={}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function Qy(t,n,e){if(void 0===e&&(e={}),n)for(var r in t)e[r]=t[r];else Yy(t,e);return e}function Zy(t,n){t.style&&Object.keys(n).forEach(function(e){var r=ig(e);t.style[r]=n[e]})}function Jy(t,n){t.style&&Object.keys(n).forEach(function(n){var e=ig(n);t.style[e]=""})}function $y(t){return Array.isArray(t)?1==t.length?t[0]:my(t):t}var Xy=new RegExp("{{\\s*(.+?)\\s*}}","g");function tg(t){var n=[];if("string"==typeof t){for(var e=t.toString(),r=void 0;r=Xy.exec(e);)n.push(r[1]);Xy.lastIndex=0}return n}function ng(t,n,e){var r=t.toString(),i=r.replace(Xy,function(t,r){var i=n[r];return n.hasOwnProperty(r)||(e.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function eg(t){for(var n=[],e=t.next();!e.done;)n.push(e.value),e=t.next();return n}var rg=/-+([a-z0-9])/g;function ig(t){return t.replace(rg,function(){for(var t=[],n=0;n *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(t,e);if("function"==typeof r)return void n.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push('The provided transition expression "'+t+'" is not supported'),n;var o=i[1],l=i[2],u=i[3];n.push(ag(o,u)),"<"!=l[0]||o==lg&&u==lg||n.push(ag(u,o))}(t,i,r)}):i.push(e),i),animation:o,queryCount:n.queryCount,depCount:n.depCount,options:yg(t.options)}},t.prototype.visitSequence=function(t,n){var e=this;return{type:2,steps:t.steps.map(function(t){return og(e,t,n)}),options:yg(t.options)}},t.prototype.visitGroup=function(t,n){var e=this,r=n.currentTime,i=0,o=t.steps.map(function(t){n.currentTime=r;var o=og(e,t,n);return i=Math.max(i,n.currentTime),o});return n.currentTime=i,{type:3,steps:o,options:yg(t.options)}},t.prototype.visitAnimate=function(t,n){var e,r=function(t,n){var e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return gg(Wy(t,n).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=gg(0,0,"");return i.dynamic=!0,i.strValue=r,i}return gg((e=e||Wy(r,n)).duration,e.delay,e.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;var i=t.styles?t.styles:vy({});if(5==i.type)e=this.visitKeyframes(i,n);else{var o=t.styles,l=!1;if(!o){l=!0;var u={};r.easing&&(u.easing=r.easing),o=vy(u)}n.currentTime+=r.duration+r.delay;var s=this.visitStyle(o,n);s.isEmptyStep=l,e=s}return n.currentAnimateTimings=null,{type:4,timings:r,style:e,options:null}},t.prototype.visitStyle=function(t,n){var e=this._makeStyleAst(t,n);return this._validateStyleAst(e,n),e},t.prototype._makeStyleAst=function(t,n){var e=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==gy?e.push(t):n.errors.push("The provided style string value "+t+" is not allowed."):e.push(t)}):e.push(t.styles);var r=!1,i=null;return e.forEach(function(t){if(dg(t)){var n=t,e=n.easing;if(e&&(i=e,delete n.easing),!r)for(var o in n)if(n[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:e,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,n){var e=this,r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(e._driver.validateStyleProperty(r)){var l,u,s,a=n.collectedStyles[n.currentQuerySelector],c=a[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(a[r]={startTime:o,endTime:i}),n.options&&(l=n.errors,u=n.options.params||{},(s=tg(t[r])).length&&s.forEach(function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else n.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,n){var e=this,r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],l=!1,u=!1,s=0,a=t.steps.map(function(t){var r=e._makeStyleAst(t,n),a=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var n=null;if(Array.isArray(t))t.forEach(function(t){if(dg(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}});else if(dg(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}return n}(r.styles),c=0;return null!=a&&(i++,c=r.offset=a),u=u||c<0||c>1,l=l||c0&&i0?i==p?1:h*i:o[i],u=l*y;n.currentTime=f+d.delay+u,d.duration=u,e._validateStyleAst(t,n),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,n){return{type:8,animation:og(this,$y(t.animation),n),options:yg(t.options)}},t.prototype.visitAnimateChild=function(t,n){return n.depCount++,{type:9,options:yg(t.options)}},t.prototype.visitAnimateRef=function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:yg(t.options)}},t.prototype.visitQuery=function(t,n){var e=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var i=function(t){var n=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return n&&(t=t.replace(cg,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),n]}(t.selector),o=i[0],l=i[1];n.currentQuerySelector=e.length?e+" "+o:o,Ty(n.collectedStyles,n.currentQuerySelector,{});var u=og(this,$y(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=e,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:t.selector,options:yg(t.options)}},t.prototype.visitStagger=function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var e="full"===t.timings?{duration:0,delay:0,easing:"full"}:Wy(t.timings,n.errors,!0);return{type:12,animation:og(this,$y(t.animation),n),timings:e,options:null}},t}(),fg=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function dg(t){return!Array.isArray(t)&&"object"==typeof t}function yg(t){var n;return t?(t=Yy(t)).params&&(t.params=(n=t.params)?Yy(n):null):t={},t}function gg(t,n,e){return{duration:t,delay:n,easing:e}}function mg(t,n,e,r,i,o,l,u){return void 0===l&&(l=null),void 0===u&&(u=!1),{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:u}}var vg=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n},t.prototype.append=function(t,n){var e=this._map.get(t);e||this._map.set(t,e=[]),e.push.apply(e,n)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),_g=new RegExp(":enter","g"),bg=new RegExp(":leave","g");function wg(t,n,e,r,i,o,l,u,s,a){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===a&&(a=[]),(new xg).buildKeyframes(t,n,e,r,i,o,l,u,s,a)}var xg=function(){function t(){}return t.prototype.buildKeyframes=function(t,n,e,r,i,o,l,u,s,a){void 0===a&&(a=[]),s=s||new vg;var c=new Sg(t,n,s,r,i,a,[]);c.options=u,c.currentTimeline.setStyles([o],null,c.errors,u),og(this,e,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(l).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([l],null,c.errors,u)}return h.length?h.map(function(t){return t.buildKeyframes()}):[mg(n,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,n){},t.prototype.visitState=function(t,n){},t.prototype.visitTransition=function(t,n){},t.prototype.visitAnimateChild=function(t,n){var e=n.subInstructions.consume(n.element);if(e){var r=n.createSubContext(t.options),i=n.currentTimeline.currentTime,o=this._visitSubInstructions(e,r,r.options);i!=o&&n.transformIntoNewTimeline(o)}n.previousNode=t},t.prototype.visitAnimateRef=function(t,n){var e=n.createSubContext(t.options);e.transformIntoNewTimeline(),this.visitReference(t.animation,e),n.transformIntoNewTimeline(e.currentTimeline.currentTime),n.previousNode=t},t.prototype._visitSubInstructions=function(t,n,e){var r=n.currentTimeline.currentTime,i=null!=e.duration?Ky(e.duration):null,o=null!=e.delay?Ky(e.delay):null;return 0!==i&&t.forEach(function(t){var e=n.appendInstructionToTimeline(t,i,o);r=Math.max(r,e.duration+e.delay)}),r},t.prototype.visitReference=function(t,n){n.updateOptions(t.options,!0),og(this,t.animation,n),n.previousNode=t},t.prototype.visitSequence=function(t,n){var e=this,r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&((i=n.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Cg);var l=Ky(o.delay);i.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return og(e,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t},t.prototype.visitGroup=function(t,n){var e=this,r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?Ky(t.options.delay):0;t.steps.forEach(function(l){var u=n.createSubContext(t.options);o&&u.delayNextStep(o),og(e,l,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(function(t){return n.currentTimeline.mergeTimelineCollectedStyles(t)}),n.transformIntoNewTimeline(i),n.previousNode=t},t.prototype._visitTiming=function(t,n){if(t.dynamic){var e=t.strValue;return Wy(n.params?ng(e,n.params,n.errors):e,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,n){var e=n.currentAnimateTimings=this._visitTiming(t.timings,n),r=n.currentTimeline;e.delay&&(n.incrementTime(e.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,n):(n.incrementTime(e.duration),this.visitStyle(i,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t},t.prototype.visitStyle=function(t,n){var e=n.currentTimeline,r=n.currentAnimateTimings;!r&&e.getCurrentStyleProperties().length&&e.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?e.applyEmptyStep(i):e.setStyles(t.styles,i,n.errors,n.options),n.previousNode=t},t.prototype.visitKeyframes=function(t,n){var e=n.currentAnimateTimings,r=n.currentTimeline.duration,i=e.duration,o=n.createSubContext().currentTimeline;o.easing=e.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=t},t.prototype.visitQuery=function(t,n){var e=this,r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?Ky(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Cg);var l=r,u=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=u.length;var s=null;u.forEach(function(r,i){n.currentQueryIndex=i;var u=n.createSubContext(t.options,r);o&&u.delayNextStep(o),r===n.element&&(s=u.currentTimeline),og(e,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(l),s&&(n.currentTimeline.mergeTimelineCollectedStyles(s),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t},t.prototype.visitStagger=function(t,n){var e=n.parentContext,r=n.currentTimeline,i=t.timings,o=Math.abs(i.duration),l=o*(n.currentQueryTotal-1),u=o*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":u=l-u;break;case"full":u=e.currentStaggerTime}var s=n.currentTimeline;u&&s.delayNextStep(u);var a=s.currentTime;og(this,t.animation,n),n.previousNode=t,e.currentStaggerTime=r.currentTime-a+(r.startTime-e.currentTimeline.startTime)},t}(),Cg={},Sg=function(){function t(t,n,e,r,i,o,l,u){this._driver=t,this.element=n,this.subInstructions=e,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Cg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Og(this._driver,n,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,n){var e=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Ky(r.duration)),null!=r.delay&&(i.delay=Ky(r.delay));var o=r.params;if(o){var l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(function(t){n&&l.hasOwnProperty(t)||(l[t]=ng(o[t],l,e.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var n=this.options.params;if(n){var e=t.params={};Object.keys(n).forEach(function(t){e[t]=n[t]})}}return t},t.prototype.createSubContext=function(n,e,r){void 0===n&&(n=null);var i=e||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Cg,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,n,e){var r={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=e?e:0)+t.delay,easing:""},i=new Eg(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,n,e,r,i,o){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace(_g,"."+this._enterClassName)).replace(bg,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=e);0!==e&&(u=e<0?u.slice(u.length+e,u.length):u.slice(0,e)),l.push.apply(l,u)}return i||0!=l.length||o.push('`query("'+n+'")` returned zero elements. (Use `query("'+n+'", { optional: true })` if you wish to allow this.)'),l},t}(),Og=function(){function t(t,n,e,r){this._driver=t,this.element=n,this.startTime=e,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){n._backFill[t]=n._globalTimelineStyles[t]||gy,n._currentKeyframe[t]=gy}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,n,e,r){var i=this;n&&(this._previousKeyframe.easing=n);var o=r&&r.params||{},l=function(t,n){var e,r={};return t.forEach(function(t){"*"===t?(e=e||Object.keys(n)).forEach(function(t){r[t]=gy}):Qy(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var n=ng(l[t],o,e);i._pendingStyles[t]=n,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:gy),i._updateStyle(t,n)})},t.prototype.applyStylesToKeyframe=function(){var t=this,n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(function(e){t._currentKeyframe[e]=n[e]}),Object.keys(this._localTimelineStyles).forEach(function(n){t._currentKeyframe.hasOwnProperty(n)||(t._currentKeyframe[n]=t._localTimelineStyles[n])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var e=t._localTimelineStyles[n];t._pendingStyles[n]=e,t._updateStyle(n,e)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var n=this;Object.keys(t._styleSummary).forEach(function(e){var r=n._styleSummary[e],i=t._styleSummary[e];(!r||i.time>r.time)&&n._updateStyle(e,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var n=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,l){var u=Qy(o,!0);Object.keys(u).forEach(function(t){var r=u[t];r==xy?n.add(t):r==gy&&e.add(t)}),r||(u.offset=l/t.duration),i.push(u)});var o=n.size?eg(n.values()):[],l=e.size?eg(e.values()):[];if(r){var u=i[0],s=Yy(u);u.offset=0,s.offset=1,i=[u,s]}return mg(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)},t}(),Eg=function(t){function n(n,e,r,i,o,l,u){void 0===u&&(u=!1);var s=t.call(this,n,e,l.delay)||this;return s.element=e,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=u,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(o.b)(n,t),n.prototype.containsAnimation=function(){return this.keyframes.length>1},n.prototype.buildKeyframes=function(){var t=this.keyframes,n=this.timings,e=n.delay,r=n.duration,i=n.easing;if(this._stretchStartingKeyframe&&e){var o=[],l=r+e,u=e/l,s=Qy(t[0],!1);s.offset=0,o.push(s);var a=Qy(t[0],!1);a.offset=kg(u),o.push(a);for(var c=t.length-1,h=1;h<=c;h++){var p=Qy(t[h],!1);p.offset=kg((e+p.offset*r)/l),o.push(p)}r=l,e=0,i="",t=o}return mg(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)},n}(Og);function kg(t,n){void 0===n&&(n=3);var e=Math.pow(10,n-1);return Math.round(t*e)/e}var Tg=function(){},Pg=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(n,t),n.prototype.normalizePropertyName=function(t,n){return ig(t)},n.prototype.normalizeStyleValue=function(t,n,e,r){var i="",o=e.toString().trim();if(Ig[n]&&0!==e&&"0"!==e)if("number"==typeof e)i="px";else{var l=e.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+e)}return o+i},n}(Tg),Ig=function(t){var n={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(t){return n[t]=!0}),n}();function Mg(t,n,e,r,i,o,l,u,s,a,c,h){return{type:0,element:t,triggerName:n,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:l,timelines:u,queriedElements:s,preStyleProps:a,postStyleProps:c,errors:h}}var jg={},Ag=function(){function t(t,n,e){this._triggerName=t,this.ast=n,this._stateStyles=e}return t.prototype.match=function(t,n){return function(t,n,e){return t.some(function(t){return t(n,e)})}(this.ast.matchers,t,n)},t.prototype.buildStyles=function(t,n,e){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(n,e):{};return i?i.buildStyles(n,e):o},t.prototype.build=function(t,n,e,r,i,l,u,s,a){var c=[],h=this.ast.options&&this.ast.options.params||jg,p=this.buildStyles(e,u&&u.params||jg,c),f=s&&s.params||jg,d=this.buildStyles(r,f,c),y=new Set,g=new Map,m=new Map,v="void"===r,_={params:Object(o.a)({},h,f)},b=wg(t,n,this.ast.animation,i,l,p,d,_,a,c);if(c.length)return Mg(n,this._triggerName,e,r,v,p,d,[],[],g,m,c);b.forEach(function(t){var e=t.element,r=Ty(g,e,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=Ty(m,e,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),e!==n&&y.add(e)});var w=eg(y.values());return Mg(n,this._triggerName,e,r,v,p,d,b,w,g,m)},t}(),Ng=function(){function t(t,n){this.styles=t,this.defaultParams=n}return t.prototype.buildStyles=function(t,n){var e={},r=Yy(this.defaultParams);return Object.keys(t).forEach(function(n){var e=t[n];null!=e&&(r[n]=e)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=ng(o,r,n)),e[t]=o})}}),e},t}(),Rg=function(){function t(t,n){var e=this;this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){e.states[t.name]=new Ng(t.style,t.options&&t.options.params||{})}),Dg(this.states,"true","1"),Dg(this.states,"false","0"),n.transitions.forEach(function(n){e.transitionFactories.push(new Ag(t,n,e.states))}),this.fallbackTransition=new Ag(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,n){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,n){return this.transitionFactories.find(function(e){return e.match(t,n)})||null},t.prototype.matchStyles=function(t,n,e){return this.fallbackTransition.buildStyles(t,n,e)},t}();function Dg(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}var Vg=new vg,Fg=function(){function t(t,n){this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,n){var e=[],r=hg(this._driver,n,e);if(e.length)throw new Error("Unable to build the animation due to the following errors: "+e.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,n,e){var r=t.element,i=Sy(0,this._normalizer,0,t.keyframes,n,e);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,n,e){var r=this;void 0===e&&(e={});var i,o=[],l=this._animations[t],u=new Map;if(l?(i=wg(this._driver,n,l,"ng-enter","ng-leave",{},{},e,Vg,o)).forEach(function(t){var n=Ty(u,t.element,{});t.postStyleProps.forEach(function(t){return n[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach(function(t,n){Object.keys(t).forEach(function(e){t[e]=r._driver.computeStyle(n,e,gy)})});var s=Cy(i.map(function(t){var n=u.get(t.element);return r._buildPlayer(t,{},n)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var e=this.players.indexOf(n);e>=0&&this.players.splice(e,1)},t.prototype._getPlayer=function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by "+t);return n},t.prototype.listen=function(t,n,e,r){var i=ky(n,"","","");return Oy(this._getPlayer(t),e,i,r),function(){}},t.prototype.command=function(t,n,e,r){if("register"!=e)if("create"!=e){var i=this._getPlayer(t);switch(e){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,r[0]||{});else this.register(t,r[0])},t}(),Lg=[],Bg={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},Ug={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},zg="__ng_removed",qg=function(){function t(t,n){void 0===n&&(n=""),this.namespaceId=n;var e=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(e?t.value:t),e){var r=Yy(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var n=t.params;if(n){var e=this.options.params;Object.keys(n).forEach(function(t){null==e[t]&&(e[t]=n[t])})}},t}(),Hg=new qg("void"),Kg=new qg("DELETED"),Gg=function(){function t(t,n,e){this.id=t,this.hostElement=n,this._engine=e,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,tm(n,this._hostClassName)}return t.prototype.listen=function(t,n,e,r){var i,o=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'+e+'" because the animation trigger "'+n+"\" doesn't exist!");if(null==e||0==e.length)throw new Error('Unable to listen on the animation trigger "'+n+'" because the provided event is undefined!');if("start"!=(i=e)&&"done"!=i)throw new Error('The provided animation trigger event "'+e+'" for the animation trigger "'+n+'" is not supported!');var l=Ty(this._elementListeners,t,[]),u={name:n,phase:e,callback:r};l.push(u);var s=Ty(this._engine.statesByElement,t,{});return s.hasOwnProperty(n)||(tm(t,"ng-trigger"),tm(t,"ng-trigger-"+n),s[n]=Hg),function(){o._engine.afterFlush(function(){var t=l.indexOf(u);t>=0&&l.splice(t,1),o._triggers[n]||delete s[n]})}},t.prototype.register=function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)},t.prototype._getTrigger=function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return n},t.prototype.trigger=function(t,n,e,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(n),l=new Yg(this.id,n,t),u=this._engine.statesByElement.get(t);u||(tm(t,"ng-trigger"),tm(t,"ng-trigger-"+n),this._engine.statesByElement.set(t,u={}));var s=u[n],a=new qg(e,this.id);if(!(e&&e.hasOwnProperty("value"))&&s&&a.absorbOptions(s.options),u[n]=a,s){if(s===Kg)return l}else s=Hg;if("void"===a.value||s.value!==a.value){var c=Ty(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==n&&t.queued&&t.destroy()});var h=o.matchTransition(s.value,a.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:s,toState:a,player:l,isFallbackTransition:p}),p||(tm(t,"ng-animate-queued"),l.onStart(function(){nm(t,"ng-animate-queued")})),l.onDone(function(){var n=i.players.indexOf(l);n>=0&&i.players.splice(n,1);var e=i._engine.playersByElement.get(t);if(e){var r=e.indexOf(l);r>=0&&e.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,n){var e=Object.keys(t),r=Object.keys(n);if(e.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=e;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,n)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t},t.prototype.register=function(t,n){var e=this._namespaceLookup[t];return e||(e=this.createNamespace(t,n)),e},t.prototype.registerTrigger=function(t,n,e){var r=this._namespaceLookup[t];r&&r.register(n,e)&&this.totalAnimations++},t.prototype.destroy=function(t,n){var e=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){e.namespacesByHostElement.delete(r.hostElement),delete e._namespaceLookup[t];var n=e._namespaceList.indexOf(r);n>=0&&e._namespaceList.splice(n,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(n)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var n=new Set,e=this.statesByElement.get(t);if(e)for(var r=Object.keys(e),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(function(t){var n=t.player;C.push(n);var o=t.element;if(p&&e.driver.containsElement(p,o)){var l=w.get(o),h=y.get(o),f=e._buildInstruction(t,r,h,l);if(f.errors&&f.errors.length)S.push(f);else{if(t.isFallbackTransition)return n.onStart(function(){return Jy(o,f.fromStyles)}),n.onDestroy(function(){return Zy(o,f.toStyles)}),void i.push(n);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,f.timelines),u.push({instruction:f,player:n,element:o}),f.queriedElements.forEach(function(t){return Ty(s,t,[]).push(n)}),f.preStyleProps.forEach(function(t,n){var e=Object.keys(t);if(e.length){var r=a.get(n);r||a.set(n,r=new Set),e.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,n){var e=Object.keys(t),r=c.get(n);r||c.set(n,r=new Set),e.forEach(function(t){return r.add(t)})})}}else n.destroy()});if(S.length){var E=[];S.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var k=new Map,T=new Map;u.forEach(function(t){var n=t.element;r.has(n)&&(T.set(n,n),e._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),i.forEach(function(t){var n=t.element;e._getPreviousPlayers(n,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Ty(k,n,[]).push(t),t.destroy()})});var P=m.filter(function(t){return rm(t,a,c)}),I=new Map;Jg(I,this.driver,_,c,gy).forEach(function(t){rm(t,a,c)&&P.push(t)});var M=new Map;d.forEach(function(t,n){Jg(M,e.driver,new Set(t),a,xy)}),P.forEach(function(t){var n=I.get(t),e=M.get(t);I.set(t,Object(o.a)({},n,e))});var j=[],A=[],N={};u.forEach(function(t){var n=t.element,o=t.player,u=t.instruction;if(r.has(n)){if(h.has(n))return o.onDestroy(function(){return Zy(n,u.toStyles)}),void i.push(o);var s=N;if(T.size>1){for(var a=n,c=[];a=a.parentNode;){var p=T.get(a);if(p){s=p;break}c.push(a)}c.forEach(function(t){return T.set(t,s)})}var f=e._buildAnimation(o.namespaceId,u,k,l,M,I);if(o.setRealPlayer(f),s===N)j.push(o);else{var d=e.playersByElement.get(s);d&&d.length&&(o.parentPlayer=Cy(d)),i.push(o)}}else Jy(n,u.fromStyles),o.onDestroy(function(){return Zy(n,u.toStyles)}),A.push(o),h.has(n)&&i.push(o)}),A.forEach(function(t){var n=l.get(t.element);if(n&&n.length){var e=Cy(n);t.setRealPlayer(e)}}),i.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var R=0;R0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,e):new by},t}(),Yg=function(){function t(t,n,e){this.namespaceId=t,this.triggerName=n,this.element=e,this._player=new by,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(e){n._queuedCallbacks[e].forEach(function(n){return Oy(t,e,void 0,n)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var n=this,e=this._player;e.triggerCallback&&t.onStart(function(){return e.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})},t.prototype._queueEvent=function(t,n){Ty(this._queuedCallbacks,t,[]).push(n)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)},t}();function Qg(t){return t&&1===t.nodeType}function Zg(t,n){var e=t.style.display;return t.style.display=null!=n?n:"none",e}function Jg(t,n,e,r,i){var o=[];e.forEach(function(t){return o.push(Zg(t))});var l=[];r.forEach(function(e,r){var o={};e.forEach(function(t){var e=o[t]=n.computeStyle(r,t,i);e&&0!=e.length||(r[zg]=Ug,l.push(r))}),t.set(r,o)});var u=0;return e.forEach(function(t){return Zg(t,o[u++])}),l}function $g(t,n){var e=new Map;if(t.forEach(function(t){return e.set(t,[])}),0==n.length)return e;var r=new Set(n),i=new Map;return n.forEach(function(t){var n=function t(n){if(!n)return 1;var o=i.get(n);if(o)return o;var l=n.parentNode;return o=e.has(l)?l:r.has(l)?1:t(l),i.set(n,o),o}(t);1!==n&&e.get(n).push(t)}),e}var Xg="$$classes";function tm(t,n){if(t.classList)t.classList.add(n);else{var e=t[Xg];e||(e=t[Xg]={}),e[n]=!0}}function nm(t,n){if(t.classList)t.classList.remove(n);else{var e=t[Xg];e&&delete e[n]}}function em(t,n,e){Cy(e).onDone(function(){return t.processLeaveNode(n)})}function rm(t,n,e){var r=e.get(t);if(!r)return!1;var i=n.get(t);return i?r.forEach(function(t){return i.add(t)}):n.set(t,r),e.delete(t),!0}var im=function(){function t(t,n){var e=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,n){},this._transitionEngine=new Wg(t,n),this._timelineEngine=new Fg(t,n),this._transitionEngine.onRemovalComplete=function(t,n){return e.onRemovalComplete(t,n)}}return t.prototype.registerTrigger=function(t,n,e,r,i){var o=t+"-"+r,l=this._triggerCache[o];if(!l){var u=[],s=hg(this._driver,i,u);if(u.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+u.join("\n - "));l=function(t,n){return new Rg(t,n)}(r,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(n,r,l)},t.prototype.register=function(t,n){this._transitionEngine.register(t,n)},t.prototype.destroy=function(t,n){this._transitionEngine.destroy(t,n)},t.prototype.onInsert=function(t,n,e,r){this._transitionEngine.insertNode(t,n,e,r)},t.prototype.onRemove=function(t,n,e){this._transitionEngine.removeNode(t,n,e)},t.prototype.disableAnimations=function(t,n){this._transitionEngine.markElementAsDisabled(t,n)},t.prototype.process=function(t,n,e,r){if("@"==e.charAt(0)){var i=Py(e);this._timelineEngine.command(i[0],n,i[1],r)}else this._transitionEngine.trigger(t,n,e,r)},t.prototype.listen=function(t,n,e,r,i){if("@"==e.charAt(0)){var o=Py(e);return this._timelineEngine.listen(o[0],n,o[1],i)}return this._transitionEngine.listen(t,n,e,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),om=function(){function t(t,n,e,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=n,this.options=e,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=e.duration,this._delay=e.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(t){var n=t.currentSnapshot;Object.keys(n).forEach(function(t){return i.previousStyles[t]=n[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes.map(function(t){return Qy(t,!1)}),e=Object.keys(this.previousStyles);if(e.length&&n.length){var r=n[0],i=[];if(e.forEach(function(n){r.hasOwnProperty(n)||i.push(n),r[n]=t.previousStyles[n]}),i.length)for(var o=this,l=function(){var t=n[u];i.forEach(function(n){t[n]=lm(o.element,n)})},u=1;u=0&&t0&&n.children[0].routeConfig&&n.children[0].routeConfig.path.includes("app/address/")&&t.children&&t.children.length>0&&t.children[0].routeConfig&&t.children[0].routeConfig.path.includes("app/address/"))},t}(),wm=i._0(pp,[fp],function(t){return i._11([i._12(512,i.j,i.W,[[8,[Op,Wp,gf,kf,Ff,Kf,ed,dy]],[3,i.j],i.v]),i._12(5120,i.s,i._20,[[3,i.s]]),i._12(4608,M,j,[i.s,[2,I]]),i._12(5120,i.c,i._5,[]),i._12(5120,i.q,i._13,[]),i._12(5120,i.r,i._15,[]),i._12(4608,$e,Xe,[st]),i._12(6144,i.E,null,[$e]),i._12(4608,Oe,Ee,[]),i._12(5120,$n,function(t,n,e,r,i){return[new Ce(t,n),new Ie(e),new ke(r,i)]},[st,i.x,st,st,Oe]),i._12(4608,Xn,Xn,[$n,i.x]),i._12(135680,ee,ee,[st]),i._12(4608,ae,ae,[Xn,ee]),i._12(5120,qy,gm,[]),i._12(5120,Tg,mm,[]),i._12(4608,im,ym,[qy,Tg]),i._12(5120,i.C,vm,[ae,im,i.x]),i._12(6144,ne,null,[ee]),i._12(4608,i.K,i.K,[i.x]),i._12(4608,Hn,Hn,[st]),i._12(4608,Yn,Yn,[st]),i._12(4608,yy,sm,[i.C,Un]),i._12(4608,Pd,Pd,[]),i._12(4608,zo,zo,[]),i._12(4608,Yo,Qo,[]),i._12(5120,Zo,_l,[]),i._12(4608,ul,ul,[zo,Yo,Zo]),i._12(4608,sl,al,[]),i._12(5120,vl,bl,[ul,sl]),i._12(5120,Pi,Vo,[yo]),i._12(4608,Eo,Eo,[]),i._12(6144,So,null,[Eo]),i._12(135680,ko,ko,[yo,i.u,i.i,i.p,So]),i._12(4608,Oo,Oo,[]),i._12(5120,Uo,Bo,[Fo]),i._12(5120,i.b,function(t){return[t]},[Uo]),i._12(4608,xl,xl,[vl]),i._12(4608,Tl,Tl,[xl]),i._12(512,ut,ut,[]),i._12(1024,i.l,sr,[]),i._12(1024,i.w,function(){return[Mo()]},[]),i._12(512,Fo,Fo,[i.p]),i._12(1024,i.d,function(t,n){return[(e=t,Qn("probe",Jn),Qn("coreTokens",Object(o.a)({},Zn,(e||[]).reduce(function(t,n){return t[n.name]=n.token,t},{}))),function(){return Jn}),Lo(n)];var e},[[2,i.w],Fo]),i._12(512,i.e,i.e,[[2,i.d]]),i._12(131584,i.g,i.g,[i.x,i.X,i.p,i.l,i.j,i.e]),i._12(512,i.f,i.f,[i.g]),i._12(512,ar,ar,[[3,ar]]),i._12(512,_m,_m,[]),i._12(512,iy,iy,[]),i._12(512,oy,oy,[]),i._12(512,wl,wl,[]),i._12(1024,Po,No,[[3,yo]]),i._12(512,Jr,$r,[]),i._12(512,wo,wo,[]),i._12(256,To,{},[]),i._12(1024,s,Ao,[l,[2,a],To]),i._12(512,c,c,[s]),i._12(512,i.i,i.i,[]),i._12(512,i.u,i.H,[i.i,[2,i.I]]),i._12(1024,so,function(){return[[{path:"",redirectTo:"app/blocks/1",pathMatch:"full"},{path:"app/blocks",component:Il},{path:"app/blocks/:page",component:Il},{path:"app/block/:id",component:Rl},{path:"app/address/:address",redirectTo:"app/address/:address/1",pathMatch:"full"},{path:"app/address/:address/:page",component:ap},{path:"app/transaction/:txid",component:Dl},{path:"app/unconfirmedtransactions",component:Nl},{path:"app/richlist",component:cp},{path:"app/unspent/:address",component:hp}]]},[]),i._12(512,lo,bm,[]),i._12(1024,yo,Do,[i.g,Jr,wo,c,i.p,i.u,i.i,so,To,[2,co],[2,lo]]),i._12(512,jo,jo,[[2,Po],[2,yo]]),i._12(512,pp,pp,[])])});Object(i.Q)(),ur().bootstrapModuleFactory(wm)},x6VL:function(t,n,e){"use strict";e.d(n,"a",function(){return i});var r=e("TToO"),i=function(t){function n(){var n=t.call(this,"object unsubscribed");this.name=n.name="ObjectUnsubscribedError",this.stack=n.stack,this.message=n.message}return Object(r.b)(n,t),n}(Error)}},[0]); \ No newline at end of file diff --git a/dist/main.777200dacbc172066b57.js b/dist/main.777200dacbc172066b57.js new file mode 100644 index 00000000..8ddde6fc --- /dev/null +++ b/dist/main.777200dacbc172066b57.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{5:function(t,n,e){t.exports=e("zUnb")},"5NFG":function(t,n){},"5ey7":function(t,n,e){var r={"./en.json":["amrp",1],"./es.json":["ZF/7",0]};function i(t){var n=r[t];return n?e.e(n[1]).then(function(){var t=e(n[0]);return Object.assign({},"object"==typeof t&&t,{default:t})}):Promise.resolve().then(function(){var n=new Error('Cannot find module "'+t+'".');throw n.code="MODULE_NOT_FOUND",n})}i.keys=function(){return Object.keys(r)},i.id="5ey7",t.exports=i},cUpc:function(t,n){"scrollingElement"in document||function(){function t(t){return window.getComputedStyle?getComputedStyle(t,null):t.currentStyle}var n;function e(t){return"none"!=t.display&&!("collapse"==t.visibility&&/^table-(.+-group|row|column)$/.test(t.display))}var r=function(){if(function(){if(!/^CSS1/.test(document.compatMode))return!1;if(void 0===n){var t=document.createElement("iframe");t.style.height="1px",(document.body||document.documentElement||document).appendChild(t);var e=t.contentWindow.document;e.write('
x
'),e.close(),n=e.documentElement.scrollHeight>e.body.scrollHeight,t.parentNode.removeChild(t)}return n}())return document.documentElement;var r=document.body;return(r=r&&!/body/i.test(r.tagName)?function(t){for(var n,e=r;e=e.nextSibling;)if(1==e.nodeType&&(n=e,window.HTMLBodyElement?n instanceof HTMLBodyElement:/body/i.test(n.tagName)))return e;return null}():r)&&function(n){var r=t(n),i=t(document.documentElement);return"visible"!=r.overflow&&"visible"!=i.overflow&&e(r)&&e(i)}(r)?null:r};Object.defineProperty?Object.defineProperty(document,"scrollingElement",{get:r}):document.__defineGetter__?document.__defineGetter__("scrollingElement",r):(document.scrollingElement=r(),document.attachEvent&&document.attachEvent("onpropertychange",function(){"activeElement"==window.event.propertyName&&(document.scrollingElement=r())}))}()},crnd:function(t,n){function e(t){return Promise.resolve().then(function(){var n=new Error('Cannot find module "'+t+'".');throw n.code="MODULE_NOT_FOUND",n})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id="crnd"},mrSG:function(t,n,e){"use strict";e.r(n),e.d(n,"__extends",function(){return i}),e.d(n,"__assign",function(){return o}),e.d(n,"__rest",function(){return l}),e.d(n,"__decorate",function(){return u}),e.d(n,"__param",function(){return s}),e.d(n,"__metadata",function(){return a}),e.d(n,"__awaiter",function(){return c}),e.d(n,"__generator",function(){return h}),e.d(n,"__exportStar",function(){return p}),e.d(n,"__values",function(){return f}),e.d(n,"__read",function(){return d}),e.d(n,"__spread",function(){return y}),e.d(n,"__await",function(){return g}),e.d(n,"__asyncGenerator",function(){return m}),e.d(n,"__asyncDelegator",function(){return v}),e.d(n,"__asyncValues",function(){return b}),e.d(n,"__makeTemplateObject",function(){return _}),e.d(n,"__importStar",function(){return w}),e.d(n,"__importDefault",function(){return x});var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function i(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var o=function(){return(o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}function s(t,n){return function(e,r){n(e,r,t)}}function a(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)}function c(t,n,e,r){return new(e||(e=Promise))(function(i,o){function l(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){t.done?i(t.value):new e(function(n){n(t.value)}).then(l,u)}s((r=r.apply(t,n||[])).next())})}function h(t,n){var e,r,i,o,l={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;l;)try{if(e=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(i=(i=l.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}function d(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),l=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)l.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return l}function y(){for(var t=[],n=0;n1||u(t,n)})})}function u(t,n){try{(e=i[t](n)).value instanceof g?Promise.resolve(e.value.v).then(s,a):c(o[0][2],e)}catch(t){c(o[0][3],t)}var e}function s(t){u("next",t)}function a(t){u("throw",t)}function c(t,n){t(n),o.shift(),o.length&&u(o[0][0],o[0][1])}}function v(t){var n,e;return n={},r("next"),r("throw",function(t){throw t}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=t[r]?function(n){return(e=!e)?{value:g(t[r](n)),done:"return"===r}:i?i(n):n}:i}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=f(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise(function(r,i){!function(t,n,e,r){Promise.resolve(r).then(function(n){t({value:n,done:e})},n)}(r,i,(n=t[e](n)).done,n.value)})}}}function _(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t}function w(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.default=t,n}function x(t){return t&&t.__esModule?t:{default:t}}},zUnb:function(t,n,e){"use strict";e.r(n);var r={};e.d(r,"audit",function(){return iv}),e.d(r,"auditTime",function(){return uv}),e.d(r,"buffer",function(){return wg}),e.d(r,"bufferCount",function(){return Sg}),e.d(r,"bufferTime",function(){return Tg}),e.d(r,"bufferToggle",function(){return jg}),e.d(r,"bufferWhen",function(){return Lg}),e.d(r,"catchError",function(){return zu}),e.d(r,"combineAll",function(){return Bg}),e.d(r,"combineLatest",function(){return Sy}),e.d(r,"concat",function(){return Ug}),e.d(r,"concatAll",function(){return Gu}),e.d(r,"concatMap",function(){return _u}),e.d(r,"concatMapTo",function(){return zg}),e.d(r,"count",function(){return Hg}),e.d(r,"debounce",function(){return $g}),e.d(r,"debounceTime",function(){return Xg}),e.d(r,"defaultIfEmpty",function(){return gs}),e.d(r,"delay",function(){return em}),e.d(r,"delayWhen",function(){return lm}),e.d(r,"dematerialize",function(){return Gg}),e.d(r,"distinct",function(){return pm}),e.d(r,"distinctUntilChanged",function(){return ym}),e.d(r,"distinctUntilKeyChanged",function(){return vm}),e.d(r,"elementAt",function(){return Am}),e.d(r,"every",function(){return ts}),e.d(r,"exhaust",function(){return Cm}),e.d(r,"exhaustMap",function(){return Em}),e.d(r,"expand",function(){return Pm}),e.d(r,"filter",function(){return Xa}),e.d(r,"finalize",function(){return Rm}),e.d(r,"find",function(){return Fm}),e.d(r,"findIndex",function(){return zm}),e.d(r,"first",function(){return $u}),e.d(r,"groupBy",function(){return Gm}),e.d(r,"ignoreElements",function(){return Xm}),e.d(r,"isEmpty",function(){return nv}),e.d(r,"last",function(){return is}),e.d(r,"map",function(){return xu}),e.d(r,"mapTo",function(){return av}),e.d(r,"materialize",function(){return pv}),e.d(r,"max",function(){return yv}),e.d(r,"merge",function(){return mf}),e.d(r,"mergeAll",function(){return H}),e.d(r,"mergeMap",function(){return F}),e.d(r,"flatMap",function(){return F}),e.d(r,"mergeMapTo",function(){return gv}),e.d(r,"mergeScan",function(){return _v}),e.d(r,"min",function(){return Cv}),e.d(r,"multicast",function(){return et}),e.d(r,"observeOn",function(){return Du}),e.d(r,"onErrorResumeNext",function(){return Uy}),e.d(r,"pairwise",function(){return Sv}),e.d(r,"partition",function(){return kv}),e.d(r,"pluck",function(){return Tv}),e.d(r,"publish",function(){return Pv}),e.d(r,"publishBehavior",function(){return Iv}),e.d(r,"publishLast",function(){return Av}),e.d(r,"publishReplay",function(){return Mv}),e.d(r,"race",function(){return Nv}),e.d(r,"reduce",function(){return bs}),e.d(r,"repeat",function(){return jv}),e.d(r,"repeatWhen",function(){return Lv}),e.d(r,"retry",function(){return Bv}),e.d(r,"retryWhen",function(){return Hv}),e.d(r,"refCount",function(){return Z}),e.d(r,"sample",function(){return Gv}),e.d(r,"sampleTime",function(){return $v}),e.d(r,"scan",function(){return as}),e.d(r,"sequenceEqual",function(){return Jv}),e.d(r,"share",function(){return ot}),e.d(r,"shareReplay",function(){return rb}),e.d(r,"single",function(){return ib}),e.d(r,"skip",function(){return ub}),e.d(r,"skipLast",function(){return cb}),e.d(r,"skipUntil",function(){return fb}),e.d(r,"skipWhile",function(){return gb}),e.d(r,"startWith",function(){return bb}),e.d(r,"switchAll",function(){return Ob}),e.d(r,"switchMap",function(){return vf}),e.d(r,"switchMapTo",function(){return kb}),e.d(r,"take",function(){return Cf}),e.d(r,"takeLast",function(){return fs}),e.d(r,"takeUntil",function(){return Ib}),e.d(r,"takeWhile",function(){return Nb}),e.d(r,"tap",function(){return bm}),e.d(r,"throttle",function(){return Lb}),e.d(r,"throttleTime",function(){return Bb}),e.d(r,"timeInterval",function(){return qb}),e.d(r,"timeout",function(){return Qb}),e.d(r,"timeoutWith",function(){return Yb}),e.d(r,"timestamp",function(){return t_}),e.d(r,"toArray",function(){return xf}),e.d(r,"window",function(){return e_}),e.d(r,"windowCount",function(){return o_}),e.d(r,"windowTime",function(){return s_}),e.d(r,"windowToggle",function(){return y_}),e.d(r,"windowWhen",function(){return v_}),e.d(r,"withLatestFrom",function(){return w_}),e.d(r,"zip",function(){return $y}),e.d(r,"zipAll",function(){return S_});var i=e("mrSG"),o="undefined"!=typeof window&&window,l="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,u="undefined"!=typeof global&&global,s=o||u||l;function a(t){return"function"==typeof t}var c=Array.isArray||function(t){return t&&"number"==typeof t.length};function h(t){return null!=t&&"object"==typeof t}var p,f={e:{}};function d(){try{return p.apply(this,arguments)}catch(t){return f.e=t,f}}function y(t){return p=t,d}var g=function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return Object(i.__extends)(n,t),n}(Error),m=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new P(t[0],r):new I(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function z(t){return t}function H(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),F(z,null,t)}function q(){for(var t=[],n=0;n1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===r&&1===t.length&&t[0]instanceof T?t[0]:H(e)(new A(t,r))}var K=function(t){function n(){var n=t.call(this,"object unsubscribed");this.name=n.name="ObjectUnsubscribedError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error),G=function(t){function n(n,e){t.call(this),this.subject=n,this.subscriber=e,this.closed=!1}return Object(i.__extends)(n,t),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,n=t.observers;if(this.subject=null,n&&0!==n.length&&!t.isStopped&&!t.closed){var e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}},n}(m),W=function(t){function n(n){t.call(this,n),this.destination=n}return Object(i.__extends)(n,t),n}(x),Q=function(t){function n(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(i.__extends)(n,t),n.prototype[w]=function(){return new W(this)},n.prototype.lift=function(t){var n=new $(this,this);return n.operator=t,n},n.prototype.next=function(t){if(this.closed)throw new K;if(!this.isStopped)for(var n=this.observers,e=n.length,r=n.slice(),i=0;i1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(x),J=function(t){function n(n,e){t.call(this),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new m).add(this.source.subscribe(new nt(this.getSubject(),this))),t.closed?(this._connection=null,t=m.EMPTY):this._connection=t),t},n.prototype.refCount=function(){return Z()(this)},n}(T).prototype,tt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:J._subscribe},_isComplete:{value:J._isComplete,writable:!0},getSubject:{value:J.getSubject},connect:{value:J.connect},refCount:{value:J.refCount}},nt=function(t){function n(n,e){t.call(this,n),this.connectable=e}return Object(i.__extends)(n,t),n.prototype._error=function(n){this._unsubscribe(),t.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}},n}(W);function et(t,n){return function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new rt(r,n));var i=Object.create(e,tt);return i.source=e,i.subjectFactory=r,i}}var rt=function(){function t(t,n){this.subjectFactory=t,this.selector=n}return t.prototype.call=function(t,n){var e=this.selector,r=this.subjectFactory(),i=e(r).subscribe(t);return i.add(n.subscribe(r)),i},t}();function it(){return new Q}function ot(){return function(t){return Z()(et(it)(t))}}function lt(){return ot()(this)}var ut=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),st="__annotations__",at="__paramaters__",ct="__prop__metadata__";function ht(t,n,e,r){var i=pt(n);function o(t){if(this instanceof o)return i.call(this,t),this;var n=new o(t),e=function(t){return(t.hasOwnProperty(st)?t[st]:Object.defineProperty(t,st,{value:[]})[st]).push(n),t};return r&&r(e),e}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function pt(t){return function(){for(var n=[],e=0;e ");else if("object"==typeof n){var i=[];for(var o in n)if(n.hasOwnProperty(o)){var l=n[o];i.push(o+":"+("string"==typeof l?JSON.stringify(l):jt(l)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(e?"("+e+")":"")+"["+r+"]: "+t.replace(Qt,"\n ")}function Jt(t,n){return new Error(Xt(t,n))}var tn="ngDebugContext",nn="ngOriginalError",en="ngErrorLogger";function rn(t){return t[tn]}function on(t){return t[nn]}function ln(t){for(var n=[],e=1;e0)t._bootstrapComponents.forEach(function(t){return n.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+jt(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(n)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function re(t,n){return Array.isArray(n)?n.reduce(re,t):Object(i.__assign)({},t,n)}var ie=function(){function t(t,n,e,r,i,o){var l=this;this._zone=t,this._console=n,this._injector=e,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new T(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),s=new T(function(t){var n;l._zone.runOutsideAngular(function(){n=l._zone.onStable.subscribe(function(){Vn.assertNotInAngularZone(),At(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var e=l._zone.onUnstable.subscribe(function(){Vn.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){n.unsubscribe(),e.unsubscribe()}});this.isStable=q(u,lt.call(s))}return t.prototype.bootstrap=function(t,n){var e,r=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.");e=t instanceof xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(e.componentType);var i=e instanceof In?null:this._injector.get(Mn),o=e.create(Bt.NULL,[],n||e.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var l=o.injector.get(Gn,null);return l&&o.injector.get(Wn).registerApplication(o.location.nativeElement,l),this._loadComponent(o),Xn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Dn(e)}},t.prototype.attachView=function(t){var n=t;this._views.push(n),n.attachToAppRef(this)},t.prototype.detachView=function(t){var n=t;oe(this._views,n),n.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(mn,[]).concat(this._bootstrapListeners).forEach(function(n){return n(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),oe(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Rn("ApplicationRef#tick()"),t}();function oe(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var le=function(){},ue=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),se=function(){},ae=function(t){this.nativeElement=t},ce=function(){},he=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Ln,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,n){return this._results.reduce(t,n)},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[Mt()]=function(){return this._results[Mt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(n){return n.reduce(function(n,e){var r=Array.isArray(e)?t(e):e;return n.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),pe=function(){},fe={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},de=function(){function t(t,n){this._compiler=t,this._config=n||fe}return t.prototype.load=function(t){return this._compiler instanceof _n?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var n=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),e("crnd")(i).then(function(t){return t[o]}).then(function(t){return ye(t,i,o)}).then(function(t){return n._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var n=t.split("#"),r=n[0],i=n[1],o="NgFactory";return void 0===i&&(i="default",o=""),e("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return ye(t,r,i)})},t}();function ye(t,n,e){if(!t)throw new Error("Cannot find '"+e+"' in '"+n+"'");return t}var ge=function(){},me=function(){},ve=function(){},be=function(){function t(t,n,e){this._debugContext=e,this.nativeNode=t,n&&n instanceof _e?n.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),_e=function(t){function n(n,e,r){var i=t.call(this,n,e,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=n,i}return Object(i.__extends)(n,t),n.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},n.prototype.removeChild=function(t){var n=this.childNodes.indexOf(t);-1!==n&&(t.parent=null,this.childNodes.splice(n,1))},n.prototype.insertChildrenAfter=function(t,n){var e,r=this,i=this.childNodes.indexOf(t);-1!==i&&((e=this.childNodes).splice.apply(e,[i+1,0].concat(n)),n.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},n.prototype.insertBefore=function(t,n){var e=this.childNodes.indexOf(t);-1===e?this.addChild(n):(n.parent&&n.parent.removeChild(n),n.parent=this,this.childNodes.splice(e,0,n))},n.prototype.query=function(t){return this.queryAll(t)[0]||null},n.prototype.queryAll=function(t){var n=[];return function t(n,e,r){n.childNodes.forEach(function(n){n instanceof _e&&(e(n)&&r.push(n),t(n,e,r))})}(this,t,n),n},n.prototype.queryAllNodes=function(t){var n=[];return function t(n,e,r){n instanceof _e&&n.childNodes.forEach(function(n){e(n)&&r.push(n),n instanceof _e&&t(n,e,r)})}(this,t,n),n},Object.defineProperty(n.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof n})},enumerable:!0,configurable:!0}),n.prototype.triggerEventHandler=function(t,n){this.listeners.forEach(function(e){e.name==t&&e.callback(n)})},n}(be),we=new Map;function xe(t){return we.get(t)||null}function Ce(t){we.set(t.nativeNode,t)}function Se(t,n){var e=ke(t),r=ke(n);return e&&r?function(t,n,e){for(var r=t[Mt()](),i=n[Mt()]();;){var o=r.next(),l=i.next();if(o.done&&l.done)return!0;if(o.done||l.done)return!1;if(!e(o.value,l.value))return!1}}(t,n,Se):!(e||!t||"object"!=typeof t&&"function"!=typeof t||r||!n||"object"!=typeof n&&"function"!=typeof n)||Nt(t,n)}var Oe=function(){function t(t){this.wrapped=t}return t.wrap=function(n){return new t(n)},t.unwrap=function(n){return t.isWrapped(n)?n.wrapped:n},t.isWrapped=function(n){return n instanceof t},t}(),Ee=function(){function t(t,n,e){this.previousValue=t,this.currentValue=n,this.firstChange=e}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ke(t){return!!Te(t)&&(Array.isArray(t)||!(t instanceof Map)&&Mt()in t)}function Te(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Pe=function(){function t(){}return t.prototype.supports=function(t){return ke(t)},t.prototype.create=function(t){return new Me(t)},t}(),Ie=function(t,n){return n},Me=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ie}return t.prototype.forEachItem=function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)},t.prototype.forEachOperation=function(t){for(var n=this._itHead,e=this._removalsHead,r=0,i=null;n||e;){var o=!e||n&&n.currentIndex=e.length)&&(n=e.length-1),n<0)return null;var r=e[n];return r.viewContainerParent=null,li(e,n),or.dirtyParentQueries(r),ii(r),r}function ri(t,n,e){var r=n?Or(n,n.def.lastRenderRootNode):t.renderElement;jr(e,2,e.renderer.parentNode(r),e.renderer.nextSibling(r),void 0)}function ii(t){jr(t,3,null,null,void 0)}function oi(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function li(t,n){n>=t.length-1?t.pop():t.splice(n,1)}var ui=new Object;function si(t,n,e,r,i,o){return new ai(t,n,e,r,i,o)}var ai=function(t){function n(n,e,r,i,o,l){var u=t.call(this)||this;return u.selector=n,u.componentType=e,u._inputs=i,u._outputs=o,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=[],n=this._inputs;for(var e in n)t.push({propName:e,templateName:n[e]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){var t=[];for(var n in this._outputs)t.push({propName:n,templateName:this._outputs[n]});return t},enumerable:!0,configurable:!0}),n.prototype.create=function(t,n,e,r){if(!r)throw new Error("ngModule should be provided");var i=Nr(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,l=or.createRootView(t,n||[],e,i,r,ui),u=er(l,o).instance;return e&&l.renderer.setAttribute(nr(l,0).renderElement,"ng-version",bt.full),new ci(l,new di(l),u)},n}(xn),ci=function(t){function n(n,e,r){var i=t.call(this)||this;return i._view=n,i._viewRef=e,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=e,i.changeDetectorRef=e,i.instance=r,i}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"location",{get:function(){return new ae(nr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new vi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this._viewRef.destroy()},n.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},n}(function(){});function hi(t,n,e){return new pi(t,n,e)}var pi=function(){function t(t,n,e){this._view=t,this._elDef=n,this._data=e,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new ae(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new vi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,n=this._elDef.parent;!n&&t;)n=Sr(t),t=t.parent;return t?new vi(t,n):new vi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var n=ei(this._data,t);or.destroyView(n)}},t.prototype.get=function(t){var n=this._embeddedViews[t];if(n){var e=new di(n);return e.attachToViewContainerRef(this),e}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,n,e){var r=t.createEmbeddedView(n||{});return this.insert(r,e),r},t.prototype.createComponent=function(t,n,e,r,i){var o=e||this.parentInjector;i||t instanceof In||(i=o.get(Mn));var l=t.create(o,r,void 0,i);return this.insert(l.hostView,n),l},t.prototype.insert=function(t,n){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var e,r,i,o,l=t;return i=l._view,o=(e=this._data).viewContainer._embeddedViews,null!==(r=n)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,oi(o,r,i),function(t,n){var e=Cr(n);if(e&&e!==t&&!(16&n.state)){n.state|=16;var r=e.template._projectedViews;r||(r=e.template._projectedViews=[]),r.push(n),function(t,e){if(!(4&e.flags)){n.parent.def.nodeFlags|=4,e.flags|=4;for(var r=e.parent;r;)r.childFlags|=4,r=r.parent}}(0,n.parentNodeDef)}}(e,i),or.dirtyParentQueries(i),ri(e,r>0?o[r-1]:null,i),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,n){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var e,r,i,o,l,u=this._embeddedViews.indexOf(t._view);return i=n,l=(o=(e=this._data).viewContainer._embeddedViews)[r=u],li(o,r),null==i&&(i=o.length),oi(o,i,l),or.dirtyParentQueries(l),ii(l),ri(e,i>0?o[i-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var n=ei(this._data,t);n&&or.destroyView(n)},t.prototype.detach=function(t){var n=ei(this._data,t);return n?new di(n):null},t}();function fi(t){return new di(t)}var di=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return jr(this._view,0,void 0,void 0,t=[]),t;var t},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 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){_r(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{or.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){or.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),or.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ii(this._view),or.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function yi(t,n){return new gi(t,n)}var gi=function(t){function n(n,e){var r=t.call(this)||this;return r._parentView=n,r._def=e,r}return Object(i.__extends)(n,t),n.prototype.createEmbeddedView=function(t){return new di(or.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(n.prototype,"elementRef",{get:function(){return new ae(nr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),n}(ge);function mi(t,n){return new vi(t,n)}var vi=function(){function t(t,n){this.view=t,this.elDef=n}return t.prototype.get=function(t,n){return void 0===n&&(n=Bt.THROW_IF_NOT_FOUND),or.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:hr(t)},n)},t}();function bi(t,n){var e=t.def.nodes[n];if(1&e.flags){var r=nr(t,e.nodeIndex);return e.element.template?r.template:r.renderElement}if(2&e.flags)return tr(t,e.nodeIndex).renderText;if(20240&e.flags)return er(t,e.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+n)}function _i(t){return new wi(t.renderer)}var wi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,n){var e=Br(n),r=this.delegate.createElement(e[1],e[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var n=this.delegate.createComment("");return t&&this.delegate.appendChild(t,n),n},t.prototype.createText=function(t,n){var e=this.delegate.createText(n);return t&&this.delegate.appendChild(t,e),e},t.prototype.projectNodes=function(t,n){for(var e=0;e0,n.provider.value,n.provider.deps);if(n.outputs.length)for(var r=0;r0,r=n.provider;switch(201347067&n.flags){case 512:return Bi(t,n.parent,e,r.value,r.deps);case 1024:return function(t,n,e,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(zi(t,n,e,i[0]));case 2:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]));case 3:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]),zi(t,n,e,i[2]));default:for(var l=Array(o),u=0;u0)a=y,lo(y)||(c=y);else for(;a&&d===a.nodeIndex+a.childCount;){var v=a.parent;v&&(v.childFlags|=a.childFlags,v.childMatchedQueries|=a.childMatchedQueries),c=(a=v)&&lo(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:n,updateDirectives:e||ar,updateRenderer:r||ar,handleEvent:function(t,e,r,i){return n[e].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function lo(t){return 0!=(1&t.flags)&&null===t.element.name}function uo(t,n,e){var r=n.element&&n.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+n.nodeIndex+"!")}if(20224&n.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+n.nodeIndex+"!");if(n.query){if(67108864&n.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+n.nodeIndex+"!");if(134217728&n.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+n.nodeIndex+"!")}if(n.childCount){var i=t?t.nodeIndex+t.childCount:e-1;if(n.nodeIndex<=i&&n.nodeIndex+n.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+n.nodeIndex+"!")}}function so(t,n,e,r){var i=ho(t.root,t.renderer,t,n,e);return po(i,t.component,r),fo(i),i}function ao(t,n,e){var r=ho(t,t.renderer,null,null,n);return po(r,e,e),fo(r),r}function co(t,n,e,r){var i,o=n.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,ho(t.root,i,t,n.element.componentProvider,e)}function ho(t,n,e,r,i){var o=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:e,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:n,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function po(t,n,e){t.component=n,t.context=e}function fo(t){var n;Er(t)&&(n=nr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var e=t.def,r=t.nodes,i=0;i0&&$r(t,n,0,e)&&(f=!0),p>1&&$r(t,n,1,r)&&(f=!0),p>2&&$r(t,n,2,i)&&(f=!0),p>3&&$r(t,n,3,o)&&(f=!0),p>4&&$r(t,n,4,l)&&(f=!0),p>5&&$r(t,n,5,u)&&(f=!0),p>6&&$r(t,n,6,s)&&(f=!0),p>7&&$r(t,n,7,a)&&(f=!0),p>8&&$r(t,n,8,c)&&(f=!0),p>9&&$r(t,n,9,h)&&(f=!0),f}(t,n,e,r,i,o,l,u,s,a,c,h);case 2:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=!1,f=n.bindings,d=f.length;if(d>0&&vr(t,n,0,e)&&(p=!0),d>1&&vr(t,n,1,r)&&(p=!0),d>2&&vr(t,n,2,i)&&(p=!0),d>3&&vr(t,n,3,o)&&(p=!0),d>4&&vr(t,n,4,l)&&(p=!0),d>5&&vr(t,n,5,u)&&(p=!0),d>6&&vr(t,n,6,s)&&(p=!0),d>7&&vr(t,n,7,a)&&(p=!0),d>8&&vr(t,n,8,c)&&(p=!0),d>9&&vr(t,n,9,h)&&(p=!0),p){var y=n.text.prefix;d>0&&(y+=io(e,f[0])),d>1&&(y+=io(r,f[1])),d>2&&(y+=io(i,f[2])),d>3&&(y+=io(o,f[3])),d>4&&(y+=io(l,f[4])),d>5&&(y+=io(u,f[5])),d>6&&(y+=io(s,f[6])),d>7&&(y+=io(a,f[7])),d>8&&(y+=io(c,f[8])),d>9&&(y+=io(h,f[9]));var g=tr(t,n.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}(t,n,e,r,i,o,l,u,s,a,c,h);case 16384:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=er(t,n.nodeIndex),f=p.instance,d=!1,y=void 0,g=n.bindings.length;return g>0&&mr(t,n,0,e)&&(d=!0,y=qi(t,p,n,0,e,y)),g>1&&mr(t,n,1,r)&&(d=!0,y=qi(t,p,n,1,r,y)),g>2&&mr(t,n,2,i)&&(d=!0,y=qi(t,p,n,2,i,y)),g>3&&mr(t,n,3,o)&&(d=!0,y=qi(t,p,n,3,o,y)),g>4&&mr(t,n,4,l)&&(d=!0,y=qi(t,p,n,4,l,y)),g>5&&mr(t,n,5,u)&&(d=!0,y=qi(t,p,n,5,u,y)),g>6&&mr(t,n,6,s)&&(d=!0,y=qi(t,p,n,6,s,y)),g>7&&mr(t,n,7,a)&&(d=!0,y=qi(t,p,n,7,a,y)),g>8&&mr(t,n,8,c)&&(d=!0,y=qi(t,p,n,8,c,y)),g>9&&mr(t,n,9,h)&&(d=!0,y=qi(t,p,n,9,h,y)),y&&f.ngOnChanges(y),65536&n.flags&&Je(t,256,n.nodeIndex)&&f.ngOnInit(),262144&n.flags&&f.ngDoCheck(),d}(t,n,e,r,i,o,l,u,s,a,c,h);case 32:case 64:case 128:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=n.bindings,f=!1,d=p.length;if(d>0&&vr(t,n,0,e)&&(f=!0),d>1&&vr(t,n,1,r)&&(f=!0),d>2&&vr(t,n,2,i)&&(f=!0),d>3&&vr(t,n,3,o)&&(f=!0),d>4&&vr(t,n,4,l)&&(f=!0),d>5&&vr(t,n,5,u)&&(f=!0),d>6&&vr(t,n,6,s)&&(f=!0),d>7&&vr(t,n,7,a)&&(f=!0),d>8&&vr(t,n,8,c)&&(f=!0),d>9&&vr(t,n,9,h)&&(f=!0),f){var y=rr(t,n.nodeIndex),g=void 0;switch(201347067&n.flags){case 32:g=new Array(p.length),d>0&&(g[0]=e),d>1&&(g[1]=r),d>2&&(g[2]=i),d>3&&(g[3]=o),d>4&&(g[4]=l),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=a),d>8&&(g[8]=c),d>9&&(g[9]=h);break;case 64:g={},d>0&&(g[p[0].name]=e),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=i),d>3&&(g[p[3].name]=o),d>4&&(g[p[4].name]=l),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=a),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=h);break;case 128:var m=e;switch(d){case 1:g=m.transform(e);break;case 2:g=m.transform(r);break;case 3:g=m.transform(r,i);break;case 4:g=m.transform(r,i,o);break;case 5:g=m.transform(r,i,o,l);break;case 6:g=m.transform(r,i,o,l,u);break;case 7:g=m.transform(r,i,o,l,u,s);break;case 8:g=m.transform(r,i,o,l,u,s,a);break;case 9:g=m.transform(r,i,o,l,u,s,a,c);break;case 10:g=m.transform(r,i,o,l,u,s,a,c,h)}}y.value=g}return f}(t,n,e,r,i,o,l,u,s,a,c,h);default:throw"unreachable"}}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){switch(201347067&n.flags){case 1:return function(t,n,e){for(var r=!1,i=0;i0&&br(t,n,0,e),p>1&&br(t,n,1,r),p>2&&br(t,n,2,i),p>3&&br(t,n,3,o),p>4&&br(t,n,4,l),p>5&&br(t,n,5,u),p>6&&br(t,n,6,s),p>7&&br(t,n,7,a),p>8&&br(t,n,8,c),p>9&&br(t,n,9,h)}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){for(var r=0;r0?n.substring(1):n},n.prototype.prepareExternalUrl=function(t){var n=bl.joinWithSlash(this._baseHref,t);return n.length>0?"#"+n:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(ml),xl=function(t){function n(n,e){var r=t.call(this)||this;if(r._platformLocation=n,null==e&&(e=r._platformLocation.getBaseHrefFromDOM()),null==e)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.");return r._baseHref=e,r}return Object(i.__extends)(n,t),n.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(t){return bl.joinWithSlash(this._baseHref,t)},n.prototype.path=function(t){void 0===t&&(t=!1);var n=this._platformLocation.pathname+bl.normalizeQueryParams(this._platformLocation.search),e=this._platformLocation.hash;return e&&t?""+n+e:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(ml),Cl=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===e?1:5}],Sl={},Ol=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),El=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),kl=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),Tl=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),Pl=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),Il=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function Ml(t,n){return Dl(Vl(t)[10],n)}function Al(t,n){return Dl(Vl(t)[11],n)}function Nl(t,n){return Dl(Vl(t)[12],n)}function jl(t,n){var e=Vl(t),r=e[13][n];if(void 0===r){if(n===Il.CurrencyDecimal)return e[13][Il.Decimal];if(n===Il.CurrencyGroup)return e[13][Il.Group]}return r}function Rl(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Dl(t,n){for(var e=n;e>-1;e--)if(void 0!==t[e])return t[e];throw new Error("Locale data API: locale data undefined")}function Ll(t){var n=t.split(":");return{hours:+n[0],minutes:+n[1]}}function Vl(t){var n=t.toLowerCase().replace(/_/g,"-"),e=Sl[n];if(e)return e;var r=n.split("-")[0];if(e=Sl[r])return e;if("en"===r)return Cl;throw new Error('Missing locale data for the locale "'+t+'".')}var Fl=new ut("UseV4Plurals"),Bl=function(){},Ul=function(t){function n(n,e){var r=t.call(this)||this;return r.locale=n,r.deprecatedPluralFn=e,r}return Object(i.__extends)(n,t),n.prototype.getPluralCategory=function(t,n){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(n||this.locale,t):function(t){return Vl(t)[17]}(n||this.locale)(t)){case El.Zero:return"zero";case El.One:return"one";case El.Two:return"two";case El.Few:return"few";case El.Many:return"many";default:return"other"}},n}(Bl),zl=function(){function t(t,n,e,r){this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=e,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(ke(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}},t.prototype._applyKeyValueChanges=function(t){var n=this;t.forEachAddedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&n._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var n=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+jt(t.item));n._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return n._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!0)}):Object.keys(t).forEach(function(e){return n._toggleClass(e,!!t[e])}))},t.prototype._removeClasses=function(t){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return n._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,n){var e=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n?e._renderer.addClass(e._ngEl.nativeElement,t):e._renderer.removeClass(e._ngEl.nativeElement,t)})},t}(),Hl=function(){function t(t,n,e,r){this.$implicit=t,this.ngForOf=n,this.index=e,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),ql=function(){function t(t,n,e){this._viewContainer=t,this._template=n,this._differs=e,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Xn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var n=t.ngForOf.currentValue;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var n=this,e=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=n._viewContainer.createEmbeddedView(n._template,new Hl(null,n.ngForOf,-1,-1),i),l=new Kl(t,o);e.push(l)}else null==i?n._viewContainer.remove(r):(o=n._viewContainer.get(r),n._viewContainer.move(o,i),l=new Kl(t,o),e.push(l))});for(var r=0;r0||u>-e)&&(u+=e),t===Yl.Hours&&0===u&&-12===e&&(u=12),tu(u,n,jl(l,Il.MinusSign),r,i)}}function eu(t,n,e,r){return void 0===e&&(e=kl.Format),void 0===r&&(r=!1),function(i,o){return function(t,n,e,r,i,o){switch(e){case Xl.Months:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[5],r[6]],n),e)}(n,i,r)[t.getMonth()];case Xl.Days:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[3],r[4]],n),e)}(n,i,r)[t.getDay()];case Xl.DayPeriods:var l=t.getHours(),u=t.getMinutes();if(o){var s,a=function(t){var n=Vl(t);return Rl(n),(n[18][2]||[]).map(function(t){return"string"==typeof t?Ll(t):[Ll(t[0]),Ll(t[1])]})}(n),c=function(t,n,e){var r=Vl(t);return Rl(r),Dl(Dl([r[18][0],r[18][1]],n)||[],e)||[]}(n,i,r);if(a.forEach(function(t,n){if(Array.isArray(t)){var e=t[0],r=t[1],i=r.hours;l>=e.hours&&u>=e.minutes&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Zl.Short:return(i>=0?"+":"")+tu(l,2,o)+tu(Math.abs(i%60),2,o);case Zl.ShortGMT:return"GMT"+(i>=0?"+":"")+tu(l,1,o);case Zl.Long:return"GMT"+(i>=0?"+":"")+tu(l,2,o)+":"+tu(Math.abs(i%60),2,o);case Zl.Extended:return 0===r?"Z":(i>=0?"+":"")+tu(l,2,o)+":"+tu(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var iu=0,ou=4;function lu(t,n){return void 0===n&&(n=!1),function(e,r){var i,o,l,u;if(n){var s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();i=1+Math.floor((a+s)/7)}else{var c=(l=e.getFullYear(),u=new Date(l,iu,1).getDay(),new Date(l,0,1+(u<=ou?ou:ou+7)-u)),h=(o=e,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(ou-o.getDay()))).getTime()-c.getTime();i=1+Math.round(h/6048e5)}return tu(i,t,jl(r,Il.MinusSign))}}var uu={};function su(t,n){t=t.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function au(t,n){return Error("InvalidPipeArgument: '"+n+"' for pipe '"+jt(t)+"'")}var cu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hu=function(){function t(t){this.locale=t}return t.prototype.transform=function(n,e,r,i){if(void 0===e&&(e="mediumDate"),null==n||""===n||n!=n)return null;var o,l;if("string"==typeof n&&(n=n.trim()),pu(n))o=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var u=n.split("-").map(function(t){return+t});o=new Date(u[0],u[1]-1,u[2])}else o="string"==typeof n&&(l=n.match(cu))?function(t){var n=new Date(0),e=0,r=0,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?n.setUTCFullYear:n.setFullYear).call(n,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-e,l=+(t[5]||"0")-r,u=+(t[6]||"0"),s=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(n,o,l,u,s),n}(l):new Date(n);else o=new Date(parseFloat(n));if(!pu(o))throw au(t,n);return function(t,n,e,r){n=function t(n,e){var r=function(t){return Vl(t)[0]}(n);if(Ql[r]=Ql[r]||{},Ql[r][e])return Ql[r][e];var i="";switch(e){case"shortDate":i=Ml(n,Pl.Short);break;case"mediumDate":i=Ml(n,Pl.Medium);break;case"longDate":i=Ml(n,Pl.Long);break;case"fullDate":i=Ml(n,Pl.Full);break;case"shortTime":i=Al(n,Pl.Short);break;case"mediumTime":i=Al(n,Pl.Medium);break;case"longTime":i=Al(n,Pl.Long);break;case"fullTime":i=Al(n,Pl.Full);break;case"short":var o=t(n,"shortTime"),l=t(n,"shortDate");i=Jl(Nl(n,Pl.Short),[o,l]);break;case"medium":var u=t(n,"mediumTime"),s=t(n,"mediumDate");i=Jl(Nl(n,Pl.Medium),[u,s]);break;case"long":var a=t(n,"longTime"),c=t(n,"longDate");i=Jl(Nl(n,Pl.Long),[a,c]);break;case"full":var h=t(n,"fullTime"),p=t(n,"fullDate");i=Jl(Nl(n,Pl.Full),[h,p])}return i&&(Ql[r][e]=i),i}(e,n)||n;for(var i,o=[];n;){if(!(i=$l.exec(n))){o.push(n);break}var l=(o=o.concat(i.slice(1))).pop();if(!l)break;n=l}var u=t.getTimezoneOffset();r&&(u=su(r,u),t=function(t,n,e){var r=t.getTimezoneOffset();return function(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,-1*(su(n,r)-r))}(t,r));var s="";return o.forEach(function(n){var r=function(t){if(uu[t])return uu[t];var n;switch(t){case"G":case"GG":case"GGG":n=eu(Xl.Eras,Tl.Abbreviated);break;case"GGGG":n=eu(Xl.Eras,Tl.Wide);break;case"GGGGG":n=eu(Xl.Eras,Tl.Narrow);break;case"y":n=nu(Yl.FullYear,1,0,!1,!0);break;case"yy":n=nu(Yl.FullYear,2,0,!0,!0);break;case"yyy":n=nu(Yl.FullYear,3,0,!1,!0);break;case"yyyy":n=nu(Yl.FullYear,4,0,!1,!0);break;case"M":case"L":n=nu(Yl.Month,1,1);break;case"MM":case"LL":n=nu(Yl.Month,2,1);break;case"MMM":n=eu(Xl.Months,Tl.Abbreviated);break;case"MMMM":n=eu(Xl.Months,Tl.Wide);break;case"MMMMM":n=eu(Xl.Months,Tl.Narrow);break;case"LLL":n=eu(Xl.Months,Tl.Abbreviated,kl.Standalone);break;case"LLLL":n=eu(Xl.Months,Tl.Wide,kl.Standalone);break;case"LLLLL":n=eu(Xl.Months,Tl.Narrow,kl.Standalone);break;case"w":n=lu(1);break;case"ww":n=lu(2);break;case"W":n=lu(1,!0);break;case"d":n=nu(Yl.Date,1);break;case"dd":n=nu(Yl.Date,2);break;case"E":case"EE":case"EEE":n=eu(Xl.Days,Tl.Abbreviated);break;case"EEEE":n=eu(Xl.Days,Tl.Wide);break;case"EEEEE":n=eu(Xl.Days,Tl.Narrow);break;case"EEEEEE":n=eu(Xl.Days,Tl.Short);break;case"a":case"aa":case"aaa":n=eu(Xl.DayPeriods,Tl.Abbreviated);break;case"aaaa":n=eu(Xl.DayPeriods,Tl.Wide);break;case"aaaaa":n=eu(Xl.DayPeriods,Tl.Narrow);break;case"b":case"bb":case"bbb":n=eu(Xl.DayPeriods,Tl.Abbreviated,kl.Standalone,!0);break;case"bbbb":n=eu(Xl.DayPeriods,Tl.Wide,kl.Standalone,!0);break;case"bbbbb":n=eu(Xl.DayPeriods,Tl.Narrow,kl.Standalone,!0);break;case"B":case"BB":case"BBB":n=eu(Xl.DayPeriods,Tl.Abbreviated,kl.Format,!0);break;case"BBBB":n=eu(Xl.DayPeriods,Tl.Wide,kl.Format,!0);break;case"BBBBB":n=eu(Xl.DayPeriods,Tl.Narrow,kl.Format,!0);break;case"h":n=nu(Yl.Hours,1,-12);break;case"hh":n=nu(Yl.Hours,2,-12);break;case"H":n=nu(Yl.Hours,1);break;case"HH":n=nu(Yl.Hours,2);break;case"m":n=nu(Yl.Minutes,1);break;case"mm":n=nu(Yl.Minutes,2);break;case"s":n=nu(Yl.Seconds,1);break;case"ss":n=nu(Yl.Seconds,2);break;case"S":n=nu(Yl.Milliseconds,1);break;case"SS":n=nu(Yl.Milliseconds,2);break;case"SSS":n=nu(Yl.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":n=ru(Zl.Short);break;case"ZZZZZ":n=ru(Zl.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ru(Zl.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=ru(Zl.Long);break;default:return null}return uu[t]=n,n}(n);s+=r?r(t,e,u):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}(o,e,i||this.locale,r)},t}();function pu(t){return t instanceof Date&&!isNaN(t.valueOf())}var fu=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function du(t){var n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}var yu=function(){function t(t){this._locale=t}return t.prototype.transform=function(n,e,r){if(function(t){return null==t||""===t||t!=t}(n))return null;var i=function(t,n,e,r,i){void 0===i&&(i=null);var o,l={str:null},u=function(t,n){return Vl(t)[14][n]}(n,e);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return l.error=t+" is not a number",l;o=t}else o=+t;var s=function(t,n){void 0===n&&(n="-");var e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],o=r[1],l=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],u=l[0],s=l[1]||"";e.posPre=u.substr(0,u.indexOf("#"));for(var a=0;a-1&&(l=l.replace(".","")),(r=l.search(/e/i))>0?(e<0&&(e=r),e+=+l.slice(r+1),l=l.substring(0,r)):e<0&&(e=l.length),r=0;"0"===l.charAt(r);r++);if(r===(o=l.length))n=[0],e=1;else{for(o--;"0"===l.charAt(o);)o--;for(e-=r,n=[],i=0;r<=o;r++,i++)n[i]=+l.charAt(r)}return e>22&&(n=n.splice(0,21),u=e-1,e=1),{digits:n,exponent:u,integerLen:e}}(o);e===Ol.Percent&&(h=function(t){if(0===t.digits[0])return t;var n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(h));var p=s.minInt,f=s.minFrac,d=s.maxFrac;if(r){var y=r.match(fu);if(null===y)return l.error=r+" is not a valid digit info",l;var g=y[1],m=y[3],v=y[5];null!=g&&(p=du(g)),null!=m&&(f=du(m)),null!=v?d=du(v):null!=m&&f>d&&(d=f)}!function(t,n,e){if(n>e)throw new Error("The minimum number of digits after fraction ("+n+") is higher than the maximum ("+e+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),l=o+t.integerLen,u=r[l];if(l>0){r.splice(Math.max(t.integerLen,l));for(var s=l;s=5)if(l-1<0){for(var c=0;c>l;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[l-1]++;for(;i=p?r.pop():h=!1),n>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}(h,f,d);var b=h.digits,_=h.integerLen,w=h.exponent,x=[];for(c=b.every(function(t){return!t});_0?x=b.splice(_,b.length):(x=b,b=[0]);var C=[];for(b.length>=s.lgSize&&C.unshift(b.splice(-s.lgSize,b.length).join(""));b.length>s.gSize;)C.unshift(b.splice(-s.gSize,b.length).join(""));b.length&&C.unshift(b.join("")),a=C.join(jl(n,i?Il.CurrencyGroup:Il.Group)),x.length&&(a+=jl(n,i?Il.CurrencyDecimal:Il.Decimal)+x.join("")),w&&(a+=jl(n,Il.Exponential)+"+"+w)}else a=jl(n,Il.Infinity);return a=o<0&&!c?s.negPre+a+s.negSuf:s.posPre+a+s.posSuf,e===Ol.Currency&&null!==i?(l.str=a.replace("\xa4",i).replace("\xa4",""),l):e===Ol.Percent?(l.str=a.replace(new RegExp("%","g"),jl(n,Il.PercentSign)),l):(l.str=a,l)}(n,r=r||this._locale,Ol.Decimal,e),o=i.str,l=i.error;if(l)throw au(t,l);return o},t}(),gu=function(){},mu=new ut("DocumentToken"),vu=function(t){function n(n){t.call(this),this._value=n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),n.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return e&&!e.closed&&n.next(this._value),e},n.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new K;return this._value},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(Q),bu=A.of;function _u(t,n){return F(t,n,1)}function wu(t,n){return _u(t,n)(this)}function xu(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new Cu(t,n))}}var Cu=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new Su(t,this.project,this.thisArg))},t}(),Su=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.count=0,this.thisArg=r||this}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(x);function Ou(t,n){return xu(t,n)(this)}function Eu(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),F(t,n,e)(this)}var ku=function(t){function n(n,e){t.call(this),this.promise=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n=this,e=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):e.then(function(e){n.value=e,n._isScalar=!0,t.closed||(t.next(e),t.complete())},function(n){t.closed||t.error(n)}).then(null,function(t){s.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Tu,0,{value:this.value,subscriber:t})}else e.then(function(e){n.value=e,n._isScalar=!0,t.closed||t.add(r.schedule(Tu,0,{value:e,subscriber:t}))},function(n){t.closed||t.add(r.schedule(Pu,0,{err:n,subscriber:t}))}).then(null,function(t){s.setTimeout(function(){throw t})})},n}(T);function Tu(t){var n=t.subscriber;n.closed||(n.next(t.value),n.complete())}function Pu(t){var n=t.subscriber;n.closed||n.error(t.err)}var Iu=function(t){function n(n,e){if(t.call(this),this.scheduler=e,null==n)throw new Error("iterator cannot be null.");this.iterator=function(t){var n=t[R];if(!n&&"string"==typeof t)return new Mu(t);if(!n&&void 0!==t.length)return new Au(t);if(!n)throw new TypeError("object is not iterable");return t[R]()}(n)}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){var n=t.index,e=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=e.next();i.done?r.complete():(r.next(i.value),t.index=n+1,r.closed?"function"==typeof e.return&&e.return():this.schedule(t))}},n.prototype._subscribe=function(t){var e=this.iterator,r=this.scheduler;if(r)return r.schedule(n.dispatch,0,{index:0,iterator:e,subscriber:t});for(;;){var i=e.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof e.return&&e.return();break}}},n}(T),Mu=function(){function t(t,n,e){void 0===n&&(n=0),void 0===e&&(e=t.length),this.str=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idxNu?Nu:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o=2&&(e=!0),function(r){return r.lift(new cs(t,n,e))}}var cs=function(){function t(t,n,e){void 0===e&&(e=!1),this.accumulator=t,this.seed=n,this.hasSeed=e}return t.prototype.call=function(t,n){return n.subscribe(new hs(t,this.accumulator,this.seed,this.hasSeed))},t}(),hs=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),n.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},n.prototype._tryNext=function(t){var n,e=this.index++;try{n=this.accumulator(this.seed,t,e)}catch(t){this.destination.error(t)}this.seed=n,this.destination.next(n)},n}(x),ps=function(t){function n(){var n=t.call(this,"argument out of range");this.name=n.name="ArgumentOutOfRangeError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error);function fs(t){return function(n){return 0===t?new I:n.lift(new ds(t))}}var ds=function(){function t(t){if(this.total=t,this.total<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(new ys(t,this.total))},t}(),ys=function(t){function n(n,e){t.call(this,n),this.total=e,this.ring=new Array,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.ring,e=this.total,r=this.count++;n.length0)for(var e=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2?function(e){return E(as(t,n),fs(1),gs(n))(e)}:function(n){return E(as(function(n,e,r){return t(n,e,r+1)}),fs(1))(n)}}function _s(t,n){return arguments.length>=2?bs(t,n)(this):bs(t)(this)}var ws=null;function xs(){return ws}var Cs,Ss={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Os={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Es={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};Tt.Node&&(Cs=Tt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var ks,Ts=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){var t;t=new n,ws||(ws=t)},n.prototype.hasProperty=function(t,n){return n in t},n.prototype.setProperty=function(t,n,e){t[n]=e},n.prototype.getProperty=function(t,n){return t[n]},n.prototype.invoke=function(t,n,e){var r;(r=t)[n].apply(r,e)},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return Ss},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,n){return Cs.call(t,n)},n.prototype.querySelector=function(t,n){return t.querySelector(n)},n.prototype.querySelectorAll=function(t,n){return t.querySelectorAll(n)},n.prototype.on=function(t,n,e){t.addEventListener(n,e,!1)},n.prototype.onAndCancel=function(t,n,e){return t.addEventListener(n,e,!1),function(){t.removeEventListener(n,e,!1)}},n.prototype.dispatchEvent=function(t,n){t.dispatchEvent(n)},n.prototype.createMouseEvent=function(t){var n=this.getDefaultDocument().createEvent("MouseEvent");return n.initEvent(t,!0,!0),n},n.prototype.createEvent=function(t){var n=this.getDefaultDocument().createEvent("Event");return n.initEvent(t,!0,!0),n},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var n=t.childNodes,e=new Array(n.length),r=0;r0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var n=new Map,e=t.attributes,r=0;r0;l||(l=t[o]=[]);var s=ca(n)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:i});else{for(var a=!1,c=0;c-1},n}(Hs),ma=["alt","control","meta","shift"],va={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ba=function(t){function n(n){return t.call(this,n)||this}return Object(i.__extends)(n,t),n.prototype.supports=function(t){return null!=n.parseEventName(t)},n.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return xs().onAndCancel(t,i.domEventName,o)})},n.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(ma.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=o,l},n.getEventFullKey=function(t){var n="",e=xs().getEventKey(t);return" "===(e=e.toLowerCase())?e="space":"."===e&&(e="dot"),ma.forEach(function(r){r!=e&&(0,va[r])(t)&&(n+=r+".")}),n+=e},n.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},n._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},n}(Hs),_a=function(){function t(t,n){this.defaultDoc=t,this.DOM=n;var e=this.DOM.createHtmlDocument();if(this.inertBodyElement=e.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",e);this.inertBodyElement=this.DOM.createElement("body",e),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(e,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var n=new XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+t,!1),n.send(null);var e=n.response.body;return e.removeChild(e.firstChild),e},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var n=this.DOM.createElement("template");return"content"in n?(this.DOM.setInnerHTML(n,t),n):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var n=this;this.DOM.attributeMap(t).forEach(function(e,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||n.DOM.removeAttribute(t,r)});for(var e=0,r=this.DOM.childNodesAsList(t);e")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var n=this.DOM.nodeName(t).toLowerCase();Ma.hasOwnProperty(n)&&!ka.hasOwnProperty(n)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Va(t))},t.prototype.checkClobberedElement=function(t,n){if(n&&this.DOM.contains(t,n))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return n},t}(),Da=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,La=/([^\#-~ |!])/g;function Va(t){return t.replace(/&/g,"&").replace(Da,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(La,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Fa=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ba=/^url\(([^)]+)\)$/,Ua=function(){},za=function(t){function n(n){var e=t.call(this)||this;return e._doc=n,e}return Object(i.__extends)(n,t),n.prototype.sanitize=function(t,n){if(null==n)return null;switch(t){case Ze.NONE:return n;case Ze.HTML:return n instanceof qa?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"HTML"),function(t,n){var e=xs(),r=null;try{Ea=Ea||new _a(t,e);var i=n?String(n):"";r=Ea.getInertBodyElement(i);var o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=e.getInnerHTML(r),r=Ea.getInertBodyElement(i)}while(i!==l);var u=new Ra,s=u.sanitizeChildren(e.getTemplateContent(r)||r);return Xn()&&u.sanitizedSomething&&e.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(r)for(var a=e.getTemplateContent(r)||r,c=0,h=e.childNodesAsList(a);ct.length)return null;if("full"===e.pathMatch&&(n.hasChildren()||r.length0?t[t.length-1]:null}function Ic(t,n){for(var e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Mc(t){var n=ss.call(t);return rs.call(n,function(t){return!0===t})}function Ac(t){return an(t)?t:sn(t)?Ju(Promise.resolve(t)):bu(t)}function Nc(t,n,e){return e?function(t,n){return kc(t,n)}(t.queryParams,n.queryParams)&&function t(n,e){if(!Lc(n.segments,e.segments))return!1;if(n.numberOfChildren!==e.numberOfChildren)return!1;for(var r in e.children){if(!n.children[r])return!1;if(!t(n.children[r],e.children[r]))return!1}return!0}(t.root,n.root):function(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(t.queryParams,n.queryParams)&&function t(n,e){return function n(e,r,i){if(e.segments.length>i.length)return!!Lc(l=e.segments.slice(0,i.length),i)&&!r.hasChildren();if(e.segments.length===i.length){if(!Lc(e.segments,i))return!1;for(var o in r.children){if(!e.children[o])return!1;if(!t(e.children[o],r.children[o]))return!1}return!0}var l=i.slice(0,e.segments.length),u=i.slice(e.segments.length);return!!Lc(e.segments,l)&&!!e.children[vc]&&n(e.children[vc],r,u)}(n,e,e.segments)}(t.root,n.root)}var jc=function(){function t(t,n,e){this.root=t,this.queryParams=n,this.fragment=e}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_c(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Uc.serialize(this)},t}(),Rc=function(){function t(t,n){var e=this;this.segments=t,this.children=n,this.parent=null,Ic(n,function(t,n){return t.parent=e})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zc(this)},t}(),Dc=function(){function t(t,n){this.path=t,this.parameters=n}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=_c(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Qc(this)},t}();function Lc(t,n){return t.length===n.length&&t.every(function(t,e){return t.path===n[e].path})}function Vc(t,n){var e=[];return Ic(t.children,function(t,r){r===vc&&(e=e.concat(n(t,r)))}),Ic(t.children,function(t,r){r!==vc&&(e=e.concat(n(t,r)))}),e}var Fc=function(){},Bc=function(){function t(){}return t.prototype.parse=function(t){var n=new Jc(t);return new jc(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())},t.prototype.serialize=function(t){var n,e;return"/"+function t(n,e){if(!n.hasChildren())return zc(n);if(e){var r=n.children[vc]?t(n.children[vc],!1):"",i=[];return Ic(n.children,function(n,e){e!==vc&&i.push(e+":"+t(n,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Vc(n,function(e,r){return r===vc?[t(n.children[vc],!1)]:[r+":"+t(e,!1)]});return zc(n)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(n){return qc(t)+"="+qc(n)}).join("&"):qc(t)+"="+qc(e)})).length?"?"+e.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Uc=new Bc;function zc(t){return t.segments.map(function(t){return Qc(t)}).join("/")}function Hc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qc(t){return Hc(t).replace(/%3B/gi,";")}function Kc(t){return Hc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gc(t){return decodeURIComponent(t)}function Wc(t){return Gc(t.replace(/\+/g,"%20"))}function Qc(t){return""+Kc(t.path)+(n=t.parameters,Object.keys(n).map(function(t){return";"+Kc(t)+"="+Kc(n[t])}).join(""));var n}var $c=/^[^\/()?;=&#]+/;function Zc(t){var n=t.match($c);return n?n[0]:""}var Yc=/^[^=?&#]+/,Xc=/^[^?&#]+/,Jc=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Rc([],{}):new Rc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(e[vc]=new Rc(t,n)),e},t.prototype.parseSegment=function(){var t=Zc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Dc(Gc(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var n=Zc(this.remaining);if(n){this.capture(n);var e="";if(this.consumeOptional("=")){var r=Zc(this.remaining);r&&this.capture(e=r)}t[Gc(n)]=Gc(e)}},t.prototype.parseQueryParam=function(t){var n,e=(n=this.remaining.match(Yc))?n[0]:"";if(e){this.capture(e);var r="";if(this.consumeOptional("=")){var i=function(t){var n=t.match(Xc);return n?n[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Wc(e),l=Wc(r);if(t.hasOwnProperty(o)){var u=t[o];Array.isArray(u)||(t[o]=u=[u]),u.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var e=Zc(this.remaining),r=this.remaining[e.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;e.indexOf(":")>-1?(i=e.substr(0,e.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=vc);var o=this.parseChildren();n[i]=1===Object.keys(o).length?o[vc]:new Rc([],o),this.consumeOptional("//")}return n},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),th=function(t){this.segmentGroup=t||null},nh=function(t){this.urlTree=t};function eh(t){return new T(function(n){return n.error(new th(t))})}function rh(t){return new T(function(n){return n.error(new nh(t))})}function ih(t){return new T(function(n){return n.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var oh=function(){function t(t,n,e,r,i){this.configLoader=n,this.urlSerializer=e,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Mn)}return t.prototype.apply=function(){var t=this,n=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vc),e=Ou.call(n,function(n){return t.createUrlTree(n,t.urlTree.queryParams,t.urlTree.fragment)});return Ku.call(e,function(n){if(n instanceof nh)return t.allowRedirects=!1,t.match(n.urlTree);if(n instanceof th)throw t.noMatchError(n);throw n})},t.prototype.match=function(t){var n=this,e=this.expandSegmentGroup(this.ngModule,this.config,t.root,vc),r=Ou.call(e,function(e){return n.createUrlTree(e,t.queryParams,t.fragment)});return Ku.call(r,function(t){if(t instanceof th)throw n.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,n,e){var r,i=t.segments.length>0?new Rc([],((r={})[vc]=t,r)):t;return new jc(i,n,e)},t.prototype.expandSegmentGroup=function(t,n,e,r){return 0===e.segments.length&&e.hasChildren()?Ou.call(this.expandChildren(t,n,e),function(t){return new Rc([],t)}):this.expandSegment(t,e,n,e.segments,r,!0)},t.prototype.expandChildren=function(t,n,e){var r=this;return function(e,i){if(0===Object.keys(e).length)return bu({});var o=[],l=[],u={};Ic(e,function(e,i){var s=Ou.call(r.expandSegmentGroup(t,n,e,i),function(t){return u[i]=t});i===vc?o.push(s):l.push(s)});var s=Wu.call(bu.apply(void 0,o.concat(l))),a=us.call(s);return Ou.call(a,function(){return u})}(e.children)},t.prototype.expandSegment=function(t,n,e,r,i,o){var l=this,u=bu.apply(void 0,e),s=Ou.call(u,function(u){var s=l.expandSegmentAgainstRoute(t,n,e,u,r,i,o);return Ku.call(s,function(t){if(t instanceof th)return bu(null);throw t})}),a=Wu.call(s),c=Xu.call(a,function(t){return!!t});return Ku.call(c,function(t,e){if(t instanceof Qu||"EmptyError"===t.name){if(l.noLeftoversInUrl(n,r,i))return bu(new Rc([],{}));throw new th(n)}throw t})},t.prototype.noLeftoversInUrl=function(t,n,e){return 0===n.length&&!t.children[e]},t.prototype.expandSegmentAgainstRoute=function(t,n,e,r,i,o,l){return ah(r)!==o?eh(n):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,n,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o):eh(n)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,n,e,r){var i=this,o=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?rh(o):Eu.call(this.lineralizeSegments(e,o),function(e){var o=new Rc(e,{});return i.expandSegment(t,o,n,e,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){var l=this,u=lh(n,r,i),s=u.consumedSegments,a=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return eh(n);var h=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?rh(h):Eu.call(this.lineralizeSegments(r,h),function(r){return l.expandSegment(t,n,e,r.concat(i.slice(a)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,n,e,r){var o=this;if("**"===e.path)return e.loadChildren?Ou.call(this.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,new Rc(r,{})}):bu(new Rc(r,{}));var l=lh(n,e,r),u=l.consumedSegments,s=l.lastChild;if(!l.matched)return eh(n);var a=r.slice(s),c=this.getChildConfig(t,e);return Eu.call(c,function(t){var e=t.module,r=t.routes,l=function(t,n,e,r){return e.length>0&&function(t,n,e){return r.some(function(e){return sh(t,n,e)&&ah(e)!==vc})}(t,e)?{segmentGroup:uh(new Rc(n,function(t,n){var e={};e[vc]=n;for(var r=0,i=t;r1||!r.children[vc])return ih(t.redirectTo);r=r.children[vc]}},t.prototype.applyRedirectCommands=function(t,n,e){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,e)},t.prototype.applyRedirectCreatreUrlTree=function(t,n,e,r){var i=this.createSegmentGroup(t,n.root,e,r);return new jc(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)},t.prototype.createQueryParams=function(t,n){var e={};return Ic(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);e[r]=n[i]}else e[r]=t}),e},t.prototype.createSegmentGroup=function(t,n,e,r){var i=this,o=this.createSegments(t,n.segments,e,r),l={};return Ic(n.children,function(n,o){l[o]=i.createSegmentGroup(t,n,e,r)}),new Rc(o,l)},t.prototype.createSegments=function(t,n,e,r){var i=this;return n.map(function(n){return n.path.startsWith(":")?i.findPosParam(t,n,r):i.findOrReturn(n,e)})},t.prototype.findPosParam=function(t,n,e){var r=e[n.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+n.path+"'.");return r},t.prototype.findOrReturn=function(t,n){for(var e=0,r=0,i=n;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(n.matcher||wc)(e,t,n);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function uh(t){if(1===t.numberOfChildren&&t.children[vc]){var n=t.children[vc];return new Rc(t.segments.concat(n.segments),n.children)}return t}function sh(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0!==e.redirectTo}function ah(t){return t.outlet||vc}var ch=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null},t.prototype.children=function(t){var n=hh(t,this._root);return n?n.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var n=hh(t,this._root);return n&&n.children.length>0?n.children[0].value:null},t.prototype.siblings=function(t){var n=ph(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(t){return t.value}).filter(function(n){return n!==t})},t.prototype.pathFromRoot=function(t){return ph(t,this._root).map(function(t){return t.value})},t}();function hh(t,n){if(t===n.value)return n;for(var e=0,r=n.children;e=1;){var o=e[r],l=e[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,n){return{params:Object(i.__assign)({},t.params,n.params),data:Object(i.__assign)({},t.data,n.data),resolve:Object(i.__assign)({},t.resolve,n._resolvedData)}},{params:{},data:{},resolve:{}})}(e.slice(r))}var bh=function(){function t(t,n,e,r,i,o,l,u,s,a,c){this.url=t,this.params=n,this.queryParams=e,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=a,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=_c(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_c(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),_h=function(t){function n(n,e){var r=t.call(this,e)||this;return r.url=n,wh(r,e),r}return Object(i.__extends)(n,t),n.prototype.toString=function(){return xh(this._root)},n}(ch);function wh(t,n){n.value._routerState=t,n.children.forEach(function(n){return wh(t,n)})}function xh(t){var n=t.children.length>0?" { "+t.children.map(xh).join(", ")+" } ":"";return""+t.value+n}function Ch(t){if(t.snapshot){var n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,kc(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),kc(n.params,e.params)||t.params.next(e.params),function(t,n){if(t.length!==n.length)return!1;for(var e=0;e0&&Oh(e[0]))throw new Error("Root segment cannot have matrix parameters");var r=e.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Pc(e))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Th=function(t,n,e){this.segmentGroup=t,this.processChildren=n,this.index=e};function Ph(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[vc]:""+t}function Ih(t,n,e){if(t||(t=new Rc([],{})),0===t.segments.length&&t.hasChildren())return Mh(t,n,e);var r=function(t,n,e){for(var r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};i=e.length)return o;var l=t.segments[i],u=Ph(e[r]),s=r0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Rh(u,s,l))return o;r+=2}else{if(!Rh(u,{},l))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex0?Pc(e).parameters:{};o=new bh(e,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Gh(t),r,t.component,t,Uh(n),zh(n)+e.length,Wh(t))}else{var a=function(t,n,e){if(""===n.path){if("full"===n.pathMatch&&(t.hasChildren()||e.length>0))throw new Fh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(n.matcher||wc)(e,t,n);if(!r)throw new Fh;var o={};Ic(r.posParams,function(t,n){o[n]=t.path});var l=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(n,t,e);l=a.consumedSegments,u=e.slice(a.lastChild),o=new bh(l,a.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Gh(t),r,t.component,t,Uh(n),zh(n)+l.length,Wh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=Hh(n,l,u,c),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new fh(o,d)]}if(0===c.length&&0===f.length)return[new fh(o,[])];var y=this.processSegment(c,p,f,vc);return[new fh(o,y)]},t}();function Uh(t){for(var n=t;n._sourceSegment;)n=n._sourceSegment;return n}function zh(t){for(var n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;n._sourceSegment;)e+=(n=n._sourceSegment)._segmentIndexShift?n._segmentIndexShift:0;return e-1}function Hh(t,n,e,r){if(e.length>0&&function(t,n,e){return r.some(function(e){return qh(t,n,e)&&Kh(e)!==vc})}(t,e)){var o=new Rc(n,function(t,n,e,r){var i={};i[vc]=r,r._sourceSegment=t,r._segmentIndexShift=n.length;for(var o=0,l=e;o0)||"full"!==e.pathMatch)&&""===e.path&&void 0===e.redirectTo}function Kh(t){return t.outlet||vc}function Gh(t){return t.data||{}}function Wh(t){return t.resolve||{}}var Qh=function(){},$h=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,n){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,n){return t.routeConfig===n.routeConfig},t}(),Zh=new ut("ROUTES"),Yh=function(){function t(t,n,e,r){this.loader=t,this.compiler=n,this.onLoadStartListener=e,this.onLoadEndListener=r}return t.prototype.load=function(t,n){var e=this;this.onLoadStartListener&&this.onLoadStartListener(n);var r=this.loadModuleFactory(n.loadChildren);return Ou.call(r,function(r){e.onLoadEndListener&&e.onLoadEndListener(n);var i=r.create(t);return new xc(Tc(i.injector.get(Zh)).map(Ec),i)})},t.prototype.loadModuleFactory=function(t){var n=this;return"string"==typeof t?Ju(this.loader.load(t)):Eu.call(Ac(t()),function(t){return t instanceof An?bu(t):Ju(n.compiler.compileModuleAsync(t))})},t}(),Xh=function(){},Jh=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,n){return t},t}();function tp(t){throw t}function np(t){return bu(null)}var ep=function(){function t(t,n,e,r,i,o,l,u){var s=this;this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=e,this.location=r,this.config=u,this.navigations=new vu(null),this.navigationId=0,this.events=new Q,this.errorHandler=tp,this.navigated=!1,this.hooks={beforePreactivation:np,afterPreactivation:np},this.urlHandlingStrategy=new Jh,this.routeReuseStrategy=new $h,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=i.get(Mn),this.resetConfig(u),this.currentUrlTree=new jc(new Rc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Yh(o,l,function(t){return s.triggerEvent(new pc(t))},function(t){return s.triggerEvent(new fc(t))}),this.routerState=gh(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(n){var e=t.urlSerializer.parse(n.url),r="popstate"===n.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(e,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Cc(t),this.config=t.map(Ec),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,n){void 0===n&&(n={});var e=n.relativeTo,r=n.queryParams,o=n.fragment,l=n.preserveQueryParams,u=n.queryParamsHandling,s=n.preserveFragment;Xn()&&l&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var a=e||this.routerState.root,c=s?this.currentUrlTree.fragment:o,h=null;if(u)switch(u){case"merge":h=Object(i.__assign)({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=l?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,n,e,r,i){if(0===e.length)return Eh(n.root,n.root,n,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new kh(!0,0,t);var n=0,e=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Ic(r.outlets,function(t,n){o[n]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:o}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?e=!0:".."===r?n++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new kh(e,n,r)}(e);if(o.toRoot())return Eh(n.root,new Rc([],{}),n,r,i);var l=function(t,e,r){if(t.isAbsolute)return new Th(n.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Th(r.snapshot._urlSegment,!0,0);var i=Oh(t.commands[0])?0:1;return function(n,e,o){for(var l=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+i,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(l=l.parent))throw new Error("Invalid number of '../'");u=l.segments.length}return new Th(l,!1,u-s)}()}(o,0,t),u=l.processChildren?Mh(l.segmentGroup,l.index,o.commands):Ih(l.segmentGroup,l.index,o.commands);return Eh(l.segmentGroup,u,n,r,i)}(a,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,n){void 0===n&&(n={skipLocationChange:!1});var e=t instanceof jc?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(e,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",n)},t.prototype.navigate=function(t,n){return void 0===n&&(n={skipLocationChange:!1}),function(t){for(var n=0;n0){var r=t.slice(0,n),i=t.slice(n+1).trim();e.set(r,i)}}),e},t.prototype.append=function(t,n){var e=this.getAll(t);null===e?this.set(t,n):e.push(n)},t.prototype.delete=function(t){var n=t.toLowerCase();this._normalizedNames.delete(n),this._headers.delete(n)},t.prototype.forEach=function(t){var n=this;this._headers.forEach(function(e,r){return t(e,n._normalizedNames.get(r),n._headers)})},t.prototype.get=function(t){var n=this.getAll(t);return null===n?null:n.length>0?n[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,n){Array.isArray(n)?n.length&&this._headers.set(t.toLowerCase(),[n.join(",")]):this._headers.set(t.toLowerCase(),[n]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,n={};return this._headers.forEach(function(e,r){var i=[];e.forEach(function(t){return i.push.apply(i,t.split(","))}),n[t._normalizedNames.get(r)]=i}),n},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 n=t.toLowerCase();this._normalizedNames.has(n)||this._normalizedNames.set(n,t)},t}(),Rp=function(){function t(t){void 0===t&&(t={});var n=t.body,e=t.status,r=t.headers,i=t.statusText,o=t.type,l=t.url;this.body=null!=n?n:null,this.status=null!=e?e:null,this.headers=null!=r?r:null,this.statusText=null!=i?i:null,this.type=null!=o?o:null,this.url=null!=l?l:null}return t.prototype.merge=function(n){return new t({body:n&&null!=n.body?n.body:this.body,status:n&&null!=n.status?n.status:this.status,headers:n&&null!=n.headers?n.headers:this.headers,statusText:n&&null!=n.statusText?n.statusText:this.statusText,type:n&&null!=n.type?n.type:this.type,url:n&&null!=n.url?n.url:this.url})},t}(),Dp=function(t){function n(){return t.call(this,{status:200,statusText:"Ok",type:Mp.Default,headers:new jp})||this}return Object(i.__extends)(n,t),n}(Rp),Lp=function(){};function Vp(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return Ip.Get;case"POST":return Ip.Post;case"PUT":return Ip.Put;case"DELETE":return Ip.Delete;case"OPTIONS":return Ip.Options;case"HEAD":return Ip.Head;case"PATCH":return Ip.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}var Fp=function(t){return t>=200&&t<300},Bp=function(){function t(){}return t.prototype.encodeKey=function(t){return Up(t)},t.prototype.encodeValue=function(t){return Up(t)},t}();function Up(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,"/")}var zp=function(){function t(t,n){void 0===t&&(t=""),void 0===n&&(n=new Bp),this.rawParams=t,this.queryEncoder=n,this.paramsMap=function(t){void 0===t&&(t="");var n=new Map;return t.length>0&&t.split("&").forEach(function(t){var e=t.indexOf("="),r=-1==e?[t,""]:[t.slice(0,e),t.slice(e+1)],i=r[0],o=r[1],l=n.get(i)||[];l.push(o),n.set(i,l)}),n}(t)}return t.prototype.clone=function(){var n=new t("",this.queryEncoder);return n.appendAll(this),n},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var n=this.paramsMap.get(t);return Array.isArray(n)?n[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.length=0,e.push(n),this.paramsMap.set(t,e)}else this.delete(t)},t.prototype.setAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){var r=n.paramsMap.get(e)||[];r.length=0,r.push(t[0]),n.paramsMap.set(e,r)})},t.prototype.append=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.push(n),this.paramsMap.set(t,e)}},t.prototype.appendAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){for(var r=n.paramsMap.get(e)||[],i=0;i=200&&e.status<=299,e.statusText=n.statusText,e.headers=n.headers,e.type=n.type,e.url=n.url,e}return Object(i.__extends)(n,t),n.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},n}(Hp),Kp=/^\)\]\}',?\n/,Gp=function(){function t(t,n,e){var r=this;this.request=t,this.response=new T(function(i){var o=n.build();o.open(Ip[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(o.withCredentials=t.withCredentials);var l=function(){var n=1223===o.status?204:o.status,r=null;204!==n&&"string"==typeof(r=void 0===o.response?o.responseText:o.response)&&(r=r.replace(Kp,"")),0===n&&(n=r?200:0);var l,u=jp.fromResponseHeaderString(o.getAllResponseHeaders()),s=("responseURL"in(l=o)?l.responseURL:/^X-Request-URL:/m.test(l.getAllResponseHeaders())?l.getResponseHeader("X-Request-URL"):null)||t.url,a=new Rp({body:r,status:n,headers:u,statusText:o.statusText||"OK",url:s});null!=e&&(a=e.merge(a));var c=new qp(a);if(c.ok=Fp(n),c.ok)return i.next(c),void i.complete();i.error(c)},u=function(t){var n=new Rp({body:t,type:Mp.Error,status:o.status,statusText:o.statusText});null!=e&&(n=e.merge(n)),i.error(new qp(n))};if(r.setDetectedContentType(t,o),null==t.headers&&(t.headers=new jp),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,n){return o.setRequestHeader(n,t.join(","))}),null!=t.responseType&&null!=o.responseType)switch(t.responseType){case Np.ArrayBuffer:o.responseType="arraybuffer";break;case Np.Json:o.responseType="json";break;case Np.Text:o.responseType="text";break;case Np.Blob:o.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return o.addEventListener("load",l),o.addEventListener("error",u),o.send(r.request.getBody()),function(){o.removeEventListener("load",l),o.removeEventListener("error",u),o.abort()}})}return t.prototype.setDetectedContentType=function(t,n){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case Ap.NONE:break;case Ap.JSON:n.setRequestHeader("content-type","application/json");break;case Ap.FORM:n.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case Ap.TEXT:n.setRequestHeader("content-type","text/plain");break;case Ap.BLOB:var e=t.blob();e.type&&n.setRequestHeader("content-type",e.type)}},t}(),Wp=function(){function t(t,n){void 0===t&&(t="XSRF-TOKEN"),void 0===n&&(n="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=n}return t.prototype.configureRequest=function(t){var n=xs().getCookie(this._cookieName);n&&t.headers.set(this._headerName,n)},t}(),Qp=function(){function t(t,n,e){this._browserXHR=t,this._baseResponseOptions=n,this._xsrfStrategy=e}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new Gp(t,this._browserXHR,this._baseResponseOptions)},t}(),$p=function(){function t(t){void 0===t&&(t={});var n=t.method,e=t.headers,r=t.body,i=t.url,o=t.search,l=t.params,u=t.withCredentials,s=t.responseType;this.method=null!=n?Vp(n):null,this.headers=null!=e?e:null,this.body=null!=r?r:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(l||o),this.withCredentials=null!=u?u:null,this.responseType=null!=s?s:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(n){return new t({method:n&&null!=n.method?n.method:this.method,headers:n&&null!=n.headers?n.headers:new jp(this.headers),body:n&&null!=n.body?n.body:this.body,url:n&&null!=n.url?n.url:this.url,params:n&&this._mergeSearchParams(n.params||n.search),withCredentials:n&&null!=n.withCredentials?n.withCredentials:this.withCredentials,responseType:n&&null!=n.responseType?n.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof zp?t.clone():"string"==typeof t?new zp(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var n=this;void 0===t&&(t={});var e=new zp;return Object.keys(t).forEach(function(r){var i=t[r];Array.isArray(i)?i.forEach(function(t){return n._appendParam(r,t,e)}):n._appendParam(r,i,e)}),e},t.prototype._appendParam=function(t,n,e){"string"!=typeof n&&(n=JSON.stringify(n)),e.append(t,n)},t}(),Zp=function(t){function n(){return t.call(this,{method:Ip.Get,headers:new jp})||this}return Object(i.__extends)(n,t),n}($p),Yp=function(t){function n(n){var e=t.call(this)||this,r=n.url;e.url=n.url;var i,o=n.params||n.search;if(o&&(i="object"!=typeof o||o instanceof zp?o.toString():function(t){var n=new zp;return Object.keys(t).forEach(function(e){var r=t[e];r&&Array.isArray(r)?r.forEach(function(t){return n.append(e,t.toString())}):n.append(e,r.toString())}),n}(o).toString()).length>0){var l="?";-1!=e.url.indexOf("?")&&(l="&"==e.url[e.url.length-1]?"":"&"),e.url=r+l+i}return e._body=n.body,e.method=Vp(n.method),e.headers=new jp(n.headers),e.contentType=e.detectContentType(),e.withCredentials=n.withCredentials,e.responseType=n.responseType,e}return Object(i.__extends)(n,t),n.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return Ap.JSON;case"application/x-www-form-urlencoded":return Ap.FORM;case"multipart/form-data":return Ap.FORM_DATA;case"text/plain":case"text/html":return Ap.TEXT;case"application/octet-stream":return this._body instanceof ef?Ap.ARRAY_BUFFER:Ap.BLOB;default:return this.detectContentTypeFromBody()}},n.prototype.detectContentTypeFromBody=function(){return null==this._body?Ap.NONE:this._body instanceof zp?Ap.FORM:this._body instanceof tf?Ap.FORM_DATA:this._body instanceof nf?Ap.BLOB:this._body instanceof ef?Ap.ARRAY_BUFFER:this._body&&"object"==typeof this._body?Ap.JSON:Ap.TEXT},n.prototype.getBody=function(){switch(this.contentType){case Ap.JSON:case Ap.FORM:return this.text();case Ap.FORM_DATA:return this._body;case Ap.TEXT:return this.text();case Ap.BLOB:return this.blob();case Ap.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},n}(Hp),Xp=function(){},Jp="object"==typeof window?window:Xp,tf=Jp.FormData||Xp,nf=Jp.Blob||Xp,ef=Jp.ArrayBuffer||Xp;function rf(t,n){return t.createConnection(n).response}function of(t,n,e,r){return t.merge(new $p(n?{method:n.method||e,url:n.url||r,search:n.search,params:n.params,headers:n.headers,body:n.body,withCredentials:n.withCredentials,responseType:n.responseType}:{method:e,url:r}))}var lf=function(){function t(t,n){this._backend=t,this._defaultOptions=n}return t.prototype.request=function(t,n){var e;if("string"==typeof t)e=rf(this._backend,new Yp(of(this._defaultOptions,n,Ip.Get,t)));else{if(!(t instanceof Yp))throw new Error("First argument must be a url string or Request instance.");e=rf(this._backend,t)}return e},t.prototype.get=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Get,t)))},t.prototype.post=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Post,t)))},t.prototype.put=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Put,t)))},t.prototype.delete=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Delete,t)))},t.prototype.patch=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Patch,t)))},t.prototype.head=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Head,t)))},t.prototype.options=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Options,t)))},t}();function uf(){return new Wp}function sf(t,n){return new lf(t,n)}var af=function(){};T.throw=function(t){function n(n,e){t.call(this),this.error=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){t.subscriber.error(t.error)},n.prototype._subscribe=function(t){var e=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(n.dispatch,0,{error:e,subscriber:t});t.error(e)},n}(T).create,T.prototype.map=Ou,T.prototype.catch=Ku,T.prototype._catch=Ku;var cf=function(){function t(t){this.http=t,this.url="/api/"}return t.prototype.getAddress=function(t){return this.get("address",{address:t})},t.prototype.getUnconfirmedTransactions=function(){return this.get("pendingTxs")},t.prototype.getBlock=function(t){return this.get("block",{hash:t})},t.prototype.getBlocks=function(t,n){return this.get("blocks",{start:t,end:n})},t.prototype.getBlockchainMetadata=function(){return this.get("blockchain/metadata").map(function(t){return{blocks:t.head.seq}})},t.prototype.getCoinSupply=function(){return this.get("coinSupply")},t.prototype.getCurrentBalance=function(t){return this.get("currentBalance",{addrs:t})},t.prototype.getBalance=function(t){return this.get("balance",{addrs:t})},t.prototype.getTransaction=function(t){return this.get("transaction",{txid:t})},t.prototype.getUxout=function(t){return this.get("uxout",{uxid:t})},t.prototype.getRichlist=function(){return this.get("richlist").map(function(t){return t.richlist})},t.prototype.getInputAddress=function(t){return this.get("uxout?uxid="+t)},t.prototype.get=function(t,n){return void 0===n&&(n=null),this.http.get(this.getUrl(t,n)).map(function(t){return t.json()}).catch(function(t){return T.throw(t||"Server error")})},t.prototype.getQueryString=function(t){return void 0===t&&(t=null),t?Object.keys(t).reduce(function(n,e){return n.push(e+"="+encodeURIComponent(t[e])),n},[]).join("&"):""},t.prototype.getUrl=function(t,n){return void 0===n&&(n=null),this.url+t+"?"+this.getQueryString(n)},t}();function hf(t){return{address:t.dst,coins:parseFloat(t.coins),hash:t.uxid,hours:t.hours}}function pf(t){return{id:t.header.seq,hash:t.header.block_hash,parent_hash:t.header.previous_block_hash,timestamp:t.header.timestamp,transactions:t.body.txns.map(function(t){return function(t){return{block:null,id:t.txid,timestamp:null,inputs:t.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:t.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:null,balance:null,initialBalance:null,finalBalance:null,length:t.length}}(t)}),size:t.size}}var ff=function(t){function n(n,e){t.call(this),this.sources=n,this.resultSelector=e}return Object(i.__extends)(n,t),n.create=function(){for(var t=[],e=0;e0){var e=pf(t.blocks[0]);return T.forkJoin(e.transactions.map(function(t){return n.retrieveInputsForTransaction(t)})).map(function(t){return e.transactions=t,e})}return[null]})},t.prototype.getBlocks=function(t,n){return this.api.getBlocks(t,n).map(function(t){return t.blocks.map(function(t){return pf(t)}).sort(function(t,n){return n.id-t.id})})},t.prototype.getBlockByHash=function(t){return this.api.getBlock(t).map(function(t){return pf(t)})},t.prototype.getTransactions=function(t){return this.api.getAddress(t).map(function(n){var e=0;return(n=n.sort(function(t,n){return n.timestamp-t.timestamp})).reverse().map(function(n){var r=function(t,n){for(var e=0,r=0,i=t.inputs;r0?T.forkJoin(e.map(function(n){return t.retrieveInputsForTransaction(n)})):T.of(e)})},t.prototype.getTransaction=function(t){var n=this;return this.api.getTransaction(t).map(function(t){return{block:(n=t).status.block_seq,id:n.txn.txid,inputs:n.txn.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:n.txn.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:n.status.confirmed,timestamp:n.txn.timestamp,balance:null,initialBalance:null,finalBalance:null,length:n.txn.length};var n}).flatMap(function(t){return n.retrieveInputsForTransaction(t)})},t.prototype.retrieveInputsForTransaction=function(t){var n=this;return 0!=t.inputs.length?T.forkJoin(t.inputs.map(function(t){return n.retrieveOutputById(t.hash)})).map(function(n){return t.inputs=n,t}):T.of(t)},t.prototype.retrieveOutputById=function(t){return this.api.getUxout(t).map(function(t){return{address:(n=t).owner_address,coins:n.coins/1e6,hours:n.hours,hash:n.uxid};var n})},t}();function mf(){for(var t=[],n=0;n=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Tf);var Pf=function(t){return t&&"function"==typeof t.schedule},If="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Mf(t,n){return t(n={exports:{}},n.exports),n.exports}var Af="undefined"!=typeof window&&window,Nf="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,jf=Af||void 0!==If&&If||Nf,Rf=jf;!function(){if(!jf)throw new Error("RxJS could not find any global context (window, self, global)")}();var Df,Lf={root:Rf},Vf={isFunction:function(t){return"function"==typeof t}},Ff={isArray:Array.isArray||function(t){return t&&"number"==typeof t.length}},Bf=function(t){return null!=t&&"object"==typeof t},Uf={errorObject:{e:{}}};function zf(){try{return Df.apply(this,arguments)}catch(t){return Uf.errorObject.e=t,Uf.errorObject}}var Hf=function(t){return Df=t,zf},qf=If&&If.__extends||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);function r(){this.constructor=t}t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},Kf={UnsubscriptionError:function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return qf(n,t),n}(Error)};function Gf(t){return t.reduce(function(t,n){return t.concat(n instanceof Kf.UnsubscriptionError?n.errors:n)},[])}var Wf={Subscription:function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new ud.ScalarObservable(t[0],r):new ad.EmptyObservable(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;oCd?Cd:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[vd.iterator]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(Fd.OuterSubscriber),Hd=function(t){return t},qd=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return"number"==typeof n&&(e=n,n=null),r.lift(new Ud(t,n,e))}}(Hd,null,t)},Kd={concat:function(){for(var t=[],n=0;n=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Wd);var Qd=function(){},$d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ef(n,t),n.prototype.compile=function(t,n){return t},n.prototype.compileTranslations=function(t,n){return t},n}(Qd);function Zd(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;var e,r,i,o=typeof t;if(o==typeof n&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(r in i=Object.create(null),t){if(!Zd(t[r],n[r]))return!1;i[r]=!0}for(r in n)if(!(r in i)&&void 0!==n[r])return!1;return!0}if(!Array.isArray(n))return!1;if((e=t.length)==n.length){for(r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],$d);var Jd=function(){},ty=function(t){function n(){var n=t.apply(this,arguments)||this;return n.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,n}return Ef(n,t),n.prototype.interpolate=function(t,n){return"string"==typeof t?this.interpolateString(t,n):"function"==typeof t?this.interpolateFunction(t,n):t},n.prototype.getValue=function(t,n){var e=n.split(".");n="";do{n+=e.shift(),!Yd(t)||!Yd(t[n])||"object"!=typeof t[n]&&e.length?e.length?n+=".":t=void 0:(t=t[n],n="")}while(e.length);return t},n.prototype.interpolateFunction=function(t,n){return t(n)},n.prototype.interpolateString=function(t,n){var e=this;return n?t.replace(this.templateMatcher,function(t,r){var i=e.getValue(n,r);return Yd(i)?i:t}):t},n}(Jd);ty=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],ty);var ny=function(){return function(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Ln,this.onLangChange=new Ln,this.onDefaultLangChange=new Ln}}(),ey=e("mrSG").__metadata,ry=e("mrSG").__param,iy=new ut("USE_STORE"),oy=new ut("USE_DEFAULT_LANG"),ly=function(){function t(t,n,e,r,i,o,l){void 0===o&&(o=!0),void 0===l&&(l=!1),this.store=t,this.currentLoader=n,this.compiler=e,this.parser=r,this.missingTranslationHandler=i,this.useDefaultLang=o,this.isolate=l,this.pending=!1,this._onTranslationChange=new Ln,this._onLangChange=new Ln,this._onDefaultLangChange=new Ln,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(t.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t},enumerable:!0,configurable:!0}),t.prototype.setDefaultLang=function(t){var n=this;if(t!==this.defaultLang){var e=this.retrieveTranslations(t);void 0!==e?(this.defaultLang||(this.defaultLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeDefaultLang(t)})):this.changeDefaultLang(t)}},t.prototype.getDefaultLang=function(){return this.defaultLang},t.prototype.use=function(t){var n=this;if(t===this.currentLang)return bu(this.translations[t]);var e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeLang(t)}),e):(this.changeLang(t),bu(this.translations[t]))},t.prototype.retrieveTranslations=function(t){var n;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),n=this._translationRequests[t]),n},t.prototype.getTranslation=function(t){var n=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(ot()),this.loadingTranslations.pipe(Cf(1)).subscribe(function(e){n.translations[t]=n.compiler.compileTranslations(e,t),n.updateLangs(),n.pending=!1},function(t){n.pending=!1}),this.loadingTranslations},t.prototype.setTranslation=function(t,n,e){void 0===e&&(e=!1),n=this.compiler.compileTranslations(n,t),this.translations[t]=e&&this.translations[t]?function t(n,e){var r=Object.assign({},n);return Xd(n)&&Xd(e)&&Object.keys(e).forEach(function(i){var o,l;Xd(e[i])?i in n?r[i]=t(n[i],e[i]):Object.assign(r,((o={})[i]=e[i],o)):Object.assign(r,((l={})[i]=e[i],l))}),r}(this.translations[t],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})},t.prototype.getLangs=function(){return this.langs},t.prototype.addLangs=function(t){var n=this;t.forEach(function(t){-1===n.langs.indexOf(t)&&n.langs.push(t)})},t.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},t.prototype.getParsedResult=function(t,n,e){var r;if(n instanceof Array){for(var i={},o=!1,l=0,u=n;l=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),ry(5,_t(oy)),ry(6,_t(iy)),ey("design:paramtypes",[ny,kf,Qd,Jd,Gd,Boolean,Boolean])],ly);var uy=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l},sy=function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)},ay=function(){function t(t,n,e){var r=this;this.translateService=t,this.element=n,this._ref=e,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(function(t){r.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(function(t){r.checkNodes(!0)}))}return Object.defineProperty(t.prototype,"translate",{set:function(t){t&&(this.key=t,this.checkNodes())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translateParams",{set:function(t){Zd(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){this.checkNodes()},t.prototype.checkNodes=function(t,n){void 0===t&&(t=!1);var e=this.element.nativeElement.childNodes;e.length||(this.setContent(this.element.nativeElement,this.key),e=this.element.nativeElement.childNodes);for(var r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),gt({name:"translate",pure:!1}),function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",[ly,ve])}()],cy);var hy,py=hy=function(){function t(){}return t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},ny,{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t.forChild=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t}(),fy=function(){function t(t,n,e,r,i){var o=this;this.api=t,this.explorer=n,this.route=e,this.router=r,this.translate=i,this.blocks=[],this.blockCount=0,this.pageIndex=0,this.pageSize=10,this.loadingCoinSupplyMsg="",this.loadingMetadataMsg="",i.get("general.loadingMsg").subscribe(function(t){o.loadingCoinSupplyMsg=o.loadingMetadataMsg=t})}return Object.defineProperty(t.prototype,"pageCount",{get:function(){return Math.ceil(this.blockCount/this.pageSize)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){t.blockCount=n.blocks,t.route.paramMap.subscribe(function(n){var e=parseInt(n.get("page"),10)-1;t.navigate(e)})},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMetadataMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.api.getCoinSupply().first().subscribe(function(n){t.currentSupply=n.current_supply,t.totalSupply=n.total_supply,t.currentCoinhourSupply=n.current_coinhour_supply,t.totalCoinhourSupply=n.total_coinhour_supply},function(n){t.translate.get("general.shortLoadingErrorMsg").subscribe(function(n){t.loadingCoinSupplyMsg=n})})},t.prototype.navigate=function(t){var n=this;this.pageIndex=t;var e=this.blockCount-this.pageIndex*this.pageSize,r=e-this.pageSize+1;this.explorer.getBlocks(r>0?r:0,e>0?e:0).first().subscribe(function(t){return n.blocks=t})},t}();T.prototype.filter=nc,T.prototype.switchMap=function(t,n){return vf(t,n)(this)};var dy=function(){function t(t,n,e){var r=this;this.explorer=t,this.router=n,this.translate=e,this.loadingMsg="",e.get("general.loadingMsg").subscribe(function(t){r.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.explorer.getUnconfirmedTransactions().subscribe(function(n){if(t.transactions=n,n.length>0){var e=n.sort(function(t,n){return n.timestamp-t.timestamp});t.mostRecent=e[0].timestamp,t.leastRecent=e[e.length-1].timestamp,t.totalSize=e.map(function(t){return t.length}).reduce(function(t,n){return t+n})}},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),yy=function(){function t(t,n,e,r,i){var o=this;this.explorer=t,this.route=n,this.router=e,this.translate=r,this.api=i,this.loadingMsg="",r.get("general.loadingMsg").subscribe(function(t){o.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){return t.blockCount=n.blocks});var n="";this.route.params.filter(function(t){return null!==+t.id}).switchMap(function(e){return t.explorer.getBlock(+(n=e.id))}).subscribe(function(e){null!=e?t.block=e:t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]})},function(e){e.status>=400&&e.status<500?t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),gy=function(){function t(t,n,e,r){var i=this;this.explorer=t,this.route=n,this.router=e,this.translate=r,this.loadingMsg="",r.get("general.loadingMsg").subscribe(function(t){i.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.route.params.flatMap(function(n){return t.explorer.getTransaction(n.txid)}).subscribe(function(n){return t.transaction=n},function(n){n.status>=400&&n.status<500?t.translate.get(["general.noData","transactionDetail.canNotFind"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["transactionDetail.canNotFind"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),my=function(t){function n(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(n){return this.hasError?(n.error(this.thrownError),m.EMPTY):this.hasCompleted&&this.hasNext?(n.next(this.value),n.complete(),m.EMPTY):t.prototype._subscribe.call(this,n)},n.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},n.prototype.error=function(n){this.hasCompleted||t.prototype.error.call(this,n)},n.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},n}(Q);function vy(t){var n=t.subject;n.next(t.value),n.complete()}function by(t){t.subject.error(t.err)}function _y(t){var n=this,e=t.source,r=t.subscriber,i=t.context,o=e.callbackFunc,l=e.args,u=e.scheduler,s=e.subject;if(!s){s=e.subject=new my;var a=function t(){for(var e=[],r=0;r=0}T.if=Ay.create;var Ry=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e,this.pending=!1}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t,this.pending=!0;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),s.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return n;s.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e=!1,r=void 0;try{this.work(t)}catch(t){e=!0,r=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),r},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,e){t.call(this)}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(m)),Dy=function(t){function n(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return Object(i.__extends)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(function(){function t(n,e){void 0===e&&(e=t.now),this.SchedulerAction=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(e,n)},t.now=Date.now?Date.now:function(){return+new Date},t}()),Ly=new Dy(Ry);function Vy(){for(var t=[],n=0;n=t.count?r.complete():(r.next(n),r.closed||(t.index=e+1,t.start=n+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(n.dispatch,0,{index:e,count:i,start:r,subscriber:t});for(;;){if(e++>=i){t.complete();break}if(t.next(r++),t.closed)break}},n}(T).create;var Ky=function(t){function n(n,e){t.call(this),this.resourceFactory=n,this.observableFactory=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n,e=this.resourceFactory,r=this.observableFactory;try{return n=e(),new Gy(t,n,r)}catch(n){t.error(n)}},n}(T),Gy=function(t){function n(n,e,r){t.call(this,n),this.resource=e,this.observableFactory=r,n.add(e),this.tryUse()}return Object(i.__extends)(n,t),n.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(L(this,t))}catch(t){this._error(t)}},n}(V);function Wy(t){return t instanceof Date&&!isNaN(+t)}T.using=Ky.create;var Qy=function(t){function n(n,e,r){void 0===n&&(n=0),t.call(this),this.period=-1,this.dueTime=0,jy(e)?this.period=Number(e)<1?1:Number(e):M(e)&&(r=e),M(r)||(r=Ly),this.scheduler=r,this.dueTime=Wy(n)?+n-this.scheduler.now():n}return Object(i.__extends)(n,t),n.create=function(t,e,r){return void 0===t&&(t=0),new n(t,e,r)},n.dispatch=function(t){var n=t.index,e=t.period,r=t.subscriber;if(r.next(n),!r.closed){if(-1===e)return r.complete();t.index=n+1,this.schedule(t,e)}},n.prototype._subscribe=function(t){return this.scheduler.schedule(n.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},n}(T).create;function $y(){for(var t=[],n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),ng=function(t){function n(n,e,r){t.call(this,n),this.parent=e,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Object(i.__extends)(n,t),n.prototype[R]=function(){return this},n.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){this.buffer.push(n),this.parent.checkIterators()},n.prototype.subscribe=function(t,n){return L(this,this.observable,this,n)},n}(V);function eg(t,n){return void 0===n&&(n=null),new ag({method:"GET",url:t,headers:n})}function rg(t,n,e){return new ag({method:"POST",url:t,body:n,headers:e})}function ig(t,n){return new ag({method:"DELETE",url:t,headers:n})}function og(t,n,e){return new ag({method:"PUT",url:t,body:n,headers:e})}function lg(t,n,e){return new ag({method:"PATCH",url:t,body:n,headers:e})}T.zip=Zy;var ug=xu(function(t,n){return t.response});function sg(t,n){return ug(new ag({method:"GET",url:t,responseType:"json",headers:n}))}var ag=function(t){function n(n){t.call(this);var e={async:!0,createXHR:function(){return this.crossDomain?(function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;if(s.XDomainRequest)return new s.XDomainRequest;throw new Error("CORS is not supported by your browser")}).call(this):function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;var t=void 0;try{for(var n=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],e=0;e<3;e++)try{if(new s.ActiveXObject(t=n[e]))break}catch(t){}return new s.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof n)e.url=n;else for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);this.request=e}var e;return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return new cg(t,this.request)},n.create=((e=function(t){return new n(t)}).get=eg,e.post=rg,e.delete=ig,e.put=og,e.patch=lg,e.getJSON=sg,e),n}(T),cg=function(t){function n(n,e){t.call(this,n),this.request=e,this.done=!1;var r=e.headers=e.headers||{};e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||s.FormData&&e.body instanceof s.FormData||void 0===e.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),e.body=this.serializeBody(e.body,e.headers["Content-Type"]),this.send()}return Object(i.__extends)(n,t),n.prototype.next=function(t){this.done=!0;var n=this.destination,e=new hg(t,this.xhr,this.request);n.next(e)},n.prototype.send=function(){var t=this.request,n=this.request,e=n.user,r=n.method,i=n.url,o=n.async,l=n.password,u=n.headers,s=n.body,a=y(t.createXHR).call(t);if(a===f)this.error(f.e);else{if(this.xhr=a,this.setupEvents(a,t),(e?y(a.open).call(a,r,i,o,e,l):y(a.open).call(a,r,i,o))===f)return this.error(f.e),null;if(o&&(a.timeout=t.timeout,a.responseType=t.responseType),"withCredentials"in a&&(a.withCredentials=!!t.withCredentials),this.setHeaders(a,u),(s?y(a.send).call(a,s):y(a.send).call(a))===f)return this.error(f.e),null}return a},n.prototype.serializeBody=function(t,n){if(!t||"string"==typeof t)return t;if(s.FormData&&t instanceof s.FormData)return t;if(n){var e=n.indexOf(";");-1!==e&&(n=n.substring(0,e))}switch(n){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(n){return encodeURI(n)+"="+encodeURI(t[n])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},n.prototype.setHeaders=function(t,n){for(var e in n)n.hasOwnProperty(e)&&t.setRequestHeader(e,n[e])},n.prototype.setupEvents=function(t,n){var e,r,i=n.progressSubscriber;function o(t){var n=o.subscriber,e=o.progressSubscriber,r=o.request;e&&e.error(t),n.error(new dg(this,r))}function l(t){var n=l.subscriber,e=l.progressSubscriber,r=l.request;if(4===this.readyState){var i=1223===this.status?204:this.status;0===i&&(i=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),200<=i&&i<300?(e&&e.complete(),n.next(t),n.complete()):(e&&e.error(t),n.error(new pg("ajax error "+i,this,r)))}}t.ontimeout=o,o.request=n,o.subscriber=this,o.progressSubscriber=i,t.upload&&"withCredentials"in t&&(i&&(e=function(t){e.progressSubscriber.next(t)},s.XDomainRequest?t.onprogress=e:t.upload.onprogress=e,e.progressSubscriber=i),t.onerror=r=function(t){var n=r.progressSubscriber,e=r.subscriber,i=r.request;n&&n.error(t),e.error(new pg("ajax error",this,i))},r.request=n,r.subscriber=this,r.progressSubscriber=i),t.onreadystatechange=l,l.subscriber=this,l.progressSubscriber=i,l.request=n},n.prototype.unsubscribe=function(){var n=this.xhr;!this.done&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},n}(x),hg=function(){return function(t,n,e){this.originalEvent=t,this.xhr=n,this.request=e,this.status=n.status,this.responseType=n.responseType||e.responseType,this.response=fg(this.responseType,n)}}(),pg=function(t){function n(n,e,r){t.call(this,n),this.message=n,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=fg(this.responseType,e)}return Object(i.__extends)(n,t),n}(Error);function fg(t,n){switch(t){case"json":return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null");case"xml":return n.responseXML;case"text":default:return"response"in n?n.response:n.responseText}}var dg=function(t){function n(n,e){t.call(this,"ajax timeout",n,e)}return Object(i.__extends)(n,t),n}(pg);T.ajax=ag.create;var yg=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e}return Object(i.__extends)(n,t),n.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):n.flush(this)},n}(Ry),gg=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n}(Dy))(yg),mg=function(t){function n(n,e,r){void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e}return Object(i.__extends)(n,t),n.prototype.next=function(n){var e=this._getNow();this._events.push(new vg(e,n)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,n)},n.prototype._subscribe=function(t){var n,e=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new K;this.hasError?n=m.EMPTY:this.isStopped?n=m.EMPTY:(this.observers.push(t),n=new G(this,t)),r&&t.add(t=new Vu(t,r));for(var i=e.length,o=0;on&&(o=Math.max(o,i-n)),o>0&&r.splice(0,o),r},n}(Q),vg=function(t,n){this.time=t,this.value=n};function bg(t){for(var n=[],e=1;e0&&this.destination.next(n),t.prototype._complete.call(this)},n}(x),kg=function(t){function n(n,e,r){t.call(this,n),this.bufferSize=e,this.startBufferEvery=r,this.buffers=[],this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.bufferSize,e=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%e==0&&r.push([]);for(var o=r.length;o--;){var l=r[o];l.push(t),l.length===n&&(r.splice(o,1),this.destination.next(l))}},n.prototype._complete=function(){for(var n=this.buffers,e=this.destination;n.length>0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},n}(x);function Tg(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),function(n){return n.lift(new Pg(t,r,i,e))}}T.prototype.bufferCount=function(t,n){return void 0===n&&(n=null),Sg(t,n)(this)};var Pg=function(){function t(t,n,e,r){this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new Ig(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),Ig=function(t){function n(n,e,r,i,o){t.call(this,n),this.bufferTimeSpan=e,this.bufferCreationInterval=r,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly)this.add(l.closeAction=o.schedule(Mg,e,{subscriber:this,context:l,bufferTimeSpan:e}));else{var u={bufferTimeSpan:e,bufferCreationInterval:r,subscriber:this,scheduler:o};this.add(l.closeAction=o.schedule(Ng,e,{subscriber:this,context:l})),this.add(o.schedule(Ag,r,u))}}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n,e=this.contexts,r=e.length,i=0;i0;){var r=n.shift();e.next(r.buffer)}t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.contexts=null},n.prototype.onBufferFull=function(t){this.closeContext(t);var n=t.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){t=this.openContext();var e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(Mg,e,{subscriber:this,context:t,bufferTimeSpan:e}))}},n.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},n.prototype.closeContext=function(t){this.destination.next(t.buffer);var n=this.contexts;(n?n.indexOf(t):-1)>=0&&n.splice(n.indexOf(t),1)},n}(x);function Mg(t){var n=t.subscriber,e=t.context;e&&n.closeContext(e),n.closed||(t.context=n.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function Ag(t){var n=t.bufferCreationInterval,e=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(Ng,e,{subscriber:r,context:o})),this.schedule(t,n))}function Ng(t){t.subscriber.closeContext(t.context)}function jg(t,n){return function(e){return e.lift(new Rg(t,n))}}T.prototype.bufferTime=function(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),Tg(t,r,i,e)(this)};var Rg=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Dg(t,this.openings,this.closingSelector))},t}(),Dg=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(L(this,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.contexts,e=n.length,r=0;r0;){var r=e.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,n)},n.prototype._complete=function(){for(var n=this.contexts;n.length>0;){var e=n.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,i){t?this.closeBuffer(t):this.openBuffer(n)},n.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},n.prototype.openBuffer=function(t){try{var n=this.closingSelector.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},n.prototype.closeBuffer=function(t){var n=this.contexts;if(n&&t){var e=t.subscription;this.destination.next(t.buffer),n.splice(n.indexOf(t),1),this.remove(e),e.unsubscribe()}},n.prototype.trySubscribe=function(t){var n=this.contexts,e=new m,r={buffer:[],subscription:e};n.push(r);var i=L(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),e.add(i))},n}(V);function Lg(t){return function(n){return n.lift(new Vg(t))}}T.prototype.bufferToggle=function(t,n){return jg(t,n)(this)};var Vg=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new Fg(t,this.closingSelector))},t}(),Fg=function(t){function n(n,e){t.call(this,n),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.buffer.push(t)},n.prototype._complete=function(){var n=this.buffer;n&&this.destination.next(n),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},n.prototype.notifyNext=function(t,n,e,r,i){this.openBuffer()},n.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},n.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var n=y(this.closingSelector)();n===f?this.error(f.e):(t=new m,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(L(this,n)),this.subscribing=!1)},n}(V);function Bg(t){return function(n){return n.lift(new Oy(t))}}function Ug(){for(var t=[],n=0;n0&&e[0].time-r.now()<=0;)e.shift().notification.observe(i);if(e.length>0){var o=Math.max(0,e[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),n.active=!1},n.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},n.prototype.scheduleNotification=function(t){if(!0!==this.errored){var n=this.scheduler,e=new om(n.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(n)}},n.prototype._next=function(t){this.scheduleNotification(Ru.createNext(t))},n.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},n.prototype._complete=function(){this.scheduleNotification(Ru.createComplete())},n}(x),om=function(t,n){this.time=t,this.notification=n};function lm(t,n){return n?function(e){return new am(e,n).lift(new um(t))}:function(n){return n.lift(new um(t))}}T.prototype.delay=function(t,n){return void 0===n&&(n=Ly),em(t,n)(this)};var um=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new sm(t,this.delayDurationSelector))},t}(),sm=function(t){function n(n,e){t.call(this,n),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype.notifyComplete=function(t){var n=this.removeSubscription(t);n&&this.destination.next(n),this.tryComplete()},n.prototype._next=function(t){try{var n=this.delayDurationSelector(t);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.completed=!0,this.tryComplete()},n.prototype.removeSubscription=function(t){t.unsubscribe();var n=this.delayNotifierSubscriptions.indexOf(t),e=null;return-1!==n&&(e=this.values[n],this.delayNotifierSubscriptions.splice(n,1),this.values.splice(n,1)),e},n.prototype.tryDelay=function(t,n){var e=L(this,t,n);e&&!e.closed&&(this.add(e),this.delayNotifierSubscriptions.push(e)),this.values.push(n)},n.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},n}(V),am=function(t){function n(n,e){t.call(this),this.source=n,this.subscriptionDelay=e}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new cm(t,this.source))},n}(T),cm=function(t){function n(n,e){t.call(this),this.parent=n,this.source=e,this.sourceSubscribed=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.subscribeToSource()},n.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},n.prototype._complete=function(){this.subscribeToSource()},n.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},n}(x);T.prototype.delayWhen=function(t,n){return lm(t,n)(this)};var hm=s.Set||function(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}();function pm(t,n){return function(e){return e.lift(new fm(t,n))}}var fm=function(){function t(t,n){this.keySelector=t,this.flushes=n}return t.prototype.call=function(t,n){return n.subscribe(new dm(t,this.keySelector,this.flushes))},t}(),dm=function(t){function n(n,e,r){t.call(this,n),this.keySelector=e,this.values=new hm,r&&this.add(L(this,r))}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.values.clear()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},n.prototype._useKeySelector=function(t){var n,e=this.destination;try{n=this.keySelector(t)}catch(t){return void e.error(t)}this._finalizeNext(n,t)},n.prototype._finalizeNext=function(t,n){var e=this.values;e.has(t)||(e.add(t),this.destination.next(n))},n}(V);function ym(t,n){return function(e){return e.lift(new gm(t,n))}}T.prototype.distinct=function(t,n){return pm(t,n)(this)};var gm=function(){function t(t,n){this.compare=t,this.keySelector=n}return t.prototype.call=function(t,n){return n.subscribe(new mm(t,this.compare,this.keySelector))},t}(),mm=function(t){function n(n,e,r){t.call(this,n),this.keySelector=r,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}return Object(i.__extends)(n,t),n.prototype.compare=function(t,n){return t===n},n.prototype._next=function(t){var n=t;if(this.keySelector&&(n=y(this.keySelector)(t))===f)return this.destination.error(f.e);var e=!1;if(this.hasKey){if((e=y(this.compare)(this.key,n))===f)return this.destination.error(f.e)}else this.hasKey=!0;!1===Boolean(e)&&(this.key=n,this.destination.next(t))},n}(x);function vm(t,n){return ym(function(e,r){return n?n(e[t],r[t]):e[t]===r[t]})}function bm(t,n,e){return function(r){return r.lift(new _m(t,n,e))}}T.prototype.distinctUntilChanged=function(t,n){return ym(t,n)(this)},T.prototype.distinctUntilKeyChanged=function(t,n){return vm(t,n)(this)};var _m=function(){function t(t,n,e){this.nextOrObserver=t,this.error=n,this.complete=e}return t.prototype.call=function(t,n){return n.subscribe(new wm(t,this.nextOrObserver,this.error,this.complete))},t}(),wm=function(t){function n(n,e,r,i){t.call(this,n);var o=new x(e,r,i);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.safeSubscriber;n.next(t),n.syncErrorThrown?this.destination.error(n.syncErrorValue):this.destination.next(t)},n.prototype._error=function(t){var n=this.safeSubscriber;n.error(t),this.destination.error(n.syncErrorThrown?n.syncErrorValue:t)},n.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},n}(x);function xm(t,n,e){return bm(t,n,e)(this)}function Cm(){return function(t){return t.lift(new Sm)}}T.prototype.do=xm,T.prototype._do=xm;var Sm=function(){function t(){}return t.prototype.call=function(t,n){return n.subscribe(new Om(t))},t}(),Om=function(t){function n(n){t.call(this,n),this.hasCompleted=!1,this.hasSubscription=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(L(this,t)))},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Em(t,n){return function(e){return e.lift(new km(t,n))}}T.prototype.exhaust=function(){return Cm()(this)};var km=function(){function t(t,n){this.project=t,this.resultSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Tm(t,this.project,this.resultSelector))},t}(),Tm=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},n.prototype.tryNext=function(t){var n=this.index++,e=this.destination;try{var r=this.project(t,n);this.hasSubscription=!0,this.add(L(this,r,t,n))}catch(t){e.error(t)}},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,n,e,r):o.next(n)},n.prototype.trySelectResult=function(t,n,e,r){var i=this.resultSelector,o=this.destination;try{var l=i(t,n,e,r);o.next(l)}catch(t){o.error(t)}},n.prototype.notifyError=function(t){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Pm(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(r){return r.lift(new Im(t,n,e))}}T.prototype.exhaustMap=function(t,n){return Em(t,n)(this)};var Im=function(){function t(t,n,e){this.project=t,this.concurrent=n,this.scheduler=e}return t.prototype.call=function(t,n){return n.subscribe(new Mm(t,this.project,this.concurrent,this.scheduler))},t}(),Mm=function(t){function n(n,e,r,i){t.call(this,n),this.project=e,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(n.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},n}(V);function Am(t,n){return function(e){return e.lift(new Nm(t,n))}}T.prototype.expand=function(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),Pm(t,n=(n||0)<1?Number.POSITIVE_INFINITY:n,e)(this)};var Nm=function(){function t(t,n){if(this.index=t,this.defaultValue=n,t<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(new jm(t,this.index,this.defaultValue))},t}(),jm=function(t){function n(n,e,r){t.call(this,n),this.index=e,this.defaultValue=r}return Object(i.__extends)(n,t),n.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},n.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new ps)),t.complete()},n}(x);function Rm(t){return function(n){return n.lift(new Dm(t))}}T.prototype.elementAt=function(t,n){return Am(t,n)(this)};var Dm=function(){function t(t){this.callback=t}return t.prototype.call=function(t,n){return n.subscribe(new Lm(t,this.callback))},t}(),Lm=function(t){function n(n,e){t.call(this,n),this.add(new m(e))}return Object(i.__extends)(n,t),n}(x);function Vm(t){return Rm(t)(this)}function Fm(t,n){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(e){return e.lift(new Bm(t,e,!1,n))}}T.prototype.finally=Vm,T.prototype._finally=Vm;var Bm=function(){function t(t,n,e,r){this.predicate=t,this.source=n,this.yieldIndex=e,this.thisArg=r}return t.prototype.call=function(t,n){return n.subscribe(new Um(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Um=function(t){function n(n,e,r,i,o){t.call(this,n),this.predicate=e,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return Object(i.__extends)(n,t),n.prototype.notifyComplete=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype._next=function(t){var n=this.predicate,e=this.thisArg,r=this.index++;try{n.call(e||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},n}(x);function zm(t,n){return function(e){return e.lift(new Bm(t,e,!0,n))}}T.prototype.find=function(t,n){return Fm(t,n)(this)},T.prototype.findIndex=function(t,n){return zm(t,n)(this)};var Hm=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var n=this._keys.indexOf(t);return-1===n?void 0:this._values[n]},t.prototype.set=function(t,n){var e=this._keys.indexOf(t);return-1===e?(this._keys.push(t),this._values.push(n),this.size++):this._values[e]=n,this},t.prototype.delete=function(t){var n=this._keys.indexOf(t);return-1!==n&&(this._values.splice(n,1),this._keys.splice(n,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,n){for(var e=0;e0?n:e}:function(t,n){return t>n?t:n})}function gv(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),"number"==typeof n&&(e=n,n=null),function(r){return r.lift(new mv(t,n,e))}}T.prototype.materialize=function(){return pv()(this)},T.prototype.max=function(t){return yv(t)(this)},T.prototype.merge=function(){for(var t=[],n=0;n0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function bv(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),gv(t,n,e)(this)}function _v(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return r.lift(new wv(t,n,e))}}T.prototype.flatMapTo=bv,T.prototype.mergeMapTo=bv;var wv=function(){function t(t,n,e){this.accumulator=t,this.seed=n,this.concurrent=e}return t.prototype.call=function(t,n){return n.subscribe(new xv(t,this.accumulator,this.seed,this.concurrent))},t}(),xv=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){if(this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(V);function Cv(t){return bs("function"==typeof t?function(n,e){return t(n,e)<0?n:e}:function(t,n){return t-1&&(this.count=e-1),n.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Lv(t){return function(n){return n.lift(new Vv(t))}}T.prototype.repeat=function(t){return void 0===t&&(t=-1),jv(t)(this)};var Vv=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){return n.subscribe(new Fv(t,this.notifier,n))},t}(),Fv=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r,this.sourceIsBeingSubscribedTo=!0}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},n.prototype.notifyComplete=function(n){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},n.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},n.prototype._unsubscribe=function(){var t=this.notifications,n=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype._unsubscribeAndRecycle=function(){var n=this.notifications,e=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=e,this.retriesSubscription=r,this},n.prototype.subscribeToRetries=function(){this.notifications=new Q;var n=y(this.notifier)(this.notifications);if(n===f)return t.prototype.complete.call(this);this.retries=n,this.retriesSubscription=L(this,n)},n}(V);function Bv(t){return void 0===t&&(t=-1),function(n){return n.lift(new Uv(t,n))}}T.prototype.repeatWhen=function(t){return Lv(t)(this)};var Uv=function(){function t(t,n){this.count=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new zv(t,this.count,this.source))},t}(),zv=function(t){function n(n,e,r){t.call(this,n),this.count=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,n);r>-1&&(this.count=r-1),e.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Hv(t){return function(n){return n.lift(new qv(t,n))}}T.prototype.retry=function(t){return void 0===t&&(t=-1),Bv(t)(this)};var qv=function(){function t(t,n){this.notifier=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new Kv(t,this.notifier,this.source))},t}(),Kv=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(e=new Q,(r=y(this.notifier)(e))===f)return t.prototype.error.call(this,f.e);i=L(this,r)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=r,this.retriesSubscription=i,e.next(n)}},n.prototype._unsubscribe=function(){var t=this.errors,n=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.errors,l=this.retries,u=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=l,this.retriesSubscription=u,this.source.subscribe(this)},n}(V);function Gv(t){return function(n){return n.lift(new Wv(t))}}T.prototype.retryWhen=function(t){return Hv(t)(this)};var Wv=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){var e=new Qv(t),r=n.subscribe(e);return r.add(L(e,this.notifier)),r},t}(),Qv=function(t){function n(){t.apply(this,arguments),this.hasValue=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.value=t,this.hasValue=!0},n.prototype.notifyNext=function(t,n,e,r,i){this.emitValue()},n.prototype.notifyComplete=function(){this.emitValue()},n.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},n}(V);function $v(t,n){return void 0===n&&(n=Ly),function(e){return e.lift(new Zv(t,n))}}T.prototype.sample=function(t){return Gv(t)(this)};var Zv=function(){function t(t,n){this.period=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new Yv(t,this.period,this.scheduler))},t}(),Yv=function(t){function n(n,e,r){t.call(this,n),this.period=e,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(Xv,e,{subscriber:this,period:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},n.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},n}(x);function Xv(t){var n=t.period;t.subscriber.notifyNext(),this.schedule(t,n)}function Jv(t,n){return function(e){return e.lift(new tb(t,n))}}T.prototype.sampleTime=function(t,n){return void 0===n&&(n=Ly),$v(t,n)(this)},T.prototype.scan=function(t,n){return arguments.length>=2?as(t,n)(this):as(t)(this)};var tb=function(){function t(t,n){this.compareTo=t,this.comparor=n}return t.prototype.call=function(t,n){return n.subscribe(new nb(t,this.compareTo,this.comparor))},t}(),nb=function(t){function n(n,e,r){t.call(this,n),this.compareTo=e,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(e.subscribe(new eb(n,this)))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},n.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},n.prototype.checkValues=function(){for(var t=this._a,n=this._b,e=this.comparor;t.length>0&&n.length>0;){var r=t.shift(),i=n.shift(),o=!1;e?(o=y(e)(r,i))===f&&this.destination.error(f.e):o=r===i,o||this.emit(!1)}},n.prototype.emit=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},n}(x),eb=function(t){function n(n,e){t.call(this,n),this.parent=e}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.parent.nextB(t)},n.prototype._error=function(t){this.parent.error(t)},n.prototype._complete=function(){this.parent._complete()},n}(x);function rb(t,n,e){return function(r){return r.lift(function(t,n,e){var r,i,o=0,l=!1,u=!1;return function(s){o++,r&&!l||(l=!1,r=new mg(t,n,e),i=s.subscribe({next:function(t){r.next(t)},error:function(t){l=!0,r.error(t)},complete:function(){u=!0,r.complete()}}));var a=r.subscribe(this);return function(){o--,a.unsubscribe(),i&&0===o&&u&&i.unsubscribe()}}}(t,n,e))}}function ib(t){return function(n){return n.lift(new ob(t,n))}}T.prototype.sequenceEqual=function(t,n){return Jv(t,n)(this)},T.prototype.share=lt,T.prototype.shareReplay=function(t,n,e){return rb(t,n,e)(this)};var ob=function(){function t(t,n){this.predicate=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new lb(t,this.predicate,this.source))},t}(),lb=function(t){function n(n,e,r){t.call(this,n),this.predicate=e,this.source=r,this.seenValue=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},n.prototype._next=function(t){var n=this.index++;this.predicate?this.tryNext(t,n):this.applySingleValue(t)},n.prototype.tryNext=function(t,n){try{this.predicate(t,n,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new Qu)},n}(x);function ub(t){return function(n){return n.lift(new sb(t))}}T.prototype.single=function(t){return ib(t)(this)};var sb=function(){function t(t){this.total=t}return t.prototype.call=function(t,n){return n.subscribe(new ab(t,this.total))},t}(),ab=function(t){function n(n,e){t.call(this,n),this.total=e,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},n}(x);function cb(t){return function(n){return n.lift(new hb(t))}}T.prototype.skip=function(t){return ub(t)(this)};var hb=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(0===this._skipCount?new x(t):new pb(t,this._skipCount))},t}(),pb=function(t){function n(n,e){t.call(this,n),this._skipCount=e,this._count=0,this._ring=new Array(e)}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this._skipCount,e=this._count++;if(e1?new A(t,e):new I(e),n)}}T.prototype.skipWhile=function(t){return gb(t)(this)},T.prototype.startWith=function(){for(var t=[],n=0;n0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n.scheduled||(n.scheduled=_b.setImmediate(n.flush.bind(n,null))))},n.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);0===n.actions.length&&(_b.clearImmediate(e),n.scheduled=void 0)},n}(Ry),xb=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var n,e=this.actions,r=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r0?this.startWindowEvery:this.windowSize,e=this.destination,r=this.windowSize,i=this.windows,o=i.length,l=0;l=0&&u%n==0&&!this.closed&&i.shift().complete(),++this.count%n==0&&!this.closed){var s=new Q;i.push(s),e.next(s)}},n.prototype._error=function(t){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},n.prototype._unsubscribe=function(){this.count=0,this.windows=null},n}(x);function s_(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),function(i){return i.lift(new a_(t,e,r,n))}}T.prototype.windowCount=function(t,n){return void 0===n&&(n=0),o_(t,n)(this)};var a_=function(){function t(t,n,e,r){this.windowTimeSpan=t,this.windowCreationInterval=n,this.maxWindowSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new h_(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),c_=function(t){function n(){t.apply(this,arguments),this._numberOfNextedValues=0}return Object(i.__extends)(n,t),n.prototype.next=function(n){this._numberOfNextedValues++,t.prototype.next.call(this,n)},Object.defineProperty(n.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),n}(Q),h_=function(t){function n(n,e,r,i,o){t.call(this,n),this.destination=n,this.windowTimeSpan=e,this.windowCreationInterval=r,this.maxWindowSize=i,this.scheduler=o,this.windows=[];var l=this.openWindow();if(null!==r&&r>=0){var u={windowTimeSpan:e,windowCreationInterval:r,subscriber:this,scheduler:o};this.add(o.schedule(d_,e,{subscriber:this,window:l,context:null})),this.add(o.schedule(f_,r,u))}else this.add(o.schedule(p_,e,{subscriber:this,window:l,windowTimeSpan:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.windows,e=n.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},n.prototype._error=function(t){for(var n=this.windows;n.length>0;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){for(var t=this.windows;t.length>0;){var n=t.shift();n.closed||n.complete()}this.destination.complete()},n.prototype.openWindow=function(){var t=new c_;return this.windows.push(t),this.destination.next(t),t},n.prototype.closeWindow=function(t){t.complete();var n=this.windows;n.splice(n.indexOf(t),1)},n}(x);function p_(t){var n=t.subscriber,e=t.windowTimeSpan,r=t.window;r&&n.closeWindow(r),t.window=n.openWindow(),this.schedule(t,e)}function f_(t){var n=t.windowTimeSpan,e=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=e.openWindow(),l={action:this,subscription:null};l.subscription=r.schedule(d_,n,{subscriber:e,window:o,context:l}),this.add(l.subscription),this.schedule(t,i)}function d_(t){var n=t.subscriber,e=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),n.closeWindow(e)}function y_(t,n){return function(e){return e.lift(new g_(t,n))}}T.prototype.windowTime=function(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),s_(t,e,r,n)(this)};var g_=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new m_(t,this.openings,this.closingSelector))},t}(),m_=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=L(this,e,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.contexts;if(n)for(var e=n.length,r=0;r0){var l=o.indexOf(e);-1!==l&&o.splice(l,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=[t].concat(this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(V);function S_(t){return function(n){return n.lift(new Yy(t))}}T.prototype.withLatestFrom=function(){for(var t=[],n=0;n0?t+n.balance:t},0),t.updateTransactions()},function(n){n.status>=400&&n.status<500?t.translate.get(["general.noData","addressDetail.withoutTransactions"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["addressDetail.withoutTransactions"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.route.params.switchMap(function(n){return t.api.getBalance(n.address)}).subscribe(function(n){return t.balance=n.confirmed.coins/1e6})},t.prototype.updateTransactions=function(){this.pageIndex>this.transactions.length/this.pageSize&&(this.pageIndex=Math.floor(this.transactions.length/this.pageSize)),this.pageTransactions=[];for(var t=this.pageIndex*this.pageSize;t<(this.pageIndex+1)*this.pageSize&&t=400&&n.status<500?t.translate.get(["general.noData","unspentOutputs.withoutOutputs"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["unspentOutputs.withoutOutputs"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),T_=function(){function t(t){this.explorer=t}return t.prototype.getResultNavCommands=function(t){var n=new P_;return(t=encodeURIComponent(t)).length>=27&&t.length<=35?n.resultNavCommands=T.of(["/app/address",t]):64===t.length?n.resultNavCommands=this.explorer.getBlockByHash(t).map(function(t){return["/app/block",t.id.toString()]}).catch(function(n){return n&&n.status&&404==n.status?T.of(["/app/transaction",t]):T.throw(n)}):parseInt(t,10).toString()==t&&parseInt(t,10)>=0?n.resultNavCommands=T.of(["/app/block",t]):n.error=I_.InvalidSearchTerm,n},t}(),P_=function(){},I_=function(t){return t[t.InvalidSearchTerm=1]="InvalidSearchTerm",t}({}),M_=function(){function t(t,n,e,r){this.searchService=t,this.route=n,this.router=e,this.translate=r,this.searchTerm=""}return t.prototype.ngOnInit=function(){var t=this;this.route.params.first().subscribe(function(n){(!n.term||n.term.trim().length<1)&&(t.errorMsg="search.unableToFind"),t.searchTerm=n.term.trim();var e=t.searchService.getResultNavCommands(t.searchTerm);e.error?e.error==I_.InvalidSearchTerm&&(t.errorMsg="search.unableToFind"):e.resultNavCommands.subscribe(function(n){return t.router.navigate(n,{replaceUrl:!0})},function(n){return t.errorMsg="search.unableToFind"})})},t}(),A_=function(){},N_={useGenericHeader:!1,genericHeaderUrl:"https://www.skycoin.net/"},j_={useGenericFooter:!1,contactLinks:[{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""}]},R_=function(){function t(t,n){var e=this;this.router=t,this.headerConfig=N_,this.footerConfig=j_,n.setDefaultLang("en"),n.use("en"),t.events.subscribe(function(t){e.navigationInterceptor(t),t instanceof ic&&window.scrollTo(0,0)})}return t.prototype.navigationInterceptor=function(t){t instanceof rc&&(this.loading=!0),t instanceof ic&&(this.loading=!1),t instanceof oc&&(this.loading=!1),t instanceof lc&&(this.loading=!1)},t}(),D_=function(){this.dateMultiplier=1e3},L_=yr({encapsulation:0,styles:[[".time[_ngcontent-%COMP%]{display:inline-block}"]],data:{}});function V_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.date*e.dateMultiplier,"yyyy-MM-dd")))})}function F_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[["class","time -gray"]],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.date*e.dateMultiplier,"hh:mm:ss")))})}function B_(t){return oo(0,[Ai(0,hu,[Ke]),(t()(),qr(16777216,null,null,1,null,V_)),Mi(2,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,F_)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,2,0,e.date),t(n,5,0,e.date)},null)}var U_=yr({encapsulation:0,styles:[[".-details[_ngcontent-%COMP%]{text-align:right}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:14px;padding:3px 0;margin-bottom:5px}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{display:inline-block}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-label[_ngcontent-%COMP%]{display:block;color:#92a4ba;float:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-link[_ngcontent-%COMP%]{color:#0072ff;display:inline-block;cursor:pointer}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{display:inline-block;width:120px}@media (max-width:767px){.-details[_ngcontent-%COMP%]{text-align:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{margin-top:5px}}.-small-font[_ngcontent-%COMP%]{font-size:12px}.-link[_ngcontent-%COMP%]{text-decoration:none}"]],data:{}});function z_(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function H_(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function q_(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,z_)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,H_)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function K_(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"a",[["class","-row -link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,36,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,24,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,4,"div",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(10,49152,null,0,D_,[],{date:[0,"date"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,15,"div",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,2,"span",[["class","-gray"]],null,null,null,null,null)),(t()(),eo(16,null,["",""])),Ji(17,2),(t()(),Kr(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),Ji(22,2),(t()(),Kr(23,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(25,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(26,null,["",""])),Ji(27,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(31,0,null,null,1,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),eo(32,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,1,"div",[["class","col-sm-2 col-xs-4 -gray"]],null,null,null,null,null)),(t()(),eo(35,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(37,0,null,null,1,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),eo(38,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+n.context.$implicit.id),t(n,10,0,n.context.$implicit.timestamp)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,16,0,pr(n,16,0,t(n,17,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"yyyy"))),t(n,21,0,pr(n,21,0,t(n,22,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"MMM dd")).toUpperCase()),t(n,26,0,pr(n,26,0,t(n,27,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"HH:mm"))),t(n,32,0,n.context.$implicit.id),t(n,35,0,n.context.$implicit.transactions.length),t(n,38,0,n.context.$implicit.hash)})}function G_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex-1,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex-1)})}function W_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex)})}function Q_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+2,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+2)})}function $_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+3,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+3)})}function Z_(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,4,"a",[["class","-first"],["routerLink","/app/blocks/1"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(4,{disabled:0}),Mi(5,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xab"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(9,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(10,{disabled:0}),Mi(11,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u2039"])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,G_)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,W_)),Mi(18,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Q_)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,$_)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(30,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(31,{disabled:0}),Mi(32,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u203a"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(36,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(37,{disabled:0}),Mi(38,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xbb"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/blocks/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,zr(1,"/app/blocks/",e.pageIndex>0?e.pageIndex:1,"")),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,zr(1,"/app/blocks/",e.pageIndex+2=e.pageCount-1)),t(n,38,0,zr(1,"/app/blocks/",e.pageCount,""))},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function Y_(t){return oo(0,[Ai(0,yu,[Ke]),Ai(0,hu,[Ke]),(t()(),Kr(2,0,null,null,82,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,9,"div",[["class","col-sm-6 -title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,68,"div",[["class","col-sm-6 -details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(20,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(24,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(25,null,["",""])),Ji(26,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(29,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(30,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(35,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ji(37,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(40,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(41,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(42,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(44,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(46,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ji(48,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(50,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(51,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(52,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(53,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(55,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(57,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(58,null,["",""])),Ji(59,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(62,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(63,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(64,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(66,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(68,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(69,null,["",""])),Ji(70,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(72,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(73,0,null,null,3,"a",[["class","-link"],["routerLink","/app/unconfirmedtransactions"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,74).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(74,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(75,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(78,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(79,0,null,null,3,"a",[["class","-link"],["routerLink","/app/richlist"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,80).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(80,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(81,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(86,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(87,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n"])),(t()(),Kr(90,0,null,null,38,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(92,0,null,null,29,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(94,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(96,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(97,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(98,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -not-xs"]],null,null,null,null,null)),(t()(),Kr(102,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(103,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(106,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -xs-only"]],null,null,null,null,null)),(t()(),Kr(107,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(108,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(112,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(113,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,3,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),Kr(117,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(118,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,q_)),Mi(124,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,K_)),Mi(127,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Z_)),Mi(131,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,74,0,"/app/unconfirmedtransactions"),t(n,80,0,"/app/richlist"),t(n,124,0,!e.blocks.length),t(n,127,0,e.blocks),t(n,131,0,e.blocks&&e.blocks.length>0)},function(t,n){var e=n.component;t(n,7,0,pr(n,7,0,bi(n,8).transform("blocks.blocksTitle"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("blocks.statsTitle"))),t(n,20,0,pr(n,20,0,bi(n,21).transform("blocks.blockHeight"))),t(n,25,0,e.blockCount>0?pr(n,25,0,t(n,26,0,bi(n,0),e.blockCount,"1.0-0")):e.loadingMetadataMsg),t(n,31,0,pr(n,31,0,bi(n,32).transform("blocks.currentSupply"))),t(n,36,0,e.currentSupply?pr(n,36,0,t(n,37,0,bi(n,0),e.currentSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,42,0,pr(n,42,0,bi(n,43).transform("blocks.totalSupply"))),t(n,47,0,e.totalSupply?pr(n,47,0,t(n,48,0,bi(n,0),e.totalSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,53,0,pr(n,53,0,bi(n,54).transform("blocks.currentCoinhourSupply"))),t(n,58,0,e.currentCoinhourSupply?pr(n,58,0,t(n,59,0,bi(n,0),e.currentCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,64,0,pr(n,64,0,bi(n,65).transform("blocks.totalCoinhourSupply"))),t(n,69,0,e.totalCoinhourSupply?pr(n,69,0,t(n,70,0,bi(n,0),e.totalCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,73,0,bi(n,74).target,bi(n,74).href),t(n,75,0,pr(n,75,0,bi(n,76).transform("blocks.unconfirmedTransactions"))),t(n,79,0,bi(n,80).target,bi(n,80).href),t(n,81,0,pr(n,81,0,bi(n,82).transform("blocks.richList"))),t(n,87,0,pr(n,87,0,bi(n,88).transform("blocks.blocksTitle"))),t(n,98,0,pr(n,98,0,bi(n,99).transform("blocks.time"))),t(n,103,0,pr(n,103,0,bi(n,104).transform("blocks.blockNumber"))),t(n,108,0,pr(n,108,0,bi(n,109).transform("blocks.blockNumberSmall"))),t(n,113,0,pr(n,113,0,bi(n,114).transform("blocks.transactions"))),t(n,118,0,pr(n,118,0,bi(n,119).transform("blocks.blockhash")))})}var X_=si("ng-component",fy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Y_,U_)),Mi(1,114688,null,0,fy,[cf,gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),J_=function(){function t(){this.animState=t.hideAnimName,this.showLabel=!1,this.cssClass="copy-button"}return t.prototype.copy=function(){var n=document.createElement("textarea");n.style.position="fixed",n.style.left="1px",n.style.top="1px",n.style.width="1px",n.style.height="1px",n.style.opacity="0",n.value=this.text,document.body.appendChild(n),n.focus(),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.animState=t.showAnimName,this.showLabel=!0},t.prototype.animationDone=function(n){n.toState==t.showAnimName?this.animState=t.hideAnimName:this.showLabel=!1},t.showAnimName="show",t.hideAnimName="hide",t}(),tw=yr({encapsulation:0,styles:[[".icon[_ngcontent-%COMP%]{padding:5px 12px;position:absolute;margin-top:-8px;font-family:'Font Awesome 5 Free';font-size:14px;color:#dfdfdf;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:300}.icon[_ngcontent-%COMP%]:hover{color:#bbb}.icon[_ngcontent-%COMP%]:active{color:#9b9b9b}.label[_ngcontent-%COMP%]{position:absolute;font-size:14px;top:-30px;left:5px;margin-left:-50%;background-color:rgba(0,0,0,.7);color:#fff;padding:5px 10px;pointer-events:none}"]],data:{animation:[{type:7,name:"showMessage",definitions:[{type:0,name:"show",styles:{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"hide",styles:{type:6,styles:{opacity:0,transform:"translateY(-10px)"},offset:null},options:void 0},{type:1,expr:"void => hide",animation:[{type:6,styles:{opacity:0,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"0ms 0ms"}],options:null},{type:1,expr:"* => show",animation:[{type:6,styles:{opacity:0,transform:"translateY(10px)"},offset:null},{type:4,styles:null,timings:"200ms 0ms ease-out"}],options:null},{type:1,expr:"* => hide",animation:[{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"200ms 500ms ease-in"}],options:null}],options:{}}]}});function nw(t){return oo(0,[(t()(),Kr(0,0,null,null,5,"div",[["class","icon"],["unselectable","on"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.copy()&&r),r},null,null)),(t()(),eo(-1,null,["\n \uf0c5\n "])),(t()(),Kr(2,0,null,null,2,"div",[["class","label"]],[[2,"hidden",null],[24,"@showMessage",0]],[[null,"@showMessage.done"]],function(t,n,e){var r=!0;return"@showMessage.done"===n&&(r=!1!==t.component.animationDone(e)&&r),r},null,null)),(t()(),eo(3,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n"]))],null,function(t,n){var e=n.component;t(n,2,0,!e.showLabel,e.animState),t(n,3,0,pr(n,3,0,bi(n,4).transform("copy.copied")))})}var ew=function(){function t(){this.integerPart=void 0,this.whiteText=!1}return Object.defineProperty(t.prototype,"amount",{set:function(t){if(void 0!=t&&null!=t){var n="number"==typeof t?t:Number(t.replace(new RegExp(",","g"),""));this.integerPart=Math.trunc(n);var e=Math.abs(n-this.integerPart);e>0&&(this.decimalPart=(Number(e.toFixed(6))+"").split(".")[1])}},enumerable:!0,configurable:!0}),t}(),rw=yr({encapsulation:0,styles:[[".decimal-part[_ngcontent-%COMP%]{font-size:12px}.-white[_ngcontent-%COMP%]{color:#f7f7f7}"]],data:{}});function iw(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.integerPart,"1.0-0")))})}function ow(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),eo(1,null,[".",""]))],null,function(t,n){var e=n.component;t(n,0,0,"decimal-part "+(e.whiteText?"-white":"-gray")),t(n,1,0,e.decimalPart)})}function lw(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),qr(16777216,null,null,1,null,iw)),Mi(2,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),qr(16777216,null,null,1,null,ow)),Mi(4,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,2,0,void 0!=e.integerPart),t(n,4,0,e.decimalPart)},null)}var uw=function(){function t(){}return t.prototype.transform=function(t){return t.reduce(function(t,n){return t+n.outputs.reduce(function(t,n){return t+n.coins},0)},0)},t}(),sw=yr({encapsulation:0,styles:[["h2[_ngcontent-%COMP%]{flex-grow:1}.header-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%]{-ms-grid-row-align:center;align-self:center;height:36px}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0072ff;text-decoration:none;text-transform:uppercase}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]{display:inline-block;line-height:36px;border:1px solid #0072ff;padding:0 15px;border-radius:100px}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]:hover{background-color:#eff0f0}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .font-awesome[_ngcontent-%COMP%]{font-family:'Font Awesome 5 Free';font-weight:900}"]],data:{}});function aw(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"a",[["class","nav-button"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,1,"span",[["class","font-awesome"]],null,null,null,null,null)),(t()(),eo(-1,null,["\uf104"])),(t()(),eo(-1,null,[" "])),(t()(),Kr(6,0,null,null,2,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+(n.component.block.id-1))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,7,0,pr(n,7,0,bi(n,8).transform("blockDetails.previous")))})}function cw(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\xa0"]))],null,null)}function hw(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"a",[["class","nav-button"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,[" "])),(t()(),Kr(7,0,null,null,1,"span",[["class","font-awesome"]],null,null,null,null,null)),(t()(),eo(-1,null,["\uf105"])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+(n.component.block.id+1))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,4,0,pr(n,4,0,bi(n,5).transform("blockDetails.next")))})}function pw(t){return oo(0,[(t()(),Kr(0,0,null,null,10,"div",[["class","nav-button-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,aw)),Mi(3,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,cw)),Mi(6,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,hw)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "]))],function(t,n){var e=n.component;t(n,3,0,e.block.id>0),t(n,6,0,e.block.id>0&&e.block.id=0)),t(n,31,0,pr(n,31,0,t(n,32,0,bi(n.parent,0),n.context.$implicit.balance,"1.0-6")),!0),t(n,36,0,!n.context.$implicit.status),t(n,48,0,n.context.$implicit),t(n,79,0,n.context.$implicit.inputs),t(n,89,0,n.context.$implicit.outputs),t(n,115,0,pr(n,115,0,t(n,116,0,bi(n.parent,0),n.context.$implicit.initialBalance,"1.0-6"))),t(n,135,0,pr(n,135,0,t(n,136,0,bi(n.parent,0),n.context.$implicit.finalBalance,"1.0-6")))},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,18,0,bi(n,19).target,bi(n,19).href),t(n,20,0,n.context.$implicit.id),t(n,21,0,bi(n,22).cssClass),t(n,29,0,n.context.$implicit.balance<0?"":"+"),t(n,33,0,pr(n,33,0,bi(n,34).transform("general.coinIdentifier"))),t(n,44,0,pr(n,44,0,bi(n,45).transform("txBoxes.date"))),t(n,58,0,pr(n,58,0,bi(n,59).transform("txBoxes.inputs"))),t(n,63,0,pr(n,63,0,bi(n,64).transform("txBoxes.outputs"))),t(n,75,0,pr(n,75,0,bi(n,76).transform("txBoxes.inputs"))),t(n,85,0,pr(n,85,0,bi(n,86).transform("txBoxes.outputs"))),t(n,98,0,pr(n,98,0,bi(n,99).transform("txBoxes.balance"))),t(n,106,0,pr(n,106,0,bi(n,107).transform("txBoxes.initialBalance"))),t(n,110,0,pr(n,110,0,bi(n,111).transform("txBoxes.initialBalanceShort"))),t(n,126,0,pr(n,126,0,bi(n,127).transform("txBoxes.finalBalance"))),t(n,130,0,pr(n,130,0,bi(n,131).transform("txBoxes.finalBalanceShort")))})}function rx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex-1))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex-1)})}function ix(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+e.pageIndex)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex)})}function ox(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+2))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+2)})}function lx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+3))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+3)})}function ux(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,4,"a",[["class","-first"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(4,{disabled:0}),Mi(5,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xab"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(9,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(10,{disabled:0}),Mi(11,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u2039"])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,rx)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,ix)),Mi(18,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,ox)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,lx)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(30,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(31,{disabled:0}),Mi(32,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u203a"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(36,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(37,{disabled:0}),Mi(38,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xbb"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/address/"+e.address+"/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,"/app/address/"+e.address+"/"+(e.pageIndex>0?e.pageIndex:1)),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,"/app/address/"+e.address+"/"+(e.pageIndex+2=e.pageCount-1)),t(n,38,0,"/app/address/"+e.address+"/"+e.pageCount)},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function sx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,81,"div",[["class","element-details-wrapper -right-margin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,1,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(4,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,71,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,12,"div",[["class","-row -xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Fw)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(18,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(20,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(22,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(23,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row -tx-number"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Bw)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Uw)),Mi(45,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,zw)),Mi(48,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(51,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(52,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(53,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(55,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(56,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Hw)),Mi(59,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,qw)),Mi(62,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Kw)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(68,0,null,null,12,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(69,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(70,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(72,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(73,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Gw)),Mi(76,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ww)),Mi(79,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),Kr(84,0,null,null,4,"div",[["class","-qr-code -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Qw)),Mi(87,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Yw)),Mi(91,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,ex)),Mi(94,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,ux)),Mi(97,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,15,0,e.address),t(n,42,0,e.transactions),t(n,45,0,e.transactions),t(n,48,0,!e.transactions),t(n,59,0,e.transactions),t(n,62,0,e.transactions),t(n,65,0,!e.transactions),t(n,76,0,e.address),t(n,79,0,!e.address),t(n,87,0,e.address),t(n,91,0,void 0===e.transactions),t(n,94,0,e.pageTransactions),t(n,97,0,e.transactions&&e.transactions.length>e.pageSize)},function(t,n){var e=n.component;t(n,4,0,e.address),t(n,7,0,pr(n,7,0,bi(n,8).transform("addressDetail.title"))),t(n,18,0,pr(n,18,0,bi(n,19).transform("general.address"))),t(n,23,0,e.address?e.address:e.loadingMsg),t(n,28,0,pr(n,28,0,bi(n,29).transform("addressDetail.txsNumber"))),t(n,32,0,e.transactions?e.transactions.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("addressDetail.totalReceived"))),t(n,53,0,pr(n,53,0,bi(n,54).transform("addressDetail.currentBalance"))),t(n,70,0,pr(n,70,0,bi(n,71).transform("addressDetail.tools")))})}var ax=si("app-address-detail",O_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-address-detail",[],null,null,null,sx,Vw)),Mi(1,114688,null,0,O_,[cf,gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),cx=yr({encapsulation:0,styles:[[""]],data:{}});function hx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.component.transaction.timestamp)},null)}function px(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function fx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/block/"+n.component.transaction.block)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.transaction.block)})}function dx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(1,49152,null,0,J_,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.transaction.block)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function yx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function gx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function mx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function vx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,gx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,mx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function bx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.component.transaction.id)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.transaction.id)})}function _x(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function wx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.component.transaction.timestamp)},null)}function xx(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Cx(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Sx(t){return oo(0,[(t()(),Kr(0,0,null,null,80,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,35,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,32,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,20,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,17,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,bx)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),Kr(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(21,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,_x)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,7,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(30,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,wx)),Mi(35,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(39,0,null,null,14,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(44,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(45,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(50,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,24,"div",[["class","-data"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(57,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(62,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,xx)),Mi(66,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(72,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Cx)),Mi(76,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,19,0,e.transaction),t(n,21,0,e.transaction.id),t(n,24,0,void 0===e.transaction),t(n,35,0,e.transaction),t(n,66,0,e.transaction.inputs),t(n,76,0,e.transaction.outputs)},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,20,0,bi(n,21).cssClass),t(n,31,0,pr(n,31,0,bi(n,32).transform("txBoxes.date"))),t(n,45,0,pr(n,45,0,bi(n,46).transform("txBoxes.inputs"))),t(n,50,0,pr(n,50,0,bi(n,51).transform("txBoxes.outputs"))),t(n,62,0,pr(n,62,0,bi(n,63).transform("txBoxes.inputs"))),t(n,72,0,pr(n,72,0,bi(n,73).transform("txBoxes.outputs")))})}function Ox(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,58,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,51,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ai(131072,cy,[ly,ve]),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,12,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(20,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(21,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(23,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(24,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,hx)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,px)),Mi(30,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(33,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(34,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(35,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(37,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(38,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(39,null,[" "," "])),Ji(40,1),(t()(),eo(-1,null,["\n "])),(t()(),Kr(42,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(43,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(44,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(46,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(47,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,fx)),Mi(50,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,dx)),Mi(53,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,yx)),Mi(56,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,vx)),Mi(62,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Sx)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,27,0,e.transaction),t(n,30,0,!e.transaction),t(n,50,0,e.transaction),t(n,53,0,e.transaction),t(n,56,0,!e.transaction),t(n,62,0,void 0===e.transaction),t(n,65,0,e.transaction)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("transactionDetail.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("transactionDetail.status"))),t(n,15,0,e.transaction?pr(n,15,0,e.transaction.status?bi(n,16).transform("transactionDetail.confirmed"):bi(n,17).transform("transactionDetail.unconfirmed")):e.loadingMsg),t(n,21,0,pr(n,21,0,bi(n,22).transform("transactionDetail.timestamp"))),t(n,35,0,pr(n,35,0,bi(n,36).transform("transactionDetail.size"))),t(n,39,0,e.transaction?pr(n,39,0,t(n,40,0,bi(n,0),e.transaction.length))+" bytes":e.loadingMsg),t(n,44,0,pr(n,44,0,bi(n,45).transform("transactionDetail.block")))})}var Ex=si("app-transaction-detail",gy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-transaction-detail",[],null,null,null,Ox,cx)),Mi(1,114688,null,0,gy,[gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),kx=yr({encapsulation:0,styles:[[""]],data:{}});function Tx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.mostRecent,1)},null)}function Px(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function Ix(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Mx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.leastRecent,1)},null)}function Ax(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function Nx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function jx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function Rx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Dx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,jx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,Rx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function Lx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.parent.context.$implicit.id)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,n.parent.context.$implicit.id)})}function Vx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Fx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.timestamp,1)},null)}function Bx(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,7,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"span",[["class","-transparent"]],null,null,null,null,null)),(t()(),eo(10,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,[" "])),(t()(),Kr(13,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(14,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(15,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,14,0,pr(n,14,0,t(n,15,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Ux(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function zx(t){return oo(0,[(t()(),Kr(0,0,null,null,80,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,35,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,32,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,20,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,17,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,Lx)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),Kr(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(21,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Vx)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,7,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(30,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,Fx)),Mi(35,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(39,0,null,null,14,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(44,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(45,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(50,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,24,"div",[["class","-data"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(57,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(62,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Bx)),Mi(66,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(72,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Ux)),Mi(76,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,19,0,n.context.$implicit),t(n,21,0,n.context.$implicit.id),t(n,24,0,void 0===n.context.$implicit),t(n,35,0,n.context.$implicit),t(n,66,0,n.context.$implicit.inputs),t(n,76,0,n.context.$implicit.outputs)},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,20,0,bi(n,21).cssClass),t(n,31,0,pr(n,31,0,bi(n,32).transform("txBoxes.firstSeen"))),t(n,45,0,pr(n,45,0,bi(n,46).transform("txBoxes.inputs"))),t(n,50,0,pr(n,50,0,bi(n,51).transform("txBoxes.outputs"))),t(n,62,0,pr(n,62,0,bi(n,63).transform("txBoxes.inputs"))),t(n,72,0,pr(n,72,0,bi(n,73).transform("txBoxes.outputs")))})}function Hx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,61,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,54,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(18,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(20,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(23,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(24,null,[" "," "])),Ji(25,1),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(30,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(32,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(33,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Tx)),Mi(36,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Px)),Mi(39,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ix)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(46,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(49,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(50,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Mx)),Mi(53,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ax)),Mi(56,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Nx)),Mi(59,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Dx)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,zx)),Mi(68,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,36,0,e.transactions&&e.transactions.length>0),t(n,39,0,e.transactions&&0==e.transactions.length),t(n,42,0,!e.transactions),t(n,53,0,e.transactions&&e.transactions.length>0),t(n,56,0,e.transactions&&0==e.transactions.length),t(n,59,0,!e.transactions),t(n,65,0,void 0===e.transactions),t(n,68,0,e.transactions)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unconfirmedTx.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unconfirmedTx.quantity"))),t(n,15,0,e.transactions?e.transactions.length>0?e.transactions.length:pr(n,15,0,bi(n,16).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,20,0,pr(n,20,0,bi(n,21).transform("unconfirmedTx.size"))),t(n,24,0,e.transactions?e.transactions.length>0?pr(n,24,0,t(n,25,0,bi(n,0),e.totalSize))+" bytes":pr(n,24,0,bi(n,26).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,30,0,pr(n,30,0,bi(n,31).transform("unconfirmedTx.newest"))),t(n,47,0,pr(n,47,0,bi(n,48).transform("unconfirmedTx.oldest")))})}var qx=si("app-unconfirmed-transactions",dy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unconfirmed-transactions",[],null,null,null,Hx,kx)),Mi(1,114688,null,0,dy,[gf,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Kx=yr({encapsulation:0,styles:[[""]],data:{}});function Gx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function Wx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Qx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Gx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,Wx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function $x(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"a",[["class","-row"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,12,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,1,"div",[["class","col-sm-1 -not-xs -gray"]],null,null,null,null,null)),(t()(),eo(6,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,1,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),eo(9,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,3,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),Kr(12,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(13,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(14,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/address/"+n.context.$implicit.address),t(n,13,0,pr(n,13,0,t(n,14,0,bi(n.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,6,0,n.context.index+1),t(n,9,0,n.context.$implicit.address)})}function Zx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(2,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(5,0,null,null,27,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,18,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,2,"div",[["class","col-sm-1 -not-xs"]],null,null,null,null,null)),(t()(),Kr(12,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["#"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,3,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),Kr(16,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(17,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,3,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),Kr(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(22,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Qx)),Mi(28,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,$x)),Mi(31,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,28,0,!e.entries.length),t(n,31,0,e.entries)},function(t,n){t(n,2,0,pr(n,2,0,bi(n,3).transform("richlist.title"))),t(n,17,0,pr(n,17,0,bi(n,18).transform("general.address"))),t(n,22,0,pr(n,22,0,bi(n,23).transform("general.coins")))})}var Yx=si("ng-component",E_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Zx,Kx)),Mi(1,114688,null,0,E_,[cf,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Xx=yr({encapsulation:0,styles:[[""]],data:{}});function Jx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/address/"+n.component.address)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.address)})}function tC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(1,49152,null,0,J_,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.address)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function nC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function eC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(1,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(2,2)],function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.coins,"1.0-6")))},null)}function rC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.coinIdentifier")))})}function iC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function oC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function lC(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function uC(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,oC)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,lC)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function sC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.time)},null)}function aC(t){return oo(0,[(t()(),Kr(0,0,null,null,61,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,33,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,18,"div",[["class","col-md-9 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,19).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(19,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(20,null,["",""])),(t()(),Kr(21,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(22,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,7,"div",[["class","col-md-3 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(28,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(29,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(31,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,sC)),Mi(33,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(37,0,null,null,23,"div",[["class","-data -clear-background"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,17,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(46,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(50,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(52,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(54,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(55,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(56,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,19,0,"/app/transaction/"+n.context.$implicit.src_tx),t(n,22,0,n.context.$implicit.src_tx),t(n,33,0,n.context.$implicit),t(n,55,0,pr(n,55,0,t(n,56,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.origin"))),t(n,18,0,bi(n,19).target,bi(n,19).href),t(n,20,0,n.context.$implicit.src_tx),t(n,21,0,bi(n,22).cssClass),t(n,29,0,pr(n,29,0,bi(n,30).transform("unspentOutputs.date"))),t(n,46,0,n.context.$implicit.hash),t(n,50,0,pr(n,50,0,bi(n,51).transform("general.coins")))})}function cC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,aC)),Mi(3,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,3,0,n.component.outputs.head_outputs)},null)}function hC(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,50,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,43,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Jx)),Mi(17,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,tC)),Mi(20,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,nC)),Mi(23,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,eC)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,rC)),Mi(45,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,iC)),Mi(48,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,uC)),Mi(54,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,cC)),Mi(57,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,17,0,e.address),t(n,20,0,e.address),t(n,23,0,!e.address),t(n,42,0,e.coins),t(n,45,0,e.coins),t(n,48,0,!e.coins),t(n,54,0,void 0===e.outputs),t(n,57,0,e.outputs)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unspentOutputs.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.address"))),t(n,28,0,pr(n,28,0,bi(n,29).transform("unspentOutputs.outputsNumber"))),t(n,32,0,e.outputs?e.outputs.head_outputs.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("unspentOutputs.total")))})}var pC=si("app-unspent-outputs",k_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unspent-outputs",[],null,null,null,hC,Xx)),Mi(1,114688,null,0,k_,[cf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),fC=yr({encapsulation:2,styles:[],data:{}});function dC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function yC(t){return oo(0,[(t()(),Kr(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),to(2,{term:0}),Ai(131072,cy,[ly,ve])],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,bi(n,3).transform(e.errorMsg,t(n,2,0,e.searchTerm))))})}function gC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(4,0,null,null,10,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,7,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,dC)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,yC)),Mi(12,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,9,0,!e.errorMsg),t(n,12,0,e.errorMsg)},function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("search.title")))})}var mC=si("ng-component",M_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,gC,fC)),Mi(1,114688,null,0,M_,[T_,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),vC=(e("cUpc"),Object.assign||function(t){for(var n=1;n div[_ngcontent-%COMP%]{width:100%}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%]{padding:40px 0}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:33.3333333333%}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;line-height:2.4rem;font-size:13px;font-weight:100;color:#616d7c;text-transform:none}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}@media (min-width:52em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{display:block;list-style:none;margin:0;text-align:right}@media (max-width:479px){footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{text-align:center}}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;color:#616d7c;font-size:13px}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:' \xb7 '}"]],data:{}});function AC(t){return oo(0,[(t()(),Kr(0,0,null,null,134,"footer",[["class","page-footer"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,131,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,27,"div",[["class","footer-first-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,0,"img",[["src","/assets/img/logoBlueWhite.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,19,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,1,"a",[["href","https://www.skycoin.net/downloads/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Downloads"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(16,0,null,null,1,"a",[["href","https://www.skycoin.net/ecosystem"]],null,null,null,null,null)),(t()(),eo(-1,null,["Ecosystem"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,1,"a",[["href","https://www.skycoin.net/skyminer"]],null,null,null,null,null)),(t()(),eo(-1,null,["Skyminer"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(22,0,null,null,1,"a",[["href","https://www.skycoin.net/team"]],null,null,null,null,null)),(t()(),eo(-1,null,["Team"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(25,0,null,null,1,"a",[["href","https://www.skycoin.net/blog"]],null,null,null,null,null)),(t()(),eo(-1,null,["Blog"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,1,"a",[["class","active"],["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Explorer"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(33,0,null,null,81,"div",[["class","footer-second-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(37,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/medium.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,3,"a",[["href","https://twitter.com/skycoinproject"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(47,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/twitter.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(51,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(53,0,null,null,3,"a",[["href","https://www.facebook.com/SkycoinOfficial"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/facebook.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,3,"a",[["href","https://www.instagram.com/skycoinproject/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(63,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/instagram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(67,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,3,"a",[["href","https://github.com/skycoin/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/github.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(75,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(77,0,null,null,3,"a",[["href","https://www.youtube.com/c/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(79,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/youtube.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(83,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(85,0,null,null,3,"a",[["href","https://www.reddit.com/r/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(87,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/reddit.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(91,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(93,0,null,null,3,"a",[["href","https://itunes.apple.com/nl/podcast/skycoin/id1348472259?l=en"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(95,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/apple.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(99,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"a",[["href","https://discord.gg/EgBenrW"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(103,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/discord.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(107,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(109,0,null,null,3,"a",[["href","https://t.me/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/telegram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,16,"div",[["class","footer-third-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(118,0,null,null,4,"div",[["class","copyright"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(120,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\xa9 Skycoin.net 2018"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(124,0,null,null,7,"div",[["class","contact"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(126,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(128,0,null,null,1,"a",[["href","mailto:contact@skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["contact@skycoin.net"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],null,null)}var NC=function(){return function(){this.config=j_}}(),jC=yr({encapsulation:0,styles:[["footer[_ngcontent-%COMP%]{background-color:#333;color:#fff}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%]{padding:14px 0;text-align:center}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:19%;text-align:center;font-size:0;display:inline-block;margin:10px 0}@media screen and (min-width:40em){footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:9%}}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%]{height:30px;display:flex;align-items:center;justify-content:center;font-size:18px;font-family:'Font Awesome 5 Brands';font-weight:400}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{max-width:30px;max-height:30px;text-decoration:none;overflow:hidden}footer[_ngcontent-%COMP%] .top-separator[_ngcontent-%COMP%]{width:100%;height:2px;background-color:#333}footer[_ngcontent-%COMP%] .middle-separator[_ngcontent-%COMP%]{border-top:1px dashed #111}footer[_ngcontent-%COMP%] .credit-row[_ngcontent-%COMP%]{padding:24px 0;text-align:center;opacity:.4;font-size:13px}"]],data:{}});function RC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","link-icon"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,1,"div",[["class","element"]],null,null,null,null,null)),(t()(),Kr(3,0,null,null,0,"a",[],[[8,"href",4],[8,"innerHTML",1]],null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,3,0,n.context.$implicit.url,n.context.$implicit.content)})}function DC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","links-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,RC)),Mi(3,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,n.component.config.contactLinks)},null)}function LC(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"div",[["class","middle-separator"]],null,null,null,null,null))],null,null)}function VC(t){return oo(0,[(t()(),Kr(0,0,null,null,18,"footer",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,15,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,0,"div",[["class","top-separator"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,DC)),Mi(7,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,LC)),Mi(10,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,4,"div",[["class","credit-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,1,"a",[["href","https://www.skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["Powered by Skyfiber"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,7,0,e.config.contactLinks&&e.config.contactLinks.length>0),t(n,10,0,e.config.contactLinks&&e.config.contactLinks.length>0)},null)}var FC=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return 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),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,n){return!!this.control&&this.control.hasError(t,n)},t.prototype.getError=function(t,n){return this.control?this.control.getError(t,n):null},t}(),BC=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n}(FC);function UC(t){return null==t||0===t.length}var zC=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,HC=function(){function t(){}return t.min=function(t){return function(n){if(UC(n.value)||UC(t))return null;var e=parseFloat(n.value);return!isNaN(e)&&et?{max:{max:t,actual:n.value}}:null}},t.required=function(t){return UC(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return zC.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(n){if(UC(n.value))return null;var e=n.value?n.value.length:0;return et?{maxlength:{requiredLength:t,actualLength:e}}:null}},t.pattern=function(n){return n?("string"==typeof n?(r="","^"!==n.charAt(0)&&(r+="^"),r+=n,"$"!==n.charAt(n.length-1)&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),function(t){if(UC(t.value))return null;var n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}):t.nullValidator;var e,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var n=t.filter(qC);return 0==n.length?null:function(t){return GC(function(t,e){return n.map(function(n){return n(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var n=t.filter(qC);return 0==n.length?null:function(t){var e=function(t,e){return n.map(function(n){return n(t)})}(t).map(KC);return Ou.call(yf(e),GC)}},t}();function qC(t){return null!=t}function KC(t){var n=sn(t)?Ju(t):t;if(!an(n))throw new Error("Expected validator to return Promise or Observable.");return n}function GC(t){var n=t.reduce(function(t,n){return null!=n?Object(i.__assign)({},t,n):t},{});return 0===Object.keys(n).length?null:n}var WC=new ut("NgValueAccessor"),QC=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),$C=new ut("CompositionEventMode"),ZC=function(){function t(t,n,e){var r;this._renderer=t,this._elementRef=n,this._compositionMode=e,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=xs()?xs().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function YC(t){return t.validate?function(n){return t.validate(n)}:t}function XC(t){return t.validate?function(n){return t.validate(n)}:t}var JC=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function tS(){throw new Error("unimplemented")}var nS=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._parent=null,n.name=null,n.valueAccessor=null,n._rawValidators=[],n._rawAsyncValidators=[],n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"validator",{get:function(){return tS()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return tS()},enumerable:!0,configurable:!0}),n}(FC),eS=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,n){this._accessors.push([t,n])},t.prototype.remove=function(t){for(var n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t)return void this._accessors.splice(n,1)},t.prototype.select=function(t){var n=this;this._accessors.forEach(function(e){n._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,n){return!!t[0].control&&t[0]._parent===n._control._parent&&t[1].name===n.name},t}(),rS=function(){function t(t,n,e,r){this._renderer=t,this._elementRef=n,this._registry=e,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(nS),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var n=this;this._fn=t,this.onChange=function(){t(n.value),n._registry.select(n)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();function iS(t,n){return n.path.concat([t])}function oS(t,n){t||uS(n,"Cannot find control with"),n.valueAccessor||uS(n,"No value accessor for form control with"),t.validator=HC.compose([t.validator,n.validator]),t.asyncValidator=HC.composeAsync([t.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(t.value),function(t,n){n.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&lS(t,n)})}(t,n),function(t,n){t.registerOnChange(function(t,e){n.valueAccessor.writeValue(t),e&&n.viewToModelUpdate(t)})}(t,n),function(t,n){n.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&lS(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),n.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){n.valueAccessor.setDisabledState(t)}),n._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function lS(t,n){n.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function uS(t,n){var e;throw e=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(n+" "+e)}function sS(t){return null!=t?HC.compose(t.map(YC)):null}function aS(t){return null!=t?HC.composeAsync(t.map(XC)):null}var cS=[QC,function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),JC,function(){function t(t,n){this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Nt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var n=this._getOptionId(t);null==n&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var e=function(t,n){return null==t?""+n:(n&&"object"==typeof n&&(n="Object"),(t+": "+n).slice(0,50))}(n,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){n.value=n._getOptionValue(e),t(n.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var n=0,e=Array.from(this._optionMap.keys());n-1)}}else n=function(t,n){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){var r=[];if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,o=0;o0||this.disabled},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")})},n}(vS),wS=function(t){function n(n,e,r){var i=t.call(this,yS(e),gS(r,e))||this;return i.controls=n,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(i.__extends)(n,t),n.prototype.at=function(t){return this.controls[t]},n.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.insert=function(t,n){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity()},n.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},n.prototype.setControl=function(t,n){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(n.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),n.prototype.setValue=function(t,n){var e=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.patchValue=function(t,n){var e=this;void 0===n&&(n={}),t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.reset=function(t,n){void 0===t&&(t=[]),void 0===n&&(n={}),this._forEachChild(function(e,r){e.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof bS?t.value:t.getRawValue()})},n.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,n){return!!n._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},n.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)},n.prototype._forEachChild=function(t){this.controls.forEach(function(n,e){t(n,e)})},n.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(n){return n.enabled||t.disabled}).map(function(t){return t.value})},n.prototype._anyControls=function(t){return this.controls.some(function(n){return n.enabled&&t(n)})},n.prototype._setUpControls=function(){var t=this;this._forEachChild(function(n){return t._registerControl(n)})},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control at index: "+e+".")})},n.prototype._allControlsDisabled=function(){for(var t=0,n=this.controls;t0||this.disabled},n.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},n}(vS),xS=Promise.resolve(null),CS=function(t){function n(n,e){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Ln,r.form=new _S({},sS(n),aS(e)),r}return Object(i.__extends)(n,t),n.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path);t.control=e.registerControl(t.name,t.control),oS(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(t)})},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){var n=this;xS.then(function(){var e,r,i=n._findContainer(t.path);i&&i.removeControl(t.name),(r=(e=n._directives).indexOf(t))>-1&&e.splice(r,1)})},n.prototype.addFormGroup=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path),r=new _S({});(function(t,n){null==t&&uS(n,"Cannot find control with"),t.validator=HC.compose([t.validator,n.validator]),t.asyncValidator=HC.composeAsync([t.asyncValidator,n.asyncValidator])})(r,t),e.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},n.prototype.removeFormGroup=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name)})},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,n){var e=this;xS.then(function(){e.form.get(t.path).setValue(n)})},n.prototype.setValue=function(t){this.control.setValue(t)},n.prototype.onSubmit=function(t){return this.submitted=!0,n=this._directives,this.form._syncPendingControls(),n.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var n},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},n.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},n}(BC),SS='\n

\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',OS='\n
\n
\n \n
\n
',ES=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 \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},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 "+SS+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+OS)},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 "+SS+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+OS)},t}(),kS=function(t){function n(n,e,r){var i=t.call(this)||this;return i._parent=n,i._validators=e,i._asyncValidators=r,i}return Object(i.__extends)(n,t),n.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof CS||ES.modelGroupParentException()},n}(hS),TS=Promise.resolve(null),PS=function(t){function n(n,e,r,i){var o=t.call(this)||this;return o.control=new bS,o._registered=!1,o.update=new Ln,o._parent=n,o._rawValidators=e||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(t,n){if(!n)return null;Array.isArray(n)||uS(t,"Value accessor was not provided as an array for form control with");var e=void 0,r=void 0,i=void 0;return n.forEach(function(n){var o;n.constructor===ZC?e=n:(o=n,cS.some(function(t){return o.constructor===t})?(r&&uS(t,"More than one built-in value accessor matches form control with"),r=n):(i&&uS(t,"More than one custom value accessor matches form control with"),i=n))}),i||r||e||(uS(t,"No valid value accessor for form control with"),null)}(o,i),o}return Object(i.__extends)(n,t),n.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,n){if(!t.hasOwnProperty("model"))return!1;var e=t.model;return!!e.isFirstChange()||!Nt(n,e.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?iS(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return sS(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return aS(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},n.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},n.prototype._setUpStandalone=function(){oS(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof kS)&&this._parent instanceof hS?ES.formGroupNameException():this._parent instanceof kS||this._parent instanceof CS||ES.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ES.missingNameException()},n.prototype._updateValue=function(t){var n=this;TS.then(function(){n.control.setValue(t,{emitViewToModelChange:!1})})},n.prototype._updateDisabled=function(t){var n=this,e=t.isDisabled.currentValue,r=""===e||e&&"false"!==e;TS.then(function(){r&&!n.control.disabled?n.control.disable():!r&&n.control.disabled&&n.control.enable()})},n}(nS),IS=function(){},MS=function(){},AS=function(){},NS=function(){function t(t,n,e){this.searchService=t,this.router=n,this.translate=e,this.searching=!1}return t.prototype.search=function(){var t=this;if(this.query){var n=this.query.trim();if(!(n.length<1)){this.searching=!0;var e=this.searchService.getResultNavCommands(n);if(e.error)return e.error==I_.InvalidSearchTerm&&alert(this.translate.instant("search.unableToFind",{term:n})),void(this.searching=!1);e.resultNavCommands.subscribe(function(n){t.searching=!1,t.router.navigate(n)},function(){return t.searching=!1}),this.query=null}}},t}(),jS=yr({encapsulation:0,styles:[[".-search-bar-container[_ngcontent-%COMP%]{margin:4rem 0 2rem;position:relative}.-search-bar-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:20px;margin:11px;position:absolute}.-search-bar-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:13px 11px;position:absolute;font-size:17px}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,.05);border-radius:6px;font-size:12px;height:42px;padding:0 0 0 40px;width:100%}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#cdcdcd}"]],data:{}});function RS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"img",[["src","/assets/img/search.png"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.search()&&r),r},null,null))],null,null)}function DS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null))],null,null)}function LS(t){return oo(0,[(t()(),Kr(0,0,null,null,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,n,e){var r=!0,i=t.component;return"submit"===n&&(r=!1!==bi(t,2).onSubmit(e)&&r),"reset"===n&&(r=!1!==bi(t,2).onReset()&&r),"submit"===n&&(r=!1!==i.search()&&r),r},null,null)),Mi(1,16384,null,0,IS,[],null,null),Mi(2,4210688,null,0,CS,[[8,null],[8,null]],null,null),Ni(2048,null,BC,null,[CS]),Mi(4,16384,null,0,dS,[BC],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,15,"div",[["class","-search-bar-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,RS)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,DS)),Mi(12,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,6,"input",[["name","query"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,n,e){var r=!0,i=t.component;return"input"===n&&(r=!1!==bi(t,15)._handleInput(e.target.value)&&r),"blur"===n&&(r=!1!==bi(t,15).onTouched()&&r),"compositionstart"===n&&(r=!1!==bi(t,15)._compositionStart()&&r),"compositionend"===n&&(r=!1!==bi(t,15)._compositionEnd(e.target.value)&&r),"ngModelChange"===n&&(r=!1!==(i.query=e)&&r),r},null,null)),Mi(15,16384,null,0,ZC,[se,ae,[2,$C]],null,null),Ni(1024,null,WC,function(t){return[t]},[ZC]),Mi(17,671744,null,0,PS,[[2,BC],[8,null],[8,null],[2,WC]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ni(2048,null,nS,null,[PS]),Mi(19,16384,null,0,fS,[nS],null,null),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,9,0,!e.searching),t(n,12,0,e.searching),t(n,17,0,"query",e.query)},function(t,n){t(n,0,0,bi(n,4).ngClassUntouched,bi(n,4).ngClassTouched,bi(n,4).ngClassPristine,bi(n,4).ngClassDirty,bi(n,4).ngClassValid,bi(n,4).ngClassInvalid,bi(n,4).ngClassPending),t(n,14,0,zr(1,"",pr(n,14,0,bi(n,20).transform("searchBar.hint")),""),bi(n,19).ngClassUntouched,bi(n,19).ngClassTouched,bi(n,19).ngClassPristine,bi(n,19).ngClassDirty,bi(n,19).ngClassValid,bi(n,19).ngClassInvalid,bi(n,19).ngClassPending)})}var VS=yr({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.app[_ngcontent-%COMP%]{flex-grow:1;padding-bottom:80px}"]],data:{}});function FS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-header",[],null,null,null,EC,SC)),Mi(1,114688,null,0,CC,[ep],null,null)],function(t,n){t(n,1,0)},null)}function BS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"generic-header",[],null,null,null,PC,TC)),Mi(1,49152,null,0,kC,[],null,null)],null,null)}function US(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-footer",[],null,null,null,AC,MC)),Mi(1,114688,null,0,IC,[],null,null)],function(t,n){t(n,1,0)},null)}function zS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"generic-footer",[],null,null,null,VC,jC)),Mi(1,49152,null,0,NC,[],null,null)],null,null)}function HS(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"div",[["class","app"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,FS)),Mi(3,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,BS)),Mi(6,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,7,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,1,"app-search-bar",[],null,null,null,LS,jS)),Mi(11,49152,null,0,NS,[T_,ep,ly],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Mi(14,212992,null,0,ap,[sp,me,Tn,[8,null],ve],null,null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,US)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,zS)),Mi(22,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,!e.headerConfig.useGenericHeader),t(n,6,0,e.headerConfig.useGenericHeader),t(n,14,0),t(n,19,0,!e.footerConfig.useGenericFooter),t(n,22,0,e.footerConfig.useGenericFooter)},null)}var qS=si("app-root",R_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-root",[],null,null,null,HS,VS)),Mi(1,49152,null,0,R_,[ep,ly],null,null)],null,null)},{},{},[]),KS=function(){},GS="*";function WS(t,n){return void 0===n&&(n=null),{type:2,steps:t,options:n}}function QS(t){return{type:6,styles:t,offset:null}}function $S(t){Promise.resolve(null).then(t)}var ZS=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;$S(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),YS=function(){function t(t){var n=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var e=0,r=0,i=0,o=this.players.length;0==o?$S(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++e==o&&n._onFinish()}),t.onDestroy(function(){++r==o&&n._onDestroy()}),t.onStart(function(){++i==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,n){return Math.max(t,n.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,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._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),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._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var n=t*this.totalTime;this.players.forEach(function(t){var e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(n){var e=n.getPosition();t=Math.min(e,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),XS="!";function JS(t){switch(t.length){case 0:return new ZS;case 1:return t[0];default:return new YS(t)}}function tO(t,n,e,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var l=[],u=[],s=-1,a=null;if(r.forEach(function(t){var e=t.offset,r=e==s,c=r&&a||{};Object.keys(t).forEach(function(e){var r=e,u=t[e];if("offset"!==e)switch(r=n.normalizePropertyName(r,l),u){case XS:u=i[e];break;case GS:u=o[e];break;default:u=n.normalizeStyleValue(e,r,u,l)}c[r]=u}),r||u.push(c),a=c,s=e}),l.length)throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "));return u}function nO(t,n,e,r){switch(n){case"start":t.onStart(function(){return r(e&&eO(e,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(e&&eO(e,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(e&&eO(e,"destroy",t.totalTime))})}}function eO(t,n,e){var r=rO(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,void 0==e?t.totalTime:e),i=t._data;return null!=i&&(r._data=i),r}function rO(t,n,e,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:n,fromState:e,toState:r,phaseName:i,totalTime:o}}function iO(t,n,e){var r;return t instanceof Map?(r=t.get(n))||t.set(n,r=e):(r=t[n])||(r=t[n]=e),r}function oO(t){var n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}var lO=function(t,n){return!1},uO=function(t,n){return!1},sO=function(t,n,e){return[]};if("undefined"!=typeof Element){if(lO=function(t,n){return t.contains(n)},Element.prototype.matches)uO=function(t,n){return t.matches(n)};else{var aO=Element.prototype,cO=aO.matchesSelector||aO.mozMatchesSelector||aO.msMatchesSelector||aO.oMatchesSelector||aO.webkitMatchesSelector;cO&&(uO=function(t,n){return cO.apply(t,[n])})}sO=function(t,n,e){var r=[];if(e)r.push.apply(r,t.querySelectorAll(n));else{var i=t.querySelector(n);i&&r.push(i)}return r}}var hO=null,pO=!1;function fO(t){hO||(hO=dO()||{},pO=!!hO.style&&"WebkitAppearance"in hO.style);var n=!0;return hO.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(n=t in hO.style)&&pO&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in hO.style),n}function dO(){return"undefined"!=typeof document?document.body:null}var yO=uO,gO=lO,mO=sO,vO=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return fO(t)},t.prototype.matchesElement=function(t,n){return yO(t,n)},t.prototype.containsElement=function(t,n){return gO(t,n)},t.prototype.query=function(t,n,e){return mO(t,n,e)},t.prototype.computeStyle=function(t,n,e){return e||""},t.prototype.animate=function(t,n,e,r,i,o){return void 0===o&&(o=[]),new ZS},t}(),bO=function(){function t(){}return t.NOOP=new vO,t}(),_O=1e3;function wO(t){if("number"==typeof t)return t;var n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:xO(parseFloat(n[1]),n[2])}function xO(t,n){switch(n){case"s":return t*_O;default:return t}}function CO(t,n,e){return t.hasOwnProperty("duration")?t:function(t,n,e){var r,i=0,o="";if("string"==typeof t){var l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=xO(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(i=xO(Math.floor(parseFloat(u)),l[4]));var s=l[5];s&&(o=s)}else r=t;if(!e){var a=!1,c=n.length;r<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),i<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,n,e)}function SO(t,n){return void 0===n&&(n={}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function OO(t,n,e){if(void 0===e&&(e={}),n)for(var r in t)e[r]=t[r];else SO(t,e);return e}function EO(t,n){t.style&&Object.keys(n).forEach(function(e){var r=jO(e);t.style[r]=n[e]})}function kO(t,n){t.style&&Object.keys(n).forEach(function(n){var e=jO(n);t.style[e]=""})}function TO(t){return Array.isArray(t)?1==t.length?t[0]:WS(t):t}var PO=new RegExp("{{\\s*(.+?)\\s*}}","g");function IO(t){var n=[];if("string"==typeof t){for(var e=t.toString(),r=void 0;r=PO.exec(e);)n.push(r[1]);PO.lastIndex=0}return n}function MO(t,n,e){var r=t.toString(),i=r.replace(PO,function(t,r){var i=n[r];return n.hasOwnProperty(r)||(e.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function AO(t){for(var n=[],e=t.next();!e.done;)n.push(e.value),e=t.next();return n}var NO=/-+([a-z0-9])/g;function jO(t){return t.replace(NO,function(){for(var t=[],n=0;n *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(t,e);if("function"==typeof r)return void n.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push('The provided transition expression "'+t+'" is not supported'),n;var o=i[1],l=i[2],u=i[3];n.push(FO(o,u)),"<"!=l[0]||o==DO&&u==DO||n.push(FO(u,o))}(t,i,r)}):i.push(e),i),animation:o,queryCount:n.queryCount,depCount:n.depCount,options:KO(t.options)}},t.prototype.visitSequence=function(t,n){var e=this;return{type:2,steps:t.steps.map(function(t){return RO(e,t,n)}),options:KO(t.options)}},t.prototype.visitGroup=function(t,n){var e=this,r=n.currentTime,i=0,o=t.steps.map(function(t){n.currentTime=r;var o=RO(e,t,n);return i=Math.max(i,n.currentTime),o});return n.currentTime=i,{type:3,steps:o,options:KO(t.options)}},t.prototype.visitAnimate=function(t,n){var e,r=function(t,n){var e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return GO(CO(t,n).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=GO(0,0,"");return i.dynamic=!0,i.strValue=r,i}return GO((e=e||CO(r,n)).duration,e.delay,e.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;var i=t.styles?t.styles:QS({});if(5==i.type)e=this.visitKeyframes(i,n);else{var o=t.styles,l=!1;if(!o){l=!0;var u={};r.easing&&(u.easing=r.easing),o=QS(u)}n.currentTime+=r.duration+r.delay;var s=this.visitStyle(o,n);s.isEmptyStep=l,e=s}return n.currentAnimateTimings=null,{type:4,timings:r,style:e,options:null}},t.prototype.visitStyle=function(t,n){var e=this._makeStyleAst(t,n);return this._validateStyleAst(e,n),e},t.prototype._makeStyleAst=function(t,n){var e=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==GS?e.push(t):n.errors.push("The provided style string value "+t+" is not allowed."):e.push(t)}):e.push(t.styles);var r=!1,i=null;return e.forEach(function(t){if(qO(t)){var n=t,e=n.easing;if(e&&(i=e,delete n.easing),!r)for(var o in n)if(n[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:e,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,n){var e=this,r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(e._driver.validateStyleProperty(r)){var l,u,s,a=n.collectedStyles[n.currentQuerySelector],c=a[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(a[r]={startTime:o,endTime:i}),n.options&&(l=n.errors,u=n.options.params||{},(s=IO(t[r])).length&&s.forEach(function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else n.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,n){var e=this,r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],l=!1,u=!1,s=0,a=t.steps.map(function(t){var r=e._makeStyleAst(t,n),a=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var n=null;if(Array.isArray(t))t.forEach(function(t){if(qO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}});else if(qO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}return n}(r.styles),c=0;return null!=a&&(i++,c=r.offset=a),u=u||c<0||c>1,l=l||c0&&i0?i==p?1:h*i:o[i],u=l*y;n.currentTime=f+d.delay+u,d.duration=u,e._validateStyleAst(t,n),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,n){return{type:8,animation:RO(this,TO(t.animation),n),options:KO(t.options)}},t.prototype.visitAnimateChild=function(t,n){return n.depCount++,{type:9,options:KO(t.options)}},t.prototype.visitAnimateRef=function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:KO(t.options)}},t.prototype.visitQuery=function(t,n){var e=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var i=function(t){var n=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return n&&(t=t.replace(BO,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),n]}(t.selector),o=i[0],l=i[1];n.currentQuerySelector=e.length?e+" "+o:o,iO(n.collectedStyles,n.currentQuerySelector,{});var u=RO(this,TO(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=e,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:t.selector,options:KO(t.options)}},t.prototype.visitStagger=function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var e="full"===t.timings?{duration:0,delay:0,easing:"full"}:CO(t.timings,n.errors,!0);return{type:12,animation:RO(this,TO(t.animation),n),timings:e,options:null}},t}(),HO=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function qO(t){return!Array.isArray(t)&&"object"==typeof t}function KO(t){var n;return t?(t=SO(t)).params&&(t.params=(n=t.params)?SO(n):null):t={},t}function GO(t,n,e){return{duration:t,delay:n,easing:e}}function WO(t,n,e,r,i,o,l,u){return void 0===l&&(l=null),void 0===u&&(u=!1),{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:u}}var QO=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n},t.prototype.append=function(t,n){var e=this._map.get(t);e||this._map.set(t,e=[]),e.push.apply(e,n)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),$O=new RegExp(":enter","g"),ZO=new RegExp(":leave","g");function YO(t,n,e,r,i,o,l,u,s,a){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===a&&(a=[]),(new XO).buildKeyframes(t,n,e,r,i,o,l,u,s,a)}var XO=function(){function t(){}return t.prototype.buildKeyframes=function(t,n,e,r,i,o,l,u,s,a){void 0===a&&(a=[]),s=s||new QO;var c=new tE(t,n,s,r,i,a,[]);c.options=u,c.currentTimeline.setStyles([o],null,c.errors,u),RO(this,e,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(l).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([l],null,c.errors,u)}return h.length?h.map(function(t){return t.buildKeyframes()}):[WO(n,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,n){},t.prototype.visitState=function(t,n){},t.prototype.visitTransition=function(t,n){},t.prototype.visitAnimateChild=function(t,n){var e=n.subInstructions.consume(n.element);if(e){var r=n.createSubContext(t.options),i=n.currentTimeline.currentTime,o=this._visitSubInstructions(e,r,r.options);i!=o&&n.transformIntoNewTimeline(o)}n.previousNode=t},t.prototype.visitAnimateRef=function(t,n){var e=n.createSubContext(t.options);e.transformIntoNewTimeline(),this.visitReference(t.animation,e),n.transformIntoNewTimeline(e.currentTimeline.currentTime),n.previousNode=t},t.prototype._visitSubInstructions=function(t,n,e){var r=n.currentTimeline.currentTime,i=null!=e.duration?wO(e.duration):null,o=null!=e.delay?wO(e.delay):null;return 0!==i&&t.forEach(function(t){var e=n.appendInstructionToTimeline(t,i,o);r=Math.max(r,e.duration+e.delay)}),r},t.prototype.visitReference=function(t,n){n.updateOptions(t.options,!0),RO(this,t.animation,n),n.previousNode=t},t.prototype.visitSequence=function(t,n){var e=this,r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&((i=n.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=JO);var l=wO(o.delay);i.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return RO(e,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t},t.prototype.visitGroup=function(t,n){var e=this,r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?wO(t.options.delay):0;t.steps.forEach(function(l){var u=n.createSubContext(t.options);o&&u.delayNextStep(o),RO(e,l,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(function(t){return n.currentTimeline.mergeTimelineCollectedStyles(t)}),n.transformIntoNewTimeline(i),n.previousNode=t},t.prototype._visitTiming=function(t,n){if(t.dynamic){var e=t.strValue;return CO(n.params?MO(e,n.params,n.errors):e,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,n){var e=n.currentAnimateTimings=this._visitTiming(t.timings,n),r=n.currentTimeline;e.delay&&(n.incrementTime(e.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,n):(n.incrementTime(e.duration),this.visitStyle(i,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t},t.prototype.visitStyle=function(t,n){var e=n.currentTimeline,r=n.currentAnimateTimings;!r&&e.getCurrentStyleProperties().length&&e.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?e.applyEmptyStep(i):e.setStyles(t.styles,i,n.errors,n.options),n.previousNode=t},t.prototype.visitKeyframes=function(t,n){var e=n.currentAnimateTimings,r=n.currentTimeline.duration,i=e.duration,o=n.createSubContext().currentTimeline;o.easing=e.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=t},t.prototype.visitQuery=function(t,n){var e=this,r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?wO(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=JO);var l=r,u=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=u.length;var s=null;u.forEach(function(r,i){n.currentQueryIndex=i;var u=n.createSubContext(t.options,r);o&&u.delayNextStep(o),r===n.element&&(s=u.currentTimeline),RO(e,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(l),s&&(n.currentTimeline.mergeTimelineCollectedStyles(s),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t},t.prototype.visitStagger=function(t,n){var e=n.parentContext,r=n.currentTimeline,i=t.timings,o=Math.abs(i.duration),l=o*(n.currentQueryTotal-1),u=o*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":u=l-u;break;case"full":u=e.currentStaggerTime}var s=n.currentTimeline;u&&s.delayNextStep(u);var a=s.currentTime;RO(this,t.animation,n),n.previousNode=t,e.currentStaggerTime=r.currentTime-a+(r.startTime-e.currentTimeline.startTime)},t}(),JO={},tE=function(){function t(t,n,e,r,i,o,l,u){this._driver=t,this.element=n,this.subInstructions=e,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=JO,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new nE(this._driver,n,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,n){var e=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=wO(r.duration)),null!=r.delay&&(i.delay=wO(r.delay));var o=r.params;if(o){var l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(function(t){n&&l.hasOwnProperty(t)||(l[t]=MO(o[t],l,e.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var n=this.options.params;if(n){var e=t.params={};Object.keys(n).forEach(function(t){e[t]=n[t]})}}return t},t.prototype.createSubContext=function(n,e,r){void 0===n&&(n=null);var i=e||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=JO,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,n,e){var r={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=e?e:0)+t.delay,easing:""},i=new eE(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,n,e,r,i,o){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace($O,"."+this._enterClassName)).replace(ZO,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=e);0!==e&&(u=e<0?u.slice(u.length+e,u.length):u.slice(0,e)),l.push.apply(l,u)}return i||0!=l.length||o.push('`query("'+n+'")` returned zero elements. (Use `query("'+n+'", { optional: true })` if you wish to allow this.)'),l},t}(),nE=function(){function t(t,n,e,r){this._driver=t,this.element=n,this.startTime=e,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){n._backFill[t]=n._globalTimelineStyles[t]||GS,n._currentKeyframe[t]=GS}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,n,e,r){var i=this;n&&(this._previousKeyframe.easing=n);var o=r&&r.params||{},l=function(t,n){var e,r={};return t.forEach(function(t){"*"===t?(e=e||Object.keys(n)).forEach(function(t){r[t]=GS}):OO(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var n=MO(l[t],o,e);i._pendingStyles[t]=n,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:GS),i._updateStyle(t,n)})},t.prototype.applyStylesToKeyframe=function(){var t=this,n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(function(e){t._currentKeyframe[e]=n[e]}),Object.keys(this._localTimelineStyles).forEach(function(n){t._currentKeyframe.hasOwnProperty(n)||(t._currentKeyframe[n]=t._localTimelineStyles[n])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var e=t._localTimelineStyles[n];t._pendingStyles[n]=e,t._updateStyle(n,e)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var n=this;Object.keys(t._styleSummary).forEach(function(e){var r=n._styleSummary[e],i=t._styleSummary[e];(!r||i.time>r.time)&&n._updateStyle(e,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var n=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,l){var u=OO(o,!0);Object.keys(u).forEach(function(t){var r=u[t];r==XS?n.add(t):r==GS&&e.add(t)}),r||(u.offset=l/t.duration),i.push(u)});var o=n.size?AO(n.values()):[],l=e.size?AO(e.values()):[];if(r){var u=i[0],s=SO(u);u.offset=0,s.offset=1,i=[u,s]}return WO(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)},t}(),eE=function(t){function n(n,e,r,i,o,l,u){void 0===u&&(u=!1);var s=t.call(this,n,e,l.delay)||this;return s.element=e,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=u,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(i.__extends)(n,t),n.prototype.containsAnimation=function(){return this.keyframes.length>1},n.prototype.buildKeyframes=function(){var t=this.keyframes,n=this.timings,e=n.delay,r=n.duration,i=n.easing;if(this._stretchStartingKeyframe&&e){var o=[],l=r+e,u=e/l,s=OO(t[0],!1);s.offset=0,o.push(s);var a=OO(t[0],!1);a.offset=rE(u),o.push(a);for(var c=t.length-1,h=1;h<=c;h++){var p=OO(t[h],!1);p.offset=rE((e+p.offset*r)/l),o.push(p)}r=l,e=0,i="",t=o}return WO(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)},n}(nE);function rE(t,n){void 0===n&&(n=3);var e=Math.pow(10,n-1);return Math.round(t*e)/e}var iE=function(){},oE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.normalizePropertyName=function(t,n){return jO(t)},n.prototype.normalizeStyleValue=function(t,n,e,r){var i="",o=e.toString().trim();if(lE[n]&&0!==e&&"0"!==e)if("number"==typeof e)i="px";else{var l=e.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+e)}return o+i},n}(iE),lE=function(t){var n={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(t){return n[t]=!0}),n}();function uE(t,n,e,r,i,o,l,u,s,a,c,h){return{type:0,element:t,triggerName:n,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:l,timelines:u,queriedElements:s,preStyleProps:a,postStyleProps:c,errors:h}}var sE={},aE=function(){function t(t,n,e){this._triggerName=t,this.ast=n,this._stateStyles=e}return t.prototype.match=function(t,n){return function(t,n,e){return t.some(function(t){return t(n,e)})}(this.ast.matchers,t,n)},t.prototype.buildStyles=function(t,n,e){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(n,e):{};return i?i.buildStyles(n,e):o},t.prototype.build=function(t,n,e,r,o,l,u,s,a){var c=[],h=this.ast.options&&this.ast.options.params||sE,p=this.buildStyles(e,u&&u.params||sE,c),f=s&&s.params||sE,d=this.buildStyles(r,f,c),y=new Set,g=new Map,m=new Map,v="void"===r,b={params:Object(i.__assign)({},h,f)},_=YO(t,n,this.ast.animation,o,l,p,d,b,a,c);if(c.length)return uE(n,this._triggerName,e,r,v,p,d,[],[],g,m,c);_.forEach(function(t){var e=t.element,r=iO(g,e,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=iO(m,e,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),e!==n&&y.add(e)});var w=AO(y.values());return uE(n,this._triggerName,e,r,v,p,d,_,w,g,m)},t}(),cE=function(){function t(t,n){this.styles=t,this.defaultParams=n}return t.prototype.buildStyles=function(t,n){var e={},r=SO(this.defaultParams);return Object.keys(t).forEach(function(n){var e=t[n];null!=e&&(r[n]=e)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=MO(o,r,n)),e[t]=o})}}),e},t}(),hE=function(){function t(t,n){var e=this;this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){e.states[t.name]=new cE(t.style,t.options&&t.options.params||{})}),pE(this.states,"true","1"),pE(this.states,"false","0"),n.transitions.forEach(function(n){e.transitionFactories.push(new aE(t,n,e.states))}),this.fallbackTransition=new aE(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,n){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,n){return this.transitionFactories.find(function(e){return e.match(t,n)})||null},t.prototype.matchStyles=function(t,n,e){return this.fallbackTransition.buildStyles(t,n,e)},t}();function pE(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}var fE=new QO,dE=function(){function t(t,n){this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,n){var e=[],r=UO(this._driver,n,e);if(e.length)throw new Error("Unable to build the animation due to the following errors: "+e.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,n,e){var r=t.element,i=tO(0,this._normalizer,0,t.keyframes,n,e);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,n,e){var r=this;void 0===e&&(e={});var i,o=[],l=this._animations[t],u=new Map;if(l?(i=YO(this._driver,n,l,"ng-enter","ng-leave",{},{},e,fE,o)).forEach(function(t){var n=iO(u,t.element,{});t.postStyleProps.forEach(function(t){return n[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach(function(t,n){Object.keys(t).forEach(function(e){t[e]=r._driver.computeStyle(n,e,GS)})});var s=JS(i.map(function(t){var n=u.get(t.element);return r._buildPlayer(t,{},n)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var e=this.players.indexOf(n);e>=0&&this.players.splice(e,1)},t.prototype._getPlayer=function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by "+t);return n},t.prototype.listen=function(t,n,e,r){var i=rO(n,"","","");return nO(this._getPlayer(t),e,i,r),function(){}},t.prototype.command=function(t,n,e,r){if("register"!=e)if("create"!=e){var i=this._getPlayer(t);switch(e){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,r[0]||{});else this.register(t,r[0])},t}(),yE=[],gE={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},mE={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},vE="__ng_removed",bE=function(){function t(t,n){void 0===n&&(n=""),this.namespaceId=n;var e=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(e?t.value:t),e){var r=SO(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var n=t.params;if(n){var e=this.options.params;Object.keys(n).forEach(function(t){null==e[t]&&(e[t]=n[t])})}},t}(),_E=new bE("void"),wE=new bE("DELETED"),xE=function(){function t(t,n,e){this.id=t,this.hostElement=n,this._engine=e,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,IE(n,this._hostClassName)}return t.prototype.listen=function(t,n,e,r){var i,o=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'+e+'" because the animation trigger "'+n+"\" doesn't exist!");if(null==e||0==e.length)throw new Error('Unable to listen on the animation trigger "'+n+'" because the provided event is undefined!');if("start"!=(i=e)&&"done"!=i)throw new Error('The provided animation trigger event "'+e+'" for the animation trigger "'+n+'" is not supported!');var l=iO(this._elementListeners,t,[]),u={name:n,phase:e,callback:r};l.push(u);var s=iO(this._engine.statesByElement,t,{});return s.hasOwnProperty(n)||(IE(t,"ng-trigger"),IE(t,"ng-trigger-"+n),s[n]=_E),function(){o._engine.afterFlush(function(){var t=l.indexOf(u);t>=0&&l.splice(t,1),o._triggers[n]||delete s[n]})}},t.prototype.register=function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)},t.prototype._getTrigger=function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return n},t.prototype.trigger=function(t,n,e,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(n),l=new SE(this.id,n,t),u=this._engine.statesByElement.get(t);u||(IE(t,"ng-trigger"),IE(t,"ng-trigger-"+n),this._engine.statesByElement.set(t,u={}));var s=u[n],a=new bE(e,this.id);if(!(e&&e.hasOwnProperty("value"))&&s&&a.absorbOptions(s.options),u[n]=a,s){if(s===wE)return l}else s=_E;if("void"===a.value||s.value!==a.value){var c=iO(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==n&&t.queued&&t.destroy()});var h=o.matchTransition(s.value,a.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:s,toState:a,player:l,isFallbackTransition:p}),p||(IE(t,"ng-animate-queued"),l.onStart(function(){ME(t,"ng-animate-queued")})),l.onDone(function(){var n=i.players.indexOf(l);n>=0&&i.players.splice(n,1);var e=i._engine.playersByElement.get(t);if(e){var r=e.indexOf(l);r>=0&&e.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,n){var e=Object.keys(t),r=Object.keys(n);if(e.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=e;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,n)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t},t.prototype.register=function(t,n){var e=this._namespaceLookup[t];return e||(e=this.createNamespace(t,n)),e},t.prototype.registerTrigger=function(t,n,e){var r=this._namespaceLookup[t];r&&r.register(n,e)&&this.totalAnimations++},t.prototype.destroy=function(t,n){var e=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){e.namespacesByHostElement.delete(r.hostElement),delete e._namespaceLookup[t];var n=e._namespaceList.indexOf(r);n>=0&&e._namespaceList.splice(n,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(n)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var n=new Set,e=this.statesByElement.get(t);if(e)for(var r=Object.keys(e),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(function(t){var n=t.player;C.push(n);var i=t.element;if(p&&e.driver.containsElement(p,i)){var l=w.get(i),h=y.get(i),f=e._buildInstruction(t,r,h,l);if(f.errors&&f.errors.length)S.push(f);else{if(t.isFallbackTransition)return n.onStart(function(){return kO(i,f.fromStyles)}),n.onDestroy(function(){return EO(i,f.toStyles)}),void o.push(n);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,f.timelines),u.push({instruction:f,player:n,element:i}),f.queriedElements.forEach(function(t){return iO(s,t,[]).push(n)}),f.preStyleProps.forEach(function(t,n){var e=Object.keys(t);if(e.length){var r=a.get(n);r||a.set(n,r=new Set),e.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,n){var e=Object.keys(t),r=c.get(n);r||c.set(n,r=new Set),e.forEach(function(t){return r.add(t)})})}}else n.destroy()});if(S.length){var E=[];S.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var k=new Map,T=new Map;u.forEach(function(t){var n=t.element;r.has(n)&&(T.set(n,n),e._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),o.forEach(function(t){var n=t.element;e._getPreviousPlayers(n,!1,t.namespaceId,t.triggerName,null).forEach(function(t){iO(k,n,[]).push(t),t.destroy()})});var P=m.filter(function(t){return NE(t,a,c)}),I=new Map;kE(I,this.driver,b,c,GS).forEach(function(t){NE(t,a,c)&&P.push(t)});var M=new Map;d.forEach(function(t,n){kE(M,e.driver,new Set(t),a,XS)}),P.forEach(function(t){var n=I.get(t),e=M.get(t);I.set(t,Object(i.__assign)({},n,e))});var A=[],N=[],j={};u.forEach(function(t){var n=t.element,i=t.player,u=t.instruction;if(r.has(n)){if(h.has(n))return i.onDestroy(function(){return EO(n,u.toStyles)}),void o.push(i);var s=j;if(T.size>1){for(var a=n,c=[];a=a.parentNode;){var p=T.get(a);if(p){s=p;break}c.push(a)}c.forEach(function(t){return T.set(t,s)})}var f=e._buildAnimation(i.namespaceId,u,k,l,M,I);if(i.setRealPlayer(f),s===j)A.push(i);else{var d=e.playersByElement.get(s);d&&d.length&&(i.parentPlayer=JS(d)),o.push(i)}}else kO(n,u.fromStyles),i.onDestroy(function(){return EO(n,u.toStyles)}),N.push(i),h.has(n)&&o.push(i)}),N.forEach(function(t){var n=l.get(t.element);if(n&&n.length){var e=JS(n);t.setRealPlayer(e)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var R=0;R0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,e):new ZS},t}(),SE=function(){function t(t,n,e){this.namespaceId=t,this.triggerName=n,this.element=e,this._player=new ZS,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(e){n._queuedCallbacks[e].forEach(function(n){return nO(t,e,void 0,n)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var n=this,e=this._player;e.triggerCallback&&t.onStart(function(){return e.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})},t.prototype._queueEvent=function(t,n){iO(this._queuedCallbacks,t,[]).push(n)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)},t}();function OE(t){return t&&1===t.nodeType}function EE(t,n){var e=t.style.display;return t.style.display=null!=n?n:"none",e}function kE(t,n,e,r,i){var o=[];e.forEach(function(t){return o.push(EE(t))});var l=[];r.forEach(function(e,r){var o={};e.forEach(function(t){var e=o[t]=n.computeStyle(r,t,i);e&&0!=e.length||(r[vE]=mE,l.push(r))}),t.set(r,o)});var u=0;return e.forEach(function(t){return EE(t,o[u++])}),l}function TE(t,n){var e=new Map;if(t.forEach(function(t){return e.set(t,[])}),0==n.length)return e;var r=new Set(n),i=new Map;return n.forEach(function(t){var n=function t(n){if(!n)return 1;var o=i.get(n);if(o)return o;var l=n.parentNode;return o=e.has(l)?l:r.has(l)?1:t(l),i.set(n,o),o}(t);1!==n&&e.get(n).push(t)}),e}var PE="$$classes";function IE(t,n){if(t.classList)t.classList.add(n);else{var e=t[PE];e||(e=t[PE]={}),e[n]=!0}}function ME(t,n){if(t.classList)t.classList.remove(n);else{var e=t[PE];e&&delete e[n]}}function AE(t,n,e){JS(e).onDone(function(){return t.processLeaveNode(n)})}function NE(t,n,e){var r=e.get(t);if(!r)return!1;var i=n.get(t);return i?r.forEach(function(t){return i.add(t)}):n.set(t,r),e.delete(t),!0}var jE=function(){function t(t,n){var e=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,n){},this._transitionEngine=new CE(t,n),this._timelineEngine=new dE(t,n),this._transitionEngine.onRemovalComplete=function(t,n){return e.onRemovalComplete(t,n)}}return t.prototype.registerTrigger=function(t,n,e,r,i){var o=t+"-"+r,l=this._triggerCache[o];if(!l){var u=[],s=UO(this._driver,i,u);if(u.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+u.join("\n - "));l=function(t,n){return new hE(t,n)}(r,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(n,r,l)},t.prototype.register=function(t,n){this._transitionEngine.register(t,n)},t.prototype.destroy=function(t,n){this._transitionEngine.destroy(t,n)},t.prototype.onInsert=function(t,n,e,r){this._transitionEngine.insertNode(t,n,e,r)},t.prototype.onRemove=function(t,n,e){this._transitionEngine.removeNode(t,n,e)},t.prototype.disableAnimations=function(t,n){this._transitionEngine.markElementAsDisabled(t,n)},t.prototype.process=function(t,n,e,r){if("@"==e.charAt(0)){var i=oO(e);this._timelineEngine.command(i[0],n,i[1],r)}else this._transitionEngine.trigger(t,n,e,r)},t.prototype.listen=function(t,n,e,r,i){if("@"==e.charAt(0)){var o=oO(e);return this._timelineEngine.listen(o[0],n,o[1],i)}return this._transitionEngine.listen(t,n,e,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),RE=function(){function t(t,n,e,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=n,this.options=e,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=e.duration,this._delay=e.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(t){var n=t.currentSnapshot;Object.keys(n).forEach(function(t){return i.previousStyles[t]=n[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes.map(function(t){return OO(t,!1)}),e=Object.keys(this.previousStyles);if(e.length&&n.length){var r=n[0],i=[];if(e.forEach(function(n){r.hasOwnProperty(n)||i.push(n),r[n]=t.previousStyles[n]}),i.length)for(var o=this,l=function(){var t=n[u];i.forEach(function(n){t[n]=DE(o.element,n)})},u=1;u=0&&t0&&n.children[0].routeConfig&&n.children[0].routeConfig.path.includes("app/address/")&&t.children&&t.children.length>0&&t.children[0].routeConfig&&t.children[0].routeConfig.path.includes("app/address/"))},t}(),XE=function(t,n,e){return new fl(A_,[R_],function(t){return function(t){for(var n={},e=0;e",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return D.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return P},enumerable:!0,configurable:!0}),t.__load_patch=function(o,i){if(O.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!e["__Zone_disable_"+o]){var a="Zone:"+o;n(a),O[o]=i(e,t,S),r(a,a)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){void 0===t&&(t=void 0),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{D=D.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{D=D.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state!==g||e.type!==x){var r=e.state!=_;r&&e._transitionTo(_,m),e.runCount++;var o=P;P=e,D={parent:D,zone:this};try{e.type==E&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==g&&e.state!==w&&(e.type==x||e.data&&e.data.isPeriodic?r&&e._transitionTo(m,_):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(g,_,g))),D=D.parent,P=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(k,g);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(w,k,g),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(m,k),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new u(T,e,t,n,r,null))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new u(E,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new u(x,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(b,m,_);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,b),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(g,b),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),u=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;this.invoke=n===x&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&d(),j--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(g,k)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==g&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),s=z("setTimeout"),f=z("Promise"),l=z("then"),p=[],h=!1;function v(t){0===j&&0===p.length&&(o||e[f]&&(o=e[f].resolve(0)),o?o[l](d):e[s](d,0)),t&&p.push(t)}function d(){if(!h){for(h=!0;p.length;){var e=p;p=[];for(var t=0;t=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in g)&&void 0!==g.process&&"[object process]"==={}.toString.call(g.process),E=!T&&!w&&!(!d||!y.HTMLElement),x=void 0!==g.process&&"[object process]"==={}.toString.call(g.process)&&!w&&!(!d||!y.HTMLElement),O={},S=function(e){if(e=e||g.event){var t=O[e.type];t||(t=O[e.type]=v("ON_PROPERTY"+e.type));var n=(this||e.target||g)[t],r=n&&n.apply(this,arguments);return void 0==r||r||e.preventDefault(),r}};function D(n,r,o){var i=e(n,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){delete i.writable,delete i.value;var a=i.get,c=i.set,u=r.substr(2),s=O[u];s||(s=O[u]=v("ON_PROPERTY"+u)),i.set=function(e){var t=this;t||n!==g||(t=g),t&&(t[s]&&t.removeEventListener(u,S),c&&c.apply(t,m),"function"==typeof e?(t[s]=e,t.addEventListener(u,S,!1)):t[s]=null)},i.get=function(){var e=this;if(e||n!==g||(e=g),!e)return null;var t=e[s];if(t)return t;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof e[k]&&e.removeAttribute(r),o}return null},t(n,r,i)}}function P(e,t,n){if(t)for(var r=0;r1?new c(t,n):new c(t),l=e(f,"onmessage");return l&&!1===l.configurable?(u=r(f),s=f,[i,a,"send","close"].forEach(function(e){u[e]=function(){var t=o.call(arguments);if(e===i||e===a){var n=t.length>0?t[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);f[r]=u[r]}}return f[e].apply(f,t)}})):u=f,P(u,["close","error","message","open"],s),u};var u=n.WebSocket;for(var s in c)u[s]=c[s]}(0,u)}}var le=v("unbound");Zone.__load_patch("util",function(e,t,n){n.patchOnProperties=P,n.patchMethod=z,n.bindArguments=_}),Zone.__load_patch("timers",function(e){U(e,"set","clear","Timeout"),U(e,"set","clear","Interval"),U(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){U(e,"request","cancel","AnimationFrame"),U(e,"mozRequest","mozCancel","AnimationFrame"),U(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r=0&&"function"==typeof n[r.cbIdx]?h(r.name,n[r.cbIdx],r,i,null):e.apply(t,n)}})}()}),Zone.__load_patch("XHR",function(e,t){!function(t){var s=XMLHttpRequest.prototype,f=s[c],l=s[u];if(!f){var p=e.XMLHttpRequestEventTarget;if(p){var v=p.prototype;f=v[c],l=v[u]}}var d="readystatechange",y="scheduled";function g(e){XMLHttpRequest[i]=!1;var t=e.data,r=t.target,a=r[o];f||(f=r[c],l=r[u]),a&&l.call(r,d,a);var s=r[o]=function(){r.readyState===r.DONE&&!t.aborted&&XMLHttpRequest[i]&&e.state===y&&e.invoke()};return f.call(r,d,s),r[n]||(r[n]=e),b.apply(r,t.args),XMLHttpRequest[i]=!0,e}function k(){}function m(e){var t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}var _=z(s,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],_.apply(e,t)}}),b=z(s,"send",function(){return function(e,t){return e[r]?b.apply(e,t):h("XMLHttpRequest.send",k,{target:e,url:e[a],isPeriodic:!1,delay:null,args:t,aborted:!1},g,m)}}),w=z(s,"abort",function(){return function(e){var t=e[n];if(t&&"string"==typeof t.type){if(null==t.cancelFn||t.data&&t.data.aborted)return;t.zone.cancelTask(t)}}})}();var n=v("xhrTask"),r=v("xhrSync"),o=v("xhrListener"),i=v("xhrScheduled"),a=v("xhrURL")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!b(e(t,i)))return"continue";t[i]=function(e){var t=function(){return e.apply(this,_(arguments,r+"."+i))};return F(t,e),t}(a)}},i=0;i0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"9rMk":function(e,t,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(e,t){return t in e}})},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),f=n("OP3Y"),l=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,d,y,g){u(n,t,v);var k,m,_,b=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",T="values"==d,E=!1,x=e.prototype,O=x[l]||x["@@iterator"]||d&&x[d],S=O||b(d),D=d?T?b("entries"):S:void 0,P="Array"==t&&x.entries||O;if(P&&(_=f(P.call(new e)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[l]||a(_,l,h)),T&&O&&"values"!==O.name&&(E=!0,S=function(){return O.call(this)}),r&&!g||!p&&!E&&x[l]||a(x,l,S),c[t]=S,c[w]=h,d)if(k={values:T?S:b("values"),keys:y?S:b("keys"),entries:D},g)for(m in k)m in x||i(x,m,k[m]);else o(o.P+o.F*(p||E),t,k);return k}},BqfV:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");e.exports=function(e,t){var n=1==e,u=2==e,s=3==e,f=4==e,l=6==e,p=5==e||l,h=t||c;return function(t,c,v){for(var d,y,g=i(t),k=o(g),m=r(c,v,3),_=a(k.length),b=0,w=n?h(t,_):u?h(t,0):void 0;_>b;b++)if((p||b in k)&&(y=m(d=k[b],b,g),e))if(n)w[b]=y;else if(y)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:w.push(d)}else if(f)return!1;return l?-1:s||f?f:w}}},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},EK0E:function(e,t,n){"use strict";var r,o=n("CkkT")(0),i=n("KroJ"),a=n("Z6vF"),c=n("czNK"),u=n("ZD67"),s=n("0/R4"),f=n("eeVq"),l=n("s5qY"),p=a.getWeak,h=Object.isExtensible,v=u.ufstore,d={},y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(s(e)){var t=p(e);return!0===t?v(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},k=e.exports=n("4LiD")("WeakMap",y,g,u,!0,!0);f(function(){return 7!=(new k).set((Object.freeze||Object)(d),7).get(d)})&&(c((r=u.getConstructor(y,"WeakMap")).prototype,g),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=k.prototype,n=t[e];i(t,e,function(t,o){if(s(t)&&!h(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EemH:function(e,t,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;t.f=n("nh4g")?s:function(e,t){if(e=i(e),t=a(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,u=0;c>u;)r.f(e,n=a[u++],t[n]);return e}},FZcq:function(e,t,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),e.exports=n("g3g5").Reflect},H6hf:function(e,t,n){var r=n("y3w9");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},I5cv:function(e,t,n){var r=n("XKFU"),o=n("Kuth"),i=n("2OiF"),a=n("y3w9"),c=n("0/R4"),u=n("eeVq"),s=n("8MEG"),f=(n("dyZX").Reflect||{}).construct,l=u(function(){function e(){}return!(f(function(){},[],e)instanceof e)}),p=!u(function(){f(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var u=n.prototype,h=o(c(u)?u:Object.prototype),v=Function.apply.call(e,h,t);return c(v)?v:h}})},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},IlFx:function(e,t,n){var r=n("XKFU"),o=n("y3w9"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},Iw71:function(e,t,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"J+6e":function(e,t,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");e.exports=n("g3g5").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=Function.toString,u=(""+c).split("toString");n("g3g5").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("